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.

A316316 Coordination sequence for tetravalent node in chamfered version of square grid.

Original entry on oeis.org

1, 4, 8, 8, 12, 20, 20, 20, 28, 32, 32, 36, 40, 44, 48, 48, 52, 60, 60, 60, 68, 72, 72, 76, 80, 84, 88, 88, 92, 100, 100, 100, 108, 112, 112, 116, 120, 124, 128, 128, 132, 140, 140, 140, 148, 152, 152, 156, 160, 164, 168, 168, 172, 180, 180, 180, 188, 192, 192
Offset: 0

Views

Author

N. J. A. Sloane, Jun 29 2018

Keywords

Crossrefs

See A316317 for trivalent node.
See A250120 for links to thousands of other coordination sequences.
Cf. A316357 (partial sums).

Programs

  • Mathematica
    Join[{1}, LinearRecurrence[{1, -1, 2, -1, 1, -1}, {4, 8, 8, 12, 20, 20}, 100]] (* Jean-François Alcover, Dec 13 2018 *)
  • PARI
    See Links section.

Formula

Apparently, a(n + 12) = a(n) + 40 for any n > 0. - Rémy Sigrist, Jun 30 2018
From N. J. A. Sloane, Jun 30 2018: This conjecture is true.
Theorem: a(n + 12) = a(n) + 40 for any n > 0.
The proof uses the Coloring Book Method described in the Goodman-Strauss - Sloane article. For details see the two links.
From Colin Barker, Dec 13 2018: (Start)
G.f.: (1 + 3*x + 5*x^2 + 2*x^3 + 5*x^4 + 3*x^5 + x^6) / ((1 - x)^2*(1 + x^2)*(1 + x + x^2)).
a(n) = a(n-1) - a(n-2) + 2*a(n-3) - a(n-4) + a(n-5) - a(n-6) for n>6.
(End)
a(n) = (2/9)*(15*n + 9*A056594(n-1) - 6*A102283(n)) for n > 0. - Stefano Spezia, Jun 12 2021

Extensions

More terms from Rémy Sigrist, Jun 30 2018