login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A154418 Primes p such that (p^2 + 4)/5 is prime. 3
19, 31, 41, 71, 79, 109, 131, 149, 151, 181, 191, 241, 251, 379, 409, 421, 499, 509, 541, 599, 631, 659, 709, 719, 769, 919, 1009, 1019, 1021, 1031, 1109, 1129, 1151, 1201, 1231, 1291, 1399, 1409, 1451, 1549, 1601, 1621, 1721, 1871, 1931, 2069, 2131, 2179 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

The primes (p^2 + 4)/5 are 73, 193, 337, 1009, 1249, etc.

All terms == 1 or 9 (mod 10). - Robert Israel, Sep 16 2016

LINKS

Vincenzo Librandi, Table of n, a(n) for n = 1..1000

MAPLE

select(p -> isprime(p) and isprime((p^2+4)/5), [seq(seq(10*i+j, j=[1, 9]), i=0..1000)]); # Robert Israel, Sep 16 2016

MATHEMATICA

Select[Prime[Range[200]], PrimeQ[(#^2 + 4)/5] &] (* Vincenzo Librandi, Oct 15 2012 *)

PROG

(MAGMA) [p: p in PrimesInInterval(7, 2500) | IsPrime((p^2+4) div 5)]; // Vincenzo Librandi, Oct 15 2012

CROSSREFS

Sequence in context: A040088 A178251 A164320 * A120337 A120115 A157995

Adjacent sequences:  A154415 A154416 A154417 * A154419 A154420 A154421

KEYWORD

nonn,easy

AUTHOR

Vincenzo Librandi, Jan 09 2009, Dec 13 2010

EXTENSIONS

Corrected and extended by Zak Seidov, Jan 13 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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified January 25 03:49 EST 2020. Contains 331241 sequences. (Running on oeis4.)