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!)
A165349 Primes p such that (p^2-1)/4-p is also prime. 2
7, 11, 13, 19, 23, 29, 41, 43, 59, 73, 79, 103, 109, 113, 131, 139, 173, 181, 191, 233, 263, 271, 283, 293, 311, 313, 331, 379, 389, 401, 409, 421, 433, 439, 443, 463, 491, 499, 521, 599, 613, 631, 641, 673, 701, 719, 751, 773, 839, 859, 929, 953, 983, 991, 1033, 1039, 1063 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
A165557(n) = (a(n)^2-1)/4-a(n).
EXAMPLE
For p=7, (p^2-1)/4-p=5, which is prime. For p=11, (p^2-1)/4-p=19, which is prime. p=13: (p^2-1)/4-p=29.
MATHEMATICA
Select[Prime[Range[180]], PrimeQ[(#^2 - 1) / 4 - #]&] (* Vincenzo Librandi, Apr 10 2013 *)
PROG
(Magma) [p: p in PrimesInInterval(5, 1200) | IsPrime(((p^2-1) div 4) - p)]; // Vincenzo Librandi, Apr 10 2013
CROSSREFS
Cf. A165557.
Sequence in context: A115558 A067466 A091932 * A160024 A063911 A087489
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Sep 22 2009
EXTENSIONS
Extended by R. J. Mathar, Sep 26 2009
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 5 22:26 EDT 2024. Contains 373110 sequences. (Running on oeis4.)