OFFSET
1,1
COMMENTS
All terms a(n) >= 41 are primes. - Vladimir Shevelev, May 12 2013
If prime p is in the sequence, then either (p-2,p) is a twin prime pair, or p-2 = q*r, where q and r are distinct primes, or p-2 is the cube of a prime. - Vladimir Shevelev, May 15 2013
LINKS
Peter J. C. Moses, Table of n, a(n) for n = 1..215
Vladimir Shevelev, Proof that all terms >= 41 of A188579 are primes, SeqFan Mailing List, May 15, 2013.
EXAMPLE
Let n=10. Then k takes the values 2 and 3. If k=3, then d=7 and k divides n-d; if k=2, then d = 2,4,8, n-d = 8,6,2 and k divides all these values. Since max(1,3) = 3, 10 is in the sequence. - Vladimir Shevelev, May 12 2013
CROSSREFS
KEYWORD
nonn
AUTHOR
Vladimir Shevelev, Apr 04 2011
STATUS
approved