login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A343756
Number of nondecreasing sequences s1, s2, ..., s_n of powers of 2 such that s_i <= 1 + Sum_{j=1..i-1} s_j.
3
1, 1, 2, 4, 9, 20, 45, 102, 232, 528, 1203, 2742, 6252, 14258, 32519, 74173, 169189, 385929, 880337, 2008141, 4580803, 10449377, 23836364, 54373853, 124033933, 282937887, 645419092, 1472287344, 3358484832, 7661154644, 17476122569, 39865383333, 90938296121
OFFSET
0,3
LINKS
EXAMPLE
a(0) = 1: [].
a(1) = 1: [1].
a(2) = 2: [1,1], [1,2].
a(3) = 4: [1,1,1], [1,1,2], [1,2,2], [1,2,4].
a(4) = 9 : [1,1,1,1], [1,1,1,2], [1,1,1,4], [1,1,2,2], [1,1,2,4], [1,2,2,2], [1,2,2,4], [1,2,4,4], [1,2,4,8].
a(5) = 20: [1,1,1,1,1], [1,1,1,1,2], [1,1,1,1,4], [1,1,1,2,2], [1,1,1,2,4], [1,1,1,4,4], [1,1,1,4,8], [1,1,2,2,2], [1,1,2,2,4], [1,1,2,4,4], [1,1,2,4,8], [1,2,2,2,2], [1,2,2,2,4], [1,2,2,2,8], [1,2,2,4,4], [1,2,2,4,8], [1,2,4,4,4], [1,2,4,4,8], [1,2,4,8,8], [1,2,4,8,16].
MAPLE
b:= proc(n, t) option remember; `if`(n=0, 1,
`if`(t=0, 0, b(n, iquo(t, 2))+b(n-1, t+1)))
end:
a:= n-> b(n, 1):
seq(a(n), n=0..38);
CROSSREFS
KEYWORD
nonn
AUTHOR
Alois P. Heinz, Apr 27 2021
STATUS
approved