cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A347785 Number of compositions (ordered partitions) of n into at most 4 powers of 2.

This page as a plain text file.
%I A347785 #7 Sep 14 2021 01:01:51
%S A347785 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,
%T A347785 22,34,24,26,24,24,0,18,17,26,22,38,30,34,24,30,30,42,24,34,24,24,0,
%U A347785 24,22,34,24,34,24,24,0,26,24,24,0,24,0,0,0,18,17,26,22,38,30
%N A347785 Number of compositions (ordered partitions) of n into at most 4 powers of 2.
%t A347785 Table[Length@Flatten[Permutations/@IntegerPartitions[n,4,Select[Range@n,IntegerQ@Log2@#&]],1],{n,0,69}] (* _Giorgos Kalogeropoulos_, Sep 13 2021 *)
%Y A347785 Cf. A000079, A023359, A151760, A347784, A347786, A347787.
%K A347785 nonn
%O A347785 0,3
%A A347785 _Ilya Gutkovskiy_, Sep 13 2021