|
Search: id:A112884
|
|
|
| A112884 |
|
Number of bits required to represent binomial(2^n, 2^(n-1)). |
|
+0 1
|
|
| 2, 3, 7, 14, 30, 61, 125, 252, 508, 1019, 2043, 4090, 8186, 16377, 32761, 65528, 131064, 262135, 524279, 1048566, 2097142, 4194293, 8388597
(list; graph; listen)
|
|
|
OFFSET
|
1,1
|
|
|
FORMULA
|
Appears to be equal to 2^n - floor(n / 2)
|
|
EXAMPLE
|
a(2) = 3 because binomial(2^2, 2^1) in binary = 110
|
|
PROGRAM
|
PHP code: $LastFact = gmp_init('1'); for ($i = 2; $i !== 65536; $i *= 2) { $Fact = gmp_fact($i); $Result = gmp_div_q($Fact, gmp_pow($OldFact, 2)); $LastFact = $Fact; echo gmp_strval($Result, 2).'<br>'; }
|
|
CROSSREFS
|
a(n) represents the size of A037293 in binary - see also the central binomial coefficients: A001405.
Sequence in context: A034065 A034075 A019595 this_sequence A103421 A151530 A000642
Adjacent sequences: A112881 A112882 A112883 this_sequence A112885 A112886 A112887
|
|
KEYWORD
|
easy,nonn
|
|
AUTHOR
|
Matt Erbst (matt(AT)erbst.org), Oct 04 2005
|
|
|
Search completed in 0.002 seconds
|