login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A127586 Smallest strictly positive integer k such that (k+1)*2^n-1 is prime. 13
2, 1, 1, 2, 1, 3, 1, 2, 4, 6, 4, 2, 1, 8, 4, 3, 1, 3, 1, 27, 13, 6, 25, 12, 38, 21, 10, 15, 7, 3, 1, 9, 4, 5, 2, 23, 11, 5, 2, 24, 23, 11, 5, 2, 13, 6, 19, 9, 4, 18, 10 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,1

COMMENTS

The associated prime number list is (k+1)*2^n-1 = 2, 3, 7, 23, 31, 127, 127, 383, 1279, 3583, 5119, 6143, 8191, 73727 for n=0,1,2,3,4,... - R. J. Mathar, Jan 22 2007

LINKS

Table of n, a(n) for n=0..50.

FORMULA

a(n)=A127587(n) if n is not in A000043. - R. J. Mathar, Jan 22 2007

a(n) << 19^n by Xylouris' improvement to Linnik's theorem. - Charles R Greathouse IV, Dec 10 2013

MAPLE

A127586 := proc(n) local k; k:=1 ; while true do if isprime( (k+1)*2^n-1) then RETURN(k) ; fi ; k := k+1 ; od ; end: for n from 0 to 100 do printf("%d, ", A127586(n)) ; od ; # R. J. Mathar, Jan 22 2007

MATHEMATICA

a = {}; Do[k = 1; While[ ! PrimeQ[k 2^n + 2^n - 1], k++ ]; AppendTo[a, k], {n, 0, 50}]; a

CROSSREFS

Cf. A007522, A127575, A127576, A127577, A127578, A127580, A127581, A087522, A127587.

Sequence in context: A212182 A236567 A247299 * A055893 A050221 A213235

Adjacent sequences:  A127583 A127584 A127585 * A127587 A127588 A127589

KEYWORD

nonn

AUTHOR

Artur Jasinski, Jan 19 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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified February 21 03:06 EST 2019. Contains 320364 sequences. (Running on oeis4.)