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!)
A110931 Numbers k such that 2*k^k - 1 is prime. 7
2, 3, 357, 1400, 205731, 296598 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
a(5) > 4000. - Ray G. Opao, Oct 23 2014
a(5) > 101000. - Serge Batalov, Apr 13 2018
LINKS
EXAMPLE
3 is in the sequence since 2*3^3 - 1 = 53 is prime.
MATHEMATICA
Select[Range[1000], PrimeQ[2*#^# - 1] &] (* Vaclav Kotesovec, Oct 31 2014 *)
PROG
(PARI) for(n=1, 2000, 1; if(isprime(2*n^n-1), print(n))) \\ Ray G. Opao, Oct 23 2014
(Magma) [n: n in [0..500] | IsPrime(2*n^n-1)]; // Vincenzo Librandi, Nov 01 2014
CROSSREFS
Numbers k such that b*k^k - b + 1 is prime: this sequence (b=2), A301521 (b=4), A302123 (b=6).
Sequence in context: A177505 A068104 A065586 * A355323 A097654 A156986
KEYWORD
more,nonn,hard
AUTHOR
Ray G. Opao, Sep 25 2005
EXTENSIONS
a(5-6) from Ryan Propper, Jul 24-28 2022
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 29 00:29 EDT 2024. Contains 372921 sequences. (Running on oeis4.)