OFFSET
1,4
REFERENCES
E. N. Gilbert, An interesting property of 38, unpublished, circa 1992. Shows that 38 is the only solution of a(n) = n.
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..65537
MAPLE
MATHEMATICA
f[n_Integer] := If[n == 1 || PrimeQ[n], 0, Plus @@ First[ Transpose[ FactorInteger[n]]]]; Table[Plus @@ Drop[ FixedPointList[f, n], 1], {n, 1, 80}]
PROG
(PARI)
A008472(n) = vecsum(factor(n)[, 1]); \\ This function from M. F. Hasler, Jul 18 2015
A058974(n) = if((1==n)||isprime(n), 0, A008472(n)+A058974(A008472(n))); \\ Antti Karttunen, Oct 30 2017, after the Maple-program.
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Jan 15 2001
EXTENSIONS
More terms from Antti Karttunen, Oct 30 2017
STATUS
approved