login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

Integers of the form : (n plus OR minus 1 = prime) and (n plus OR minus 3 = prime) and (n plus OR minus 5 = prime) ...and (n plus OR minus 11 = prime).
1

%I #5 Dec 30 2012 01:52:16

%S 2,6,14,16,22,68,1492,1612,1868,3922,5648,88808,122032,165712,191452,

%T 223838,266678,284738,326152,347062,363368,402758,418342,421702,

%U 626618,661102,783788,855728,911168,914362,959468,997102,1022512,1030028

%N Integers of the form : (n plus OR minus 1 = prime) and (n plus OR minus 3 = prime) and (n plus OR minus 5 = prime) ...and (n plus OR minus 11 = prime).

%t lst={};Do[If[(PrimeQ[n-1]||PrimeQ[n+1])&&(PrimeQ[n-3]||PrimeQ[n+3])&&(PrimeQ[n-5]||PrimeQ[n+5])&&(PrimeQ[n-7]||PrimeQ[n+7])&&(PrimeQ[n-9]||PrimeQ[n+9])&&(PrimeQ[n-11]||PrimeQ[n+11]),AppendTo[lst,n]],{n,10!}];lst

%K nonn

%O 1,1

%A _Vladimir Joseph Stephan Orlovsky_, Oct 04 2008