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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A113425 Smallest prime closest to n^2. 2
2, 3, 7, 17, 23, 37, 47, 61, 79, 101, 127, 139, 167, 197, 223, 257, 293, 317, 359, 401, 439, 487, 523, 577, 619, 677, 727, 787, 839, 907, 967, 1021, 1087, 1153, 1223, 1297, 1367, 1447, 1523, 1601, 1669, 1759, 1847, 1933, 2027, 2113, 2207, 2309, 2399, 2503 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

COMMENTS

A060272(n) = abs(A000290(n) - a(n));

a(n) <= A113426(n).

MATHEMATICA

sp[n_]:=Module[{n2=n^2 , npu, npd}, npu=NextPrime[n2]; npd=NextPrime[n2, -1]; If[n2-npd<=npu-n2, npd, npu]]; sp/@Range[50]  (* From Harvey P. Dale, Feb 05 2011 *)

CROSSREFS

Sequence in context: A045333 A040141 A019335 * A110480 A083822 A030086

Adjacent sequences:  A113422 A113423 A113424 * A113426 A113427 A113428

KEYWORD

nonn

AUTHOR

Reinhard Zumkeller (reinhard.zumkeller(AT)gmail.com), Oct 31 2005

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 17 10:57 EST 2012. Contains 206009 sequences.