The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A135023 (NextPrime[6*n] - PreviousPrime[6*n])/2. 6

%I

%S 1,1,1,3,1,3,1,3,3,1,3,1,3,3,4,4,1,1,7,7,7,3,1,5,1,3,3,3,3,1,5,1,1,6,

%T 6,6,6,1,3,1,5,3,3,3,1,3,1,5,7,7,7,1,7,7,7,3,5,1,3,4,4,3,3,3,4,4,4,4,

%U 5,1,5,1,3,3,4,4,1,6,6,4,4,4,4,3,6,6,1,9,9,9,3,5,3,3,1,3,5,3,3,1,3,3,1,6,6

%N (NextPrime[6*n] - PreviousPrime[6*n])/2.

%C a(n)=1 if 6n -/+ 1 are twin primes.

%H G. C. Greubel, <a href="/A135023/b135023.txt">Table of n, a(n) for n = 1..1000</a>

%t Table[(NextPrime[6*n] - NextPrime[6*n, -1])/2, {n, 1, 25}] (* _G. C. Greubel_, Sep 17 2016 *)

%K nonn

%O 1,4

%A _Zak Seidov_, Feb 10 2008

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified August 12 09:05 EDT 2020. Contains 336438 sequences. (Running on oeis4.)