login
A137919
(Nextprime(24n)-previousprime(24n))/2.
1
3, 3, 1, 4, 7, 5, 3, 1, 6, 1, 3, 5, 1, 3, 4, 3, 4, 1, 4, 4, 3, 9, 5, 3, 1, 6, 3, 6, 5, 4, 4, 4, 5, 5, 7, 7, 10, 4, 4, 7, 4, 6, 1, 5, 9, 3, 3, 1, 5, 4, 3, 6, 9, 3, 1, 17, 3, 9, 7, 4, 6, 1, 6, 6, 4, 7, 1, 5, 10, 12, 5, 5, 3, 9, 6, 4, 7, 1, 6, 9, 8, 11, 3, 3, 7, 3, 1, 1, 3, 4, 12, 3, 8, 8, 4, 6, 11, 3, 3, 6, 7, 6
OFFSET
1,1
COMMENTS
a(n)=1 if 24n -/+ 1 are twin primes.
Corresponding n's are in A137920.
MATHEMATICA
Table[(NextPrime[24n]-NextPrime[24n, -1])/2, {n, 110}] (* Harvey P. Dale, Apr 15 2015 *)
PROG
(PARI) a(n) = (nextprime(24*n) - precprime(24*n))/2; \\ Michel Marcus, Oct 13 2013
CROSSREFS
KEYWORD
nonn
AUTHOR
Zak Seidov, Feb 23 2008
STATUS
approved