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!)
A165566 Primes p such that (p^2-1)/8-p is also prime. 2
17, 23, 31, 47, 73, 79, 103, 113, 127, 151, 167, 193, 199, 233, 241, 311, 313, 337, 401, 433, 479, 503, 521, 569, 577, 601, 631, 647, 719, 809, 823, 839, 863, 887, 911, 919, 953, 1031, 1049, 1087, 1129, 1151, 1193, 1201, 1217, 1231, 1249, 1303, 1433, 1439, 1487 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
(a(n)^2-1)/8-a(n) = A165567(n).
EXAMPLE
For p=17, (17^2-1)/8-17=19 is prime, which adds p=17 to the sequence.
For p=23, (23^2-1)/8-23=43 is prime, which adds p=23 to the sequence.
MATHEMATICA
Select[Prime[Range[5, 1000]], PrimeQ[(#^2 - 1) / 8 - #]&] (* Vincenzo Librandi, Apr 10 2013 *)
PROG
(Magma) [p: p in PrimesInInterval(7, 1500) | IsPrime(((p^2-1) div 8) - p)]; // Vincenzo Librandi, Apr 10 2013
CROSSREFS
Cf. A165567.
Sequence in context: A217044 A145484 A080830 * A072184 A107644 A158710
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Sep 22 2009
EXTENSIONS
Edited and extended by R. J. Mathar, Sep 25 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 April 23 14:15 EDT 2024. Contains 371914 sequences. (Running on oeis4.)