A090009 Begins the earliest length-n chain of primes such that any term in the chain equals the previous term increased by the sum of its digits.
2, 11, 11, 277, 37783, 516493, 286330897, 286330897, 56676324799
Offset: 1
Examples
11 begins the earliest chain 11, 13, 17 of three primes such that any term in the chain equals the previous term increased by the sum of its digits, viz., 13 = 11 + 2, 17 = 13 + 4. Hence a(3) = 11.
Links
- Carlos Rivera, Puzzle 163. P+SOD(P)
Crossrefs
Programs
-
PARI
A090009(n,P=2)=forprime(p=P,,P=p;for(i=2,n,isprime(P=A062028(P))||next(2));return(p)) P=0; A090009_vec=vector(6,n,P=A090009(n,P)) \\ Takes long for n > 6. - M. F. Hasler, Nov 09 2018
Extensions
a(7)-a(8) from Donovan Johnson, Jan 08 2013
a(9) from Giovanni Resta, Jan 14 2013
Comments