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!)
A133830 Least positive number k<n such that the binary trinomial 1 + 2^n + 2^k is prime, or 0 if there is no such k. 1
1, 1, 1, 2, 1, 1, 0, 3, 3, 2, 1, 4, 5, 1, 1, 11, 1, 6, 5, 4, 7, 3, 9, 0, 17, 15, 1, 15, 1, 6, 0, 4, 9, 14, 13, 3, 11, 25, 0, 6, 7, 0, 17, 7, 15, 2, 0, 30, 23, 6, 21, 2, 33, 1, 0, 3, 0, 14, 5, 6, 21, 19, 0, 30, 3, 1, 5, 34, 19, 26, 17, 19, 17, 5, 33, 15, 23, 27, 33, 4, 3, 26, 1, 39, 35, 19, 9, 18 (list; graph; refs; listen; history; text; internal format)
OFFSET
2,4
COMMENTS
Sequence A081504 gives the n such that a(n)=0. For those n, A133831(n) gives the k>n for which the binary trinomial is prime.
LINKS
MATHEMATICA
Table[s=1+2^n; k=1; While[k<n && !PrimeQ[s+2^k], k++ ]; If[k==n, 0, k], {n, 100}]
CROSSREFS
Cf. A057732, A059242, A057196, A057200, A081091, A095056 (various forms of prime binary trinomials).
Sequence in context: A347062 A321914 A321746 * A316632 A111571 A051509
KEYWORD
nonn
AUTHOR
T. D. Noe, Sep 26 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 April 16 19:21 EDT 2024. Contains 371754 sequences. (Running on oeis4.)