login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A053000 (Smallest prime > n^2) - n^2. 15
2, 1, 1, 2, 1, 4, 1, 4, 3, 2, 1, 6, 5, 4, 1, 2, 1, 4, 7, 6, 1, 2, 3, 12, 1, 6, 1, 4, 3, 12, 7, 6, 7, 2, 7, 4, 1, 4, 3, 2, 1, 12, 13, 12, 13, 2, 13, 4, 5, 10, 3, 8, 3, 10, 1, 12, 1, 2, 7, 10, 7, 6, 3, 20, 3, 4, 1, 4, 13, 22, 3, 10, 5, 4, 1, 14, 3, 10, 5, 6, 21, 2, 9, 10, 1, 4, 15, 4, 9, 6, 1, 6, 3, 14 (list; graph; refs; listen; history; internal format)
OFFSET

0,1

COMMENTS

Suggested by Legendre's conjecture (still open) that there is always a prime between n^2 and (n+1)^2.

REFERENCES

J. R. Goldman, The Queen of Mathematics, 1998, p. 82.

LINKS

T. D. Noe, Table of n, a(n) for n=0..10000

MAPLE

A053000 := n->nextprime(n^2)-n^2;

MATHEMATICA

nxt[n_]:=Module[{n2=n^2}, NextPrime[n2]-n2]

nxt/@Range[0, 100]  [From Harvey P. Dale, Dec. 20, 2010]

CROSSREFS

Cf. A007491, A053001, A014085, A070316.

Sequence in context: A113926 A165585 A082506 * A002070 A106052 A050473

Adjacent sequences:  A052997 A052998 A052999 * A053001 A053002 A053003

KEYWORD

nonn,easy,nice

AUTHOR

N. J. A. Sloane (njas(AT)research.att.com), Feb 21 2000

EXTENSIONS

More terms from James A. Sellers (sellersj(AT)math.psu.edu), Feb 22 2000

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 16 21:17 EST 2012. Contains 205971 sequences.