|
Search: id:A073924
|
|
|
| A073924 |
|
Smallest power of 2 that is greater than the previous term such that every partial sum (n>1) is a prime. |
|
+0 8
|
|
| 1, 2, 4, 16, 128, 65536, 9007199254740992, 73786976294838206464, 205688069665150755269371147819668813122841983204197482918576128
(list; graph; listen)
|
|
|
OFFSET
|
1,2
|
|
|
COMMENT
|
Next term is too large to include.
|
|
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] (from Robert G. Wilson v (rgwv(at)rgwv.com), Jan 31 2006)
|
|
CROSSREFS
|
Cf. A073923.
Sequence in context: A047892 A009200 A144526 this_sequence A061588 A050472 A109457
Adjacent sequences: A073921 A073922 A073923 this_sequence A073925 A073926 A073927
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
Amarnath Murthy (amarnath_murthy(AT)yahoo.com), Aug 19 2002
|
|
EXTENSIONS
|
More terms from Jason Earls (zevi_35711(AT)yahoo.com), Sep 03 2002
|
|
|
Search completed in 0.002 seconds
|