OFFSET
1,2
COMMENTS
If n is a prime power p^e, A000961, then a(n) = p^2.
FORMULA
a(n) = A008472(n)^2.
EXAMPLE
a(5) = 25; The only prime factor of 5 is just 5, and so 5^2 = 25.
a(6) = 25; The sum of the prime factors of 6 = 2*3 is 2+3 = 5, and 5^2 = 25.
MATHEMATICA
Prepend[Array[Plus @@ First[Transpose[FactorInteger[#]]]^2 &, 100, 2],
0]
Join[{0}, Table[Total[FactorInteger[n][[All, 1]]]^2, {n, 2, 60}]] (* Harvey P. Dale, Feb 10 2019 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Wesley Ivan Hurt, Jan 05 2014
STATUS
approved