The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A088503 Numbers n such that (n^2 + 3)/4 is prime. 4
3, 5, 7, 11, 13, 17, 25, 29, 31, 35, 41, 43, 49, 55, 67, 77, 83, 101, 109, 115, 119, 125, 133, 139, 143, 151, 155, 157, 161, 179, 181, 199, 203, 211, 221, 223, 235, 239, 263, 277, 283, 287, 295, 301, 307, 311, 323, 325, 329, 335, 337, 347, 353, 377, 379, 385 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Under Bunyakovsky's conjecture this sequence is infinite. - Charles R Greathouse IV, Dec 28 2011
LINKS
FORMULA
a(n) = 2*A002384(n) + 1 = sqrt(A110284(n)). - Ray Chandler, Sep 07 2005
EXAMPLE
(25*25 + 3)/4 = 157, 157 is prime, 25 is the 7th term of the sequence.
MATHEMATICA
Select[Range[500], PrimeQ[(#^2 + 3)/4] &] (* Vincenzo Librandi, Oct 06 2012 *)
PROG
(PARI) for(k=2, 1e3, if(isprime(k^2+k+1), print1(2*k+1", "))) \\ Charles R Greathouse IV, Dec 28 2011
(Magma) [n: n in [1..400 by 2] | IsPrime((n^2 + 3) div 4)]; // Vincenzo Librandi, Oct 06 2012
CROSSREFS
Sequence in context: A274987 A020628 A108816 * A118939 A239391 A087382
KEYWORD
easy,nonn
AUTHOR
Pierre CAMI, Nov 13 2003
EXTENSIONS
Corrected and extended by Ray Chandler, Nov 16 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 June 7 04:40 EDT 2024. Contains 373140 sequences. (Running on oeis4.)