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!)
A124516 a(n) = least k such that 2^i*k-1 is prime for 1<=i<=n. 9
2, 2, 3, 3, 45, 45, 561330, 9549960, 42932385, 13044904290, 277344139215, 277344139215, 2045466215756535 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
MATHEMATICA
k = 1; Do[If[n < 5, inc = 1, inc = 15]; If[Mod[k, inc] > 0, k = k + inc - Mod[k, inc]]; While[Nand @@ PrimeQ[Table[2^j, {j, n}]*k - 1], k += inc]; Print[k], {n, 1, 10}] (* Ray Chandler *)
CROSSREFS
Sequence in context: A053094 A309283 A196080 * A205958 A309090 A091048
KEYWORD
nonn,more
AUTHOR
Artur Jasinski, Nov 04 2006
EXTENSIONS
Definition corrected and a(10) calculated by Farideh Firoozbakht, Nov 24 2006
a(11)-a(13) from Giovanni Resta, Apr 22 2019
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 29 10:04 EDT 2024. Contains 372113 sequences. (Running on oeis4.)