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.

A183127 Number of toothpicks added at n-th stage to the toothpick structure of A183126.

Original entry on oeis.org

0, 1, 6, 16, 16, 40, 16, 40, 40, 112, 16, 40, 40, 112, 40, 112, 112, 328, 16, 40, 40, 112, 40, 112, 112, 328, 40, 112, 112, 328, 112, 328, 328, 976, 16, 40, 40, 112, 40, 112, 112, 328, 40, 112, 112, 328, 112, 328, 328, 976, 40, 112, 112, 328, 112, 328, 328, 976
Offset: 0

Views

Author

Omar E. Pol, Mar 28 2011

Keywords

Comments

Essentially the first differences of A183126.

Crossrefs

Programs

  • Mathematica
    a[n_] := 4*(1 + 3^DigitCount[n-2, 2, 1]); a[0] = 0; a[1] = 1; a[2] = 6; Array[a, 100, 0] (* Amiram Eldar, Aug 01 2023 *)

Formula

a(n) = 4*(1 + 3^A000120(n-2)), n >= 3. - Nathaniel Johnston, Apr 06 2011

Extensions

a(0)-a(10) confirmed and a(11)-a(35) added by John W. Layman, Mar 30 2011
a(36)-a(47) from Nathaniel Johnston, Apr 06 2011
More terms from Amiram Eldar, Aug 01 2023