OFFSET
1,2
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
MATHEMATICA
f[p_, e_] := (e + 3)/2; s[1] = 1; s[n_] := Times @@ f @@@ FactorInteger[n]; s /@ Select[Range[200], AllTrue[FactorInteger[#][[;; , 2]], OddQ] &]
(* or *)
f[p_, e_] := If[OddQ[e], (e + 3)/2, 0]; s[1] = 1; s[n_] := Times @@ f @@@ FactorInteger[n]; Select[Array[s, 200], # > 0 &]
PROG
(PARI) lista(kmax) = {my(e, d); for(k = 1, kmax, e = factor(k)[, 2]; d = prod(i = 1, #e, if(e[i]%2, (e[i] + 3)/2, 0)); if(d > 0, print1(d, ", "))); }
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Amiram Eldar, Dec 26 2023
STATUS
approved