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.

A118649 Row sums for A106597.

Original entry on oeis.org

1, 2, 5, 12, 30, 74, 184, 456, 1132, 2808, 6968, 17288, 42896, 106432, 264080, 655232, 1625760, 4033824, 10008704, 24833536, 61616832, 152883328, 379333248, 941199488, 2335298816, 5794330112, 14376858880, 35671780352, 88508618240
Offset: 0

Views

Author

Joshua Zucker, May 10 2006

Keywords

Comments

For n>=2, a(n)= Number of "stable LEGO walls" (i.e., walls in which seams don't match up from one level to the next) of width 7 and height n-1 when using bricks of length 2, 3, and 4. For example, there are a(2)=5 stable LEGO walls of height 1 and they are {[2,2,3],[2,3,2],[3,2,2],[3,4],[4,3]}. [Emilie Hogan, Oct 16 2009]
From Sean A. Irvine, Jun 05 2025: (Start)
Also, the number of walks of length n starting at vertex 2 in the graph:
1-2
/| |
0 | |
\| |
4-3. (End)

Crossrefs

Cf. A106597.

Programs

Formula

From R. J. Mathar, Nov 10 2009: (Start)
a(n) = 2*a(n-1) + 2*a(n-2) - 2*a(n-3).
G.f.: (1-x^2) / (1-2*x-2*x^2+2*x^3). (End)