login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

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

%I #5 Sep 17 2016 00:28:53

%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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 20 00:03 EDT 2024. Contains 371798 sequences. (Running on oeis4.)