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!)
A175172 Primes p such that 3*2^p+1 is also prime. 2
2, 5, 41, 353 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
A000040 INTERSECT A002253. - R. J. Mathar, Jan 04 2011
EXAMPLE
For p=2, 3*2^2+1=13; p=5. 3*2^5+1=97; p=41, 3*2^41+1=6597069766657.
MAPLE
select(p->isprime(p) and isprime(3*2^p+1), [$0..5000]); # Muniru A Asiru, Dec 19 2018
MATHEMATICA
Select[Prime[Range[1000]], PrimeQ[3 2^# + 1] &] (* Vincenzo Librandi, Dec 19 2018 *)
PROG
(Magma) [p: p in PrimesUpTo(4000) | IsPrime(3*2^p+1)]
CROSSREFS
Sequence in context: A185052 A088547 A009457 * A218057 A126469 A093433
KEYWORD
nonn,more
AUTHOR
Vincenzo Librandi, Mar 09 2010
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 April 19 21:09 EDT 2024. Contains 371798 sequences. (Running on oeis4.)