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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A182414 Least k such that 4^n - 2^k - 1 is prime with n-1 < k < 2*n or 0 if no solution. 1
0, 2, 4, 4, 5, 7, 8, 11, 9, 10, 16, 13, 0, 23, 16, 23, 28, 18, 20, 23, 22, 30, 0, 29, 26, 47, 28, 42, 0, 33, 41, 0, 42, 48, 37, 45, 53, 38, 57, 46, 0, 70, 66, 52, 45, 0, 49, 81, 58, 50, 74, 86, 0, 57, 56, 94, 57, 0, 64, 80, 96, 64, 72, 97, 77, 87, 0, 104, 77 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

Less than 10 % of a(n)=0.

LINKS

Pierre CAMI, Table of n, a(n) for n = 1..4560

EXAMPLE

n=2:2^(2*n)-2^1-1=13 prime but n-1=1=k so k not > n-1.

2^(2*n)-2^2-1=11 prime k=2 k>n-1 so a(2)=2.

MATHEMATICA

Table[k = n; While[k < 2*n && ! PrimeQ[4^n - 2^k - 1], k++]; If[k == 2*n, k = 0]; k, {n, 100}] (* T. D. Noe, May 02 2012 *)

CROSSREFS

Cf. A182413.

Sequence in context: A058568 A147534 A118001 * A256984 A111138 A035625

Adjacent sequences:  A182411 A182412 A182413 * A182415 A182416 A182417

KEYWORD

nonn

AUTHOR

Pierre CAMI, Apr 28 2012

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 22 20:16 EST 2019. Contains 320404 sequences. (Running on oeis4.)