OFFSET
1,7
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
FORMULA
MATHEMATICA
f[p_, e_] := If[OddQ[e], (e + 1)/2, 0]; s[1] = 1; s[n_] := Times @@ f @@@ FactorInteger[n]; Select[Array[s, 200], # > 0 &]
PROG
(PARI) s(n) = vecprod(apply(e -> if(e % 2, (e+1)/2, 0), factor(n)[, 2]));
list(lim) = select(x -> x > 0, vector(lim, i, s(i)));
CROSSREFS
KEYWORD
nonn,easy,new
AUTHOR
Amiram Eldar, Jan 20 2025
STATUS
approved