login
A135023
(NextPrime[6*n] - PreviousPrime[6*n])/2.
6
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, 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, 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
OFFSET
1,4
COMMENTS
a(n)=1 if 6n -/+ 1 are twin primes.
LINKS
MATHEMATICA
Table[(NextPrime[6*n] - NextPrime[6*n, -1])/2, {n, 1, 25}] (* G. C. Greubel, Sep 17 2016 *)
CROSSREFS
Sequence in context: A319992 A255894 A377403 * A367805 A087822 A163378
KEYWORD
nonn
AUTHOR
Zak Seidov, Feb 10 2008
STATUS
approved