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!)
A113426 Greatest prime closest to n^2. 4
2, 5, 11, 17, 23, 37, 47, 67, 83, 101, 127, 149, 167, 197, 227, 257, 293, 331, 359, 401, 443, 487, 523, 577, 631, 677, 727, 787, 839, 907, 967, 1021, 1091, 1153, 1223, 1297, 1367, 1447, 1523, 1601, 1693, 1759, 1847, 1933, 2027, 2113, 2207, 2309, 2399, 2503 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
A060272(n) = abs(A000290(n) - a(n));
A113425(n) <= a(n).
LINKS
MATHEMATICA
f[n_]:=Module[{n2=n^2, np1, np2}, np1=NextPrime[n2, -1]; np2=NextPrime[n2]; If[(n2-np1)<(np2-n2), np1, np2]]
Table[f[i], {i, 50}]
CROSSREFS
Sequence in context: A020613 A135478 A019381 * A078894 A086319 A220813
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Oct 31 2005
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 16 00:41 EDT 2024. Contains 371696 sequences. (Running on oeis4.)