editing
approved
editing
approved
A028234(n) = {my(f = factor(n)); if (#f~, f[1, 1] = 1); factorback(f); } \/* after Michel Marcus *\/
approved
editing
proposed
approved
editing
proposed
(PARI)
A067029(n) = if(n<2, 0, factor(n)[1, 2]);
A028234(n) = {my(f = factor(n)); if (#f~, f[1, 1] = 1); factorback(f); } \* after Michel Marcus *\
a(n) = if(n<2, 1, if(A028234(n)==1, 1 + a(A067029(n)), 1 + a(A067029(n)) + a(A028234(n))));
for(n=1, 150, print1(a(n), ", ")) \\ Indranil Ghosh, Mar 23 2017, after formula by Antti Karttunen
proposed
editing
editing
proposed
<a href="/index/Eu#epf">Index entries for sequences computed from exponents in factorization of n</a>
approved
editing