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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A073108 Least k such 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

Table of n, a(n) for n=1..50.

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: A114134 A167519 A169939 * A255160 A078306 A136815

Adjacent sequences:  A073105 A073106 A073107 * A073109 A073110 A073111

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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 21 00:17 EDT 2019. Contains 327252 sequences. (Running on oeis4.)