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!)
A073924 Smallest power of 2 that is greater than the previous term such that every partial sum (n>1) is a prime. 7
1, 2, 4, 16, 128, 65536, 9007199254740992, 73786976294838206464, 205688069665150755269371147819668813122841983204197482918576128 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Next term 2^1752 is too large to include.
LINKS
EXAMPLE
a(5) is 128 because it is the next power of 2 greater than 16 such that 1 + 2 + 4 + 16 + x is prime.
MATHEMATICA
a[1] = 1; a[n_] := Block[{k = a[n - 1] + 1, s = Plus @@ (2^Array[a, n - 1])}, While[ !PrimeQ[s + 2^k], k++ ]; k]; Array[2^a[ # ] &, 9] (* Robert G. Wilson v, Jan 31 2006 *)
CROSSREFS
Cf. A073923.
Sequence in context: A179532 A217994 A174677 * A362065 A061588 A202360
KEYWORD
nonn
AUTHOR
Amarnath Murthy, Aug 19 2002
EXTENSIONS
More terms from Jason Earls, Sep 03 2002
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 24 19:06 EDT 2024. Contains 371962 sequences. (Running on oeis4.)