OFFSET
1,1
LINKS
Lars Blomberg, Table of n, a(n) for n = 1..10000
EXAMPLE
prime 727 -> 727 + (7+2+7) = prime 743 -> 743 + (7+4+3) = prime 757 -> next iteration yields composite 776.
MATHEMATICA
Select[Prime[Range[1400]], Boole[PrimeQ[Rest[NestList[ #+Total[ IntegerDigits[ #]]&, #, 3]]]] == {1, 1, 0}&] (* Harvey P. Dale, Oct 31 2018 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Patrick De Geest, May 15 1999
EXTENSIONS
Changed offset by Lars Blomberg, Dec 05 2013
STATUS
approved