OFFSET
1,1
COMMENTS
Also, apart from the first term, greater members of twin prime pairs: A006512(n) = a(n+1). - Reinhard Zumkeller, Dec 07 2002
Smallest prime > n-th odd number that is the difference of 2 primes. - Juri-Stepan Gerasimov, Nov 08 2010
These primes are the only primes, p(j) = A000040(j), such that (p(j)-p(j-m)) divides (p(j)+p(j-m)) for some m, 0 < m < j. For all such cases, m=1. It is easy to prove for j-m>1 the only common factor of (p(j)-p(j-m)) and (p(j)+p(j-m)) is 2, and there are no common factors if j-m = 1. Thus, p(j-m) is the lesser member of a twin prime pair, except when j=2. - Richard R. Forberg, Mar 25 2015
MATHEMATICA
Select[Prime@ Range@ 240, DivisorSigma[1, # - 2] < # &] (* Michael De Vlieger, Jun 12 2015 *)
PROG
(PARI) lista(nn) = forprime(p=3, nn, if (sigma(p-2) < p, print1(p, ", ")); ); \\ Michel Marcus, Jun 06 2015
CROSSREFS
KEYWORD
nonn
AUTHOR
Benoit Cloitre, Feb 08 2002
STATUS
approved