A370296 Inverse Moebius transform of A322327.
1, 3, 3, 7, 3, 9, 3, 13, 7, 9, 3, 21, 3, 9, 9, 21, 3, 21, 3, 21, 9, 9, 3, 39, 7, 9, 13, 21, 3, 27, 3, 31, 9, 9, 9, 49, 3, 9, 9, 39, 3, 27, 3, 21, 21, 9, 3, 63, 7, 21, 9, 21, 3, 39, 9, 39, 9, 9, 3, 63, 3, 9, 21, 43, 9, 27, 3, 21, 9, 27, 3, 91, 3, 9, 21, 21, 9, 27, 3, 63, 21, 9, 3, 63
Offset: 1
Programs
-
Mathematica
f[p_, e_] := e^2 + e + 1; a[1] = 1; a[n_] := Times @@ f @@@ FactorInteger[n]; Array[a, 100] (* Amiram Eldar, Feb 14 2024 *)
-
PARI
a(n) = factorback(apply(e->1+e+e^2,factor(n)[,2]))