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.

A347784 Number of compositions (ordered partitions) of n into at most 3 powers of 2.

This page as a plain text file.
%I A347784 #7 Sep 14 2021 01:01:43
%S A347784 1,1,2,3,5,5,6,6,5,5,8,6,6,6,6,0,5,5,8,6,8,6,6,0,6,6,6,0,6,0,0,0,5,5,
%T A347784 8,6,8,6,6,0,8,6,6,0,6,0,0,0,6,6,6,0,6,0,0,0,6,0,0,0,0,0,0,0,5,5,8,6,
%U A347784 8,6,6,0,8,6,6,0,6,0,0,0,8,6,6,0,6,0,0,0,6
%N A347784 Number of compositions (ordered partitions) of n into at most 3 powers of 2.
%t A347784 Table[Length@Flatten[Permutations/@IntegerPartitions[n,3,Select[Range@n,IntegerQ@Log2@#&]],1],{n,0,100}] (* _Giorgos Kalogeropoulos_, Sep 13 2021 *)
%Y A347784 Cf. A000079, A023359, A151759, A347785, A347786, A347787.
%K A347784 nonn
%O A347784 0,3
%A A347784 _Ilya Gutkovskiy_, Sep 13 2021