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!)
A073108 Least k such that there are n primes among the numbers n^2 + x^2 for 1 <= x <= k. 0
1, 3, 10, 11, 16, 29, 38, 35, 64, 29, 54, 107, 58, 69, 92, 85, 82, 163, 124, 81, 190, 155, 142, 241, 116, 139, 338, 213, 176, 221, 214, 223, 520, 211, 184, 361, 278, 267, 400, 179, 294, 607, 288, 335, 362, 379, 342, 587, 394, 261 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
PROG
(PARI) a(n)=if(n<0, 0, s=1; while(sum(k=1, s, isprime(k^2+n^2))<n, s++); s)
CROSSREFS
Sequence in context: A357708 A169939 A357627 * A352776 A255160 A344892
KEYWORD
easy,nonn
AUTHOR
Benoit Cloitre, Aug 19 2002
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 July 19 13:41 EDT 2024. Contains 374394 sequences. (Running on oeis4.)