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!)
A130325 Least prime p such that 3*p*2^n-1 is prime. 3
2, 2, 2, 2, 5, 2, 2, 3, 11, 17, 2, 23, 29, 3, 5, 3, 43, 2, 7, 17, 19, 3, 11, 23, 13, 19, 19, 7, 43, 23, 71, 5, 19, 2, 59, 11, 59, 2, 47, 31, 89, 5, 2, 3, 19, 107, 11, 71, 59, 23, 29, 7, 61, 89, 2, 173, 11, 17, 37, 37, 31, 23, 19, 2, 199, 103, 59, 37, 139, 17, 67, 41, 43 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
LINKS
EXAMPLE
3*2*2^0-1=5 is prime so for n=0 p=2.
3*2*2^1-1=11 is prime so for n=1 p=2.
PROG
(PARI) a(n) = my(p=2); while (!isprime(3*p*2^n-1), p=nextprime(p+1)); p; \\ Michel Marcus, Sep 23 2019
CROSSREFS
Sequence in context: A084731 A066180 A123487 * A362034 A154097 A221491
KEYWORD
nonn
AUTHOR
Pierre CAMI, May 24 2007
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 March 29 10:22 EDT 2024. Contains 371268 sequences. (Running on oeis4.)