login
A101042 sorted. There exists a prime p for which a(n) is the smallest positive d such that p is the smallest prime where p+d is also prime.
5

%I #9 Nov 16 2019 03:51:07

%S 1,2,6,22,88,112,116,202,242,284,470,718,772,1326,1328,1334,1642,1732,

%T 1762,2402,2558,3274,5246,5888,7094,7702,7984,9512,9952,9974,10342,

%U 10532,12688,13528,16766,25678,25708,37666,59894,60458,61756,62156

%N A101042 sorted. There exists a prime p for which a(n) is the smallest positive d such that p is the smallest prime where p+d is also prime.

%C Except for n=1, A020483(a(n)/2) is the first appearance of a prime in A020483.

%H J. K. Andersen, <a href="http://groups.yahoo.com/group/primenumbers/message/15641">Prime gaps (not necessarily consecutive)</a>.

%H Mike Oakes, Ed Pegg Jr, Jens Kruse Andersen, <a href="/A101042/a101042.txt">Prime gaps (not necessarily consecutive)</a>, digest of 5 messages in primenumbers Yahoo group, Nov 26 - Nov 27, 2004. [Cached copy]

%e d=6 is in the sequence because there exists the prime p=5 satisfying the required conditions: 2+6, 3+6 is composite and 5+6 is prime. 6 is the smallest such number.

%Y Cf. A020483, A101042, A101044, A101045, A101046.

%K nonn

%O 1,2

%A _Jens Kruse Andersen_, Nov 28 2004