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!)
A215249 a(n) is the smallest number m >= n such that m^2 + n is a prime. 2
1, 3, 4, 5, 6, 11, 8, 9, 10, 11, 24, 13, 16, 15, 16, 21, 24, 19, 20, 21, 40, 25, 24, 35, 26, 69, 28, 33, 30, 31, 34, 39, 56, 35, 48, 49, 38, 39, 50, 41, 54, 47, 44, 45, 46, 49, 48, 53, 50, 57, 56, 53, 54, 55, 56, 69, 64, 59, 60, 67, 64, 105, 64, 65, 66, 71, 68, 75 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
MATHEMATICA
Table[m = n; While[! PrimeQ[m^2 + n], m++]; m, {n, 100}] (* T. D. Noe, Aug 12 2012 *)
CROSSREFS
Sequence in context: A143713 A271821 A261459 * A089912 A047425 A048989
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Aug 10 2012
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 March 29 03:51 EDT 2024. Contains 371264 sequences. (Running on oeis4.)