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!)
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 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
a(n)=1 if 24n -/+ 1 are twin primes.
Corresponding n's are in A137920.
LINKS
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
Sequence in context: A226576 A297902 A298496 * A079081 A199775 A193740
KEYWORD
nonn
AUTHOR
Zak Seidov, Feb 23 2008
STATUS
approved

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 24 15:57 EDT 2024. Contains 371961 sequences. (Running on oeis4.)