The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A188542 Number of primes between n^3-n and n^3+n. 0
1, 1, 1, 2, 1, 1, 3, 1, 2, 3, 2, 3, 2, 4, 4, 4, 3, 5, 5, 4, 4, 7, 4, 4, 8, 7, 6, 5, 6, 5, 4, 6, 6, 5, 6, 9, 5, 5, 5, 7, 9, 7, 5, 7, 12, 8, 8, 12, 7, 8, 13, 10, 10, 9, 10, 7, 11, 11, 11, 6, 5, 11, 13, 12, 8, 8, 14, 9, 5, 7, 5, 14, 12, 13, 8, 11, 15, 15, 12, 11, 5, 11, 17, 14, 15, 15, 12, 15, 14, 16, 14, 17, 13, 15, 15, 12, 6, 17, 16, 14 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,4
COMMENTS
We include the end points in the range; this affects the value only for n=1.
Conjecture: the sequence contains no 0's. Verified up to n = 100000.
LINKS
PROG
(PARI) vector(100, m, sum(k=m^3-m, m^3+m, isprime(k)))
CROSSREFS
Sequence in context: A317086 A131376 A025840 * A029284 A123275 A112544
KEYWORD
nonn
AUTHOR
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 June 6 03:51 EDT 2024. Contains 373110 sequences. (Running on oeis4.)