login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A341020 INVERT transform of the binary weight. 1
1, 1, 2, 5, 10, 22, 48, 104, 224, 485, 1050, 2271, 4914, 10633, 23006, 49777, 107700, 233027, 504192, 1090901, 2360344, 5106990, 11049806, 23908060, 51728994, 111924129, 242166136, 523965997, 1133686030, 2452914922, 5307282140, 11483171904, 24845718294 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
COMMENTS
Number of compositions of n into parts where there are A000120(k) sorts of part k.
LINKS
FORMULA
G.f.: 1 / (1 - Sum_{k>=1} A000120(k) * x^k).
MAPLE
h:= proc(n) option remember; add(j, j=Bits[Split](n)) end:
a:= proc(n) option remember; `if`(n=0, 1,
add(a(n-i)*h(i), i=1..n))
end:
seq(a(n), n=0..36);
MATHEMATICA
h[n_] := h[n] = DigitCount[n, 2, 1];
a[n_] := a[n] = If[n == 0, 1,
Sum[a[n - i]*h[i], {i, 1, n}]];
Table[a[n], {n, 0, 36}] (* Jean-François Alcover, Apr 14 2022, after Alois P. Heinz *)
CROSSREFS
Cf. A000120.
Sequence in context: A101399 A320650 A018109 * A123491 A329185 A232163
KEYWORD
nonn
AUTHOR
Alois P. Heinz, Feb 02 2021
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 13:24 EDT 2024. Contains 371955 sequences. (Running on oeis4.)