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!)
A172976 Primes p such that 2p - 1 and 6p - 1 are prime. 1

%I #12 Sep 08 2022 08:45:50

%S 2,3,7,19,157,199,229,379,439,577,829,877,967,997,1009,1279,1429,1459,

%T 1657,2137,2539,3067,3169,3187,3319,3739,3769,3967,4159,4357,4447,

%U 4909,4987,6079,6379,6427,6709,6967,7219,7297,7639,8209,9049,9067,9157,9277

%N Primes p such that 2p - 1 and 6p - 1 are prime.

%H Iain Fox, <a href="/A172976/b172976.txt">Table of n, a(n) for n = 1..10000</a>

%o (Magma) [p: p in PrimesUpTo(10000)|IsPrime(2*p-1) and IsPrime(6*p-1)] // _Vincenzo Librandi_, Jan 29 2011

%o (PARI) lista(nn) = forprime(p=2, nn, if(isprime(2*p - 1) && isprime(6*p - 1), print1(p, ", "))) \\ _Iain Fox_, Jan 20 2018

%K nonn,easy,less

%O 1,1

%A _Juri-Stepan Gerasimov_, Feb 06 2010

%E Corrected and extended by _Charles R Greathouse IV_, Mar 25 2010

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 August 11 07:13 EDT 2024. Contains 375059 sequences. (Running on oeis4.)