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!)
A082465 Least k>=1 such that n^2+kn+1 is prime. 0
1, 1, 1, 3, 1, 1, 3, 1, 3, 3, 7, 1, 11, 1, 1, 5, 1, 3, 3, 1, 1, 6, 3, 1, 3, 7, 1, 6, 3, 3, 5, 4, 1, 3, 7, 7, 3, 1, 9, 3, 1, 4, 3, 3, 3, 5, 3, 6, 3, 1, 5, 3, 3, 1, 3, 4, 1, 3, 1, 7, 5, 1, 3, 3, 3, 1, 3, 7, 1, 9, 1, 7, 9, 9, 1, 12, 1, 1, 5, 1, 5, 3, 19, 3, 3, 4, 7, 3, 1, 1, 5, 3, 3, 11, 3, 4, 11, 6, 1, 3, 1, 3, 11 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,4
LINKS
PROG
(PARI) a(n)=if(n<0, 0, k=1; while(isprime(n^2+k*n+1)==0, s++); k)
CROSSREFS
Sequence in context: A218825 A035691 A131781 * A226856 A131327 A355899
KEYWORD
nonn
AUTHOR
Benoit Cloitre, Apr 27 2003
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 25 05:56 EDT 2024. Contains 371964 sequences. (Running on oeis4.)