OFFSET
1,1
COMMENTS
If we consider nonprimes instead of composite then a(1)=2. Sorted list of primes generated here are given in A050778.
EXAMPLE
For the first composite number 4 repeated application of composite added to sum of prime factors give 4, 8, 14, 23 and so a(1)=23.
MATHEMATICA
a[n_] := NestWhile[#+Total[Times@@@FactorInteger[#]]&, n, !PrimeQ[#]&]; t={}; Do[If[!PrimeQ[n], AppendTo[t, a[n]]], {n, 4, 80}]; t
CROSSREFS
KEYWORD
nonn
AUTHOR
Jayanta Basu, May 31 2013
STATUS
approved