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.

A382479 Number of palindromic binary strings of length n having no 6-runs of 1's.

Original entry on oeis.org

1, 2, 2, 4, 4, 8, 7, 15, 14, 30, 28, 60, 56, 119, 111, 236, 220, 468, 436, 928, 865, 1841, 1716, 3652, 3404, 7244, 6752, 14369, 13393, 28502, 26566, 56536, 52696, 112144, 104527, 222447, 207338, 441242, 411272, 875240, 815792, 1736111, 1618191, 3443720, 3209816, 6830904, 6366936
Offset: 0

Views

Author

R. J. Mathar, Mar 28 2025

Keywords

Crossrefs

Cf. A251707 (bisection), A251708 (bisection).
Cf. A123231 (2-runs), A001590 (3-runs), A382478 (4-runs), A251653 (5-runs).

Programs

  • Magma
    m:=50; R:=PowerSeriesRing(Integers(), m); Coefficients(R!(-(1+x+x^2)*(x^2-x+1)*(x^7+2*x+1)/(-1+x^2+x^4+x^6+x^8+x^10+x^12))); // Vincenzo Librandi, May 20 2025
  • Mathematica
    LinearRecurrence[{0,1,0,1,0,1,0,1,0,1,0,1},{1,2,2,4,4,8,7,15,14,30,28,60},50] (* Vincenzo Librandi, May 20 2025 *)

Formula

G.f.: -(1+x+x^2)*(x^2-x+1)*(x^7+2*x+1)/(-1+x^2+x^4+x^6+x^8+x^10+x^12).