The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A101790 Numbers k such that 4*k-1, 8*k-1 and 16*k-1 are all primes. 8
3, 45, 90, 180, 255, 258, 363, 378, 453, 483, 615, 675, 705, 873, 885, 978, 1350, 1533, 1770, 1788, 2673, 2793, 2868, 3030, 3225, 3240, 4203, 4290, 4548, 4830, 4998, 5103, 5253, 5295, 5568, 5775, 5955, 6060, 6138, 6870, 7383, 7713, 8133, 8370, 8580, 9000 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
4*3 - 1 = 11, 8*3 - 1 = 23 and 16*3 - 1 = 47 are primes, so 3 is a term.
MATHEMATICA
Select[Range[10^4], And @@ PrimeQ[2^Range[2, 4]*# - 1] &] (* Amiram Eldar, May 12 2024 *)
PROG
(Magma) [n: n in [0..10000] | IsPrime(4*n-1) and IsPrime(8*n-1) and IsPrime(16*n-1)]; // Vincenzo Librandi, Nov 17 2010
(PARI) is(k) = isprime(4*k-1) && isprime(8*k-1) && isprime(16*k-1); \\ Amiram Eldar, May 12 2024
CROSSREFS
Subsequence of A005099 and A005122.
Subsequences: A101794, A101994.
Sequence in context: A161589 A360966 A079038 * A124494 A075320 A071968
KEYWORD
easy,nonn,changed
AUTHOR
Douglas Stones (dssto1(AT)student.monash.edu.au), Dec 16 2004
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 17 09:47 EDT 2024. Contains 372579 sequences. (Running on oeis4.)