The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A347785 Number of compositions (ordered partitions) of n into at most 4 powers of 2. 3
1, 1, 2, 3, 6, 9, 12, 14, 18, 17, 18, 22, 24, 22, 26, 24, 18, 17, 26, 22, 30, 30, 34, 24, 24, 22, 34, 24, 26, 24, 24, 0, 18, 17, 26, 22, 38, 30, 34, 24, 30, 30, 42, 24, 34, 24, 24, 0, 24, 22, 34, 24, 34, 24, 24, 0, 26, 24, 24, 0, 24, 0, 0, 0, 18, 17, 26, 22, 38, 30 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
LINKS
MATHEMATICA
Table[Length@Flatten[Permutations/@IntegerPartitions[n, 4, Select[Range@n, IntegerQ@Log2@#&]], 1], {n, 0, 69}] (* Giorgos Kalogeropoulos, Sep 13 2021 *)
CROSSREFS
Sequence in context: A131975 A288754 A057474 * A270139 A353159 A145441
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Sep 13 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 June 6 00:30 EDT 2024. Contains 373110 sequences. (Running on oeis4.)