|
Search: id:A059673
|
|
|
| A059673 |
|
Sum of binary numbers with n 1's and one (non-leading) 0. |
|
+0 4
|
|
| 0, 2, 11, 38, 109, 284, 699, 1658, 3833, 8696, 19447, 42998, 94197, 204788, 442355, 950258, 2031601, 4325360, 9175023, 19398638, 40894445, 85983212, 180355051, 377487338, 788529129, 1644167144, 3422552039, 7113539558, 14763950053
(list; graph; listen)
|
|
|
OFFSET
|
0,2
|
|
|
COMMENT
|
For n>0: a(n) = sum of n-th row of the triangle in A164874. [From Reinhard Zumkeller (reinhard.zumkeller(AT)gmail.com), Aug 29 2009]
|
|
FORMULA
|
a(n) =(2n-1)*2^n+1-n.
|
|
EXAMPLE
|
a(4)=109 since the binary sum 11110+11101+11011+10111 is 30+29+27+23
|
|
CROSSREFS
|
A030130. [From Reinhard Zumkeller (reinhard.zumkeller(AT)gmail.com), Aug 29 2009]
Sequence in context: A038607 A079009 A097651 this_sequence A166989 A143550 A000175
Adjacent sequences: A059670 A059671 A059672 this_sequence A059674 A059675 A059676
|
|
KEYWORD
|
easy,nonn
|
|
AUTHOR
|
Henry Bottomley (se16(AT)btinternet.com), Feb 05 2001
|
|
|
Search completed in 0.002 seconds
|