login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A023274
Primes that remain prime through 3 iterations of function f(x) = 2x + 5.
5
13, 31, 37, 67, 73, 181, 367, 541, 661, 997, 1087, 1117, 1327, 1861, 2179, 2293, 2473, 2713, 2719, 3271, 3727, 4363, 5281, 5443, 5749, 7459, 8089, 8707, 9109, 9181, 9337, 10357, 10639, 12553, 13183, 14923, 16183, 16249, 17341, 17419, 17761, 17923, 17989
OFFSET
1,1
COMMENTS
Primes p such that 2*p+5, 4*p+15 and 8*p+35 are also primes. - Vincenzo Librandi, Aug 04 2010
FORMULA
a(n) == 1 (mod 6). - John Cerkan, Sep 16 2016
MAPLE
select(t -> isprime(t) and isprime(2*t+5) and isprime(4*t+15) and isprime(8*t+35), [seq(t, t=7..20000, 6)]); # Robert Israel, Sep 18 2016
MATHEMATICA
Select[Prime@ Range@ 2100, Times @@ Boole@ PrimeQ@ Rest@ NestList[2 # + 5 &, #, 3] > 0 &] (* Michael De Vlieger, Sep 16 2016 *)
PROG
(Magma) [n: n in [1..100000] | IsPrime(n) and IsPrime(2*n+5) and IsPrime(4*n+15) and IsPrime(8*n+35)] // Vincenzo Librandi, Aug 04 2010
CROSSREFS
Subsequence of A023205, A023243, and of A089038.
Sequence in context: A040050 A040086 A176181 * A349636 A129864 A350409
KEYWORD
nonn
STATUS
approved