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.

A342250 Number of ways to write n as an ordered sum of seven powers of 2.

Original entry on oeis.org

1, 7, 21, 42, 77, 126, 168, 218, 294, 357, 427, 546, 637, 672, 756, 840, 854, 966, 1134, 1218, 1302, 1408, 1484, 1554, 1680, 1827, 1995, 2002, 1925, 2016, 1988, 1904, 2142, 2352, 2282, 2352, 2534, 2520, 2604, 2954, 3080, 3276, 3262, 3234, 3150, 3248, 3164, 3402, 3640
Offset: 7

Views

Author

Ilya Gutkovskiy, Mar 07 2021

Keywords

Crossrefs

Programs

  • Maple
    N:= 100:
    S:= add(x^(2^j),j=0..ilog2(N-6))^7:
    [seq](coeff(S,x,j),j=7..N); # Robert Israel, Feb 26 2023
  • Mathematica
    nmax = 55; CoefficientList[Series[Sum[x^(2^k), {k, 0, Floor[Log[2, nmax]] + 1}]^7, {x, 0, nmax}], x] // Drop[#, 7] &

Formula

G.f.: ( Sum_{k>=0} x^(2^k) )^7.