OFFSET
1,1
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000 (terms 1..1000 from Harvey P. Dale)
FORMULA
a(n) = 4*A101790(n) - 1. - Amiram Eldar, May 13 2024
EXAMPLE
4*3-1 = 11, 8*3-1 = 23 and 16*3-1 = 47 are primes, so 11 is a term.
MATHEMATICA
p4816Q[n_]:=Module[{nn=(n+1)/4}, And@@PrimeQ[{n, 8nn-1, 16nn-1}]]; Select[ 4*Range[6000]-1, p4816Q] (* Harvey P. Dale, Nov 25 2011 *)
PROG
(PARI) is(k) = if(k % 4 == 3, my(m = k\4 + 1); isprime(4*m-1) && isprime(8*m-1) && isprime(16*m-1), 0); \\ Amiram Eldar, May 13 2024
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Douglas Stones (dssto1(AT)student.monash.edu.au), Dec 16 2004
STATUS
approved