OFFSET
1,1
LINKS
Lars Blomberg, Table of n, a(n) for n = 1..10000
EXAMPLE
prime 37783 -> 37783 + (3+7+7+8+3) = prime 37811 -> 37811 + (3+7+8+1+1) = prime 37831 -> 37831 + (3+7+8+3+1) = prime 37853 -> 37853 + (3+7+8+5+3) = prime 37879 -> next iteration yields composite 37913.
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Patrick De Geest, May 15 1999
EXTENSIONS
Changed offset by Lars Blomberg, Dec 05 2013
STATUS
approved