OFFSET
1,1
COMMENTS
a(911) = 7109 = prime(911), so the sequence ends here. The smallest primes not included are 2, 13, 19, 29 and 37. - David Wasserman, Mar 09 2007
LINKS
Pontus von Brömssen, Table of n, a(n) for n = 1..911
EXAMPLE
a(5) = 17 hence a(6) = 61, since (61-17) = 44 == 0 (mod (prime(5))), prime(5) = 11. 17 + 22 = 39 is not a prime.
CROSSREFS
KEYWORD
nonn,fini,full
AUTHOR
Amarnath Murthy, Apr 25 2004
EXTENSIONS
a(13)-a(31) from Stefan Steinerberger, Nov 10 2005
Corrected and extended by David Wasserman, Mar 09 2007
Clarified definition. - N. J. A. Sloane, Oct 26 2023
STATUS
approved