OFFSET
1,1
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000 (terms 1..1000 from Iain Fox)
EXAMPLE
4*15855-1, 8*15855-1, 16*15855-1, 32*15855-1, 64*15855-1 and 128*15855-1 are primes, so 15855 is a term.
MATHEMATICA
Select[Range[10^6], And @@ PrimeQ[2^Range[2, 7]*# - 1] &] (* Amiram Eldar, May 23 2024 *)
PROG
(PARI) lista(nn) = for(n=1, nn, if(ispseudoprime(4*n-1) && ispseudoprime(8*n-1) && ispseudoprime(16*n-1) && ispseudoprime(32*n-1) && ispseudoprime(64*n-1) && ispseudoprime(128*n-1), print1(n, ", "))) \\ Iain Fox, Nov 23 2017
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Douglas Stones (dssto1(AT)student.monash.edu.au), Dec 23 2004
STATUS
approved