OFFSET
1,2
FORMULA
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 *)
PROG
(PARI) a(n) = factorback(apply(e->1+e+e^2, factor(n)[, 2]))
CROSSREFS
KEYWORD
nonn,easy,mult
AUTHOR
Werner Schulte, Feb 14 2024
STATUS
approved