|
|
A106461
|
|
Binomial transform of the Tower of Hanoi sequence.
|
|
3
|
|
|
1, 3, 6, 13, 28, 58, 116, 229, 456, 924, 1896, 3898, 7960, 16084, 32168, 63845, 126160, 248968, 491952, 975388, 1943536, 3895336, 7852688, 15906874, 32321264, 65736728, 133549136, 270550228, 545928688, 1096685608, 2193371216, 4369711461, 8679052960
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
LINKS
|
|
|
FORMULA
|
Binomial transform of A001511, the "ruler" or Tower of Hanoi sequence.
|
|
EXAMPLE
|
a(4) = 13 = 1*1 + 3*2 + 3*1 + 1*3, where the Tower of Hanoi sequence = (A001511): 1, 2, 1, 3, 1, 2, 1, 4...
|
|
MAPLE
|
f:= n -> add(padic:-ordp(2*k, 2)*binomial(n-1, k-1), k=1..n):
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|