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”).

A101320
Numbers k such that 4*k-1, 8*k-1, 16*k-1, 32*k-1, 64*k-1 and 128*k-1 are all primes.
2
15855, 31785, 267300, 280665, 399675, 561330, 946050, 990510, 1022220, 1082115, 1164735, 1283250, 1303875, 1309545, 1514880, 1669065, 1924410, 2850225, 3078675, 3092760, 3492270, 3536385, 3611205, 3920670, 4148970, 4454775
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
Cf. A002515.
Subsequence of A005099, A005122, A101790, A101794 and A101994.
Sequence in context: A356866 A184612 A277350 * A031811 A234318 A174596
KEYWORD
easy,nonn
AUTHOR
Douglas Stones (dssto1(AT)student.monash.edu.au), Dec 23 2004
STATUS
approved