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.

Previous Showing 11-14 of 14 results.

A151914 a(0)=0, a(1)=4; for n>=2, a(n) = (8/3)*(Sum_{i=1..n-1} 3^wt(i)) + 4, where wt() = A000120().

Original entry on oeis.org

0, 4, 12, 20, 44, 52, 76, 100, 172, 180, 204, 228, 300, 324, 396, 468, 684, 692, 716, 740, 812, 836, 908, 980, 1196, 1220, 1292, 1364, 1580, 1652, 1868, 2084, 2732, 2740, 2764, 2788, 2860, 2884, 2956, 3028, 3244, 3268, 3340, 3412, 3628, 3700, 3916, 4132, 4780
Offset: 0

Views

Author

N. J. A. Sloane, Aug 05 2009, Aug 06 2009

Keywords

Comments

Also, total number of "ON" "subcells" at n-th stage in two of the four wedges of the "Ulam-Warburton" two-dimensional cellular automaton of A147562, but including the central "ON" cell. Assume that every "ON" cell contains four "subcells". - Omar E. Pol, Feb 22 2015

Crossrefs

Formula

a(n) = A079315(2n).
For n>=2, a(n) = 8*A151920(n-2) + 4.
a(n) = 4*A151917(n). - Omar E. Pol, Feb 22 2015

A183126 Toothpick sequence with toothpicks connected by their endpoints.

Original entry on oeis.org

0, 1, 7, 23, 39, 79, 95, 135, 175, 287, 303, 343, 383, 495, 535, 647, 759, 1087, 1103, 1143, 1183, 1295, 1335, 1447, 1559, 1887, 1927, 2039, 2151, 2479, 2591, 2919, 3247, 4223, 4239, 4279, 4319, 4431, 4471, 4583, 4695
Offset: 0

Views

Author

Omar E. Pol, Mar 28 2011

Keywords

Comments

On the infinite square grid we start with no toothpicks.
At stage 1 we place a single toothpick of length 1.
Rule: each exposed endpoint of the toothpicks of the old generation must be touched by the endpoints of three toothpicks of new generation.
The sequence gives the number of toothpicks after n stages. A183127 gives the number of toothpicks added at the n-th stage.

Crossrefs

Programs

  • Mathematica
    a[n_] := 7 + 4 (n - 2 + Sum[3^DigitCount[k, 2, 1], {k, n - 2}]); a[0] = 0; a[1] = 1; Array[a, 41, 0] (* Michael De Vlieger, Nov 02 2022 *)

Formula

From Nathaniel Johnston, Apr 06 2011: (Start)
a(n) = 7 + 4*(n-2 + Sum_{k=1..n-2}3^A000120(k)), n >= 2.
a(n) = 7 + 4*(n-2 + 3*A151920(n-3)), n >= 3.
a(1 + 2^n) = 2^(n+2)+4^(n+1)-1, n >= 0.
(End)

Extensions

Terms a(0)-a(10) confirmed and terms a(11)-a(35) added by John W. Layman, Mar 30 2011
a(36)-a(40) from Nathaniel Johnston, Apr 06 2011

A183148 Toothpick sequence on the semi-infinite square grid with toothpicks connected by their endpoints.

Original entry on oeis.org

0, 1, 4, 13, 22, 43, 52, 73, 94, 151, 160, 181, 202, 259, 280, 337, 394, 559, 568, 589, 610, 667, 688, 745, 802, 967, 988, 1045, 1102, 1267, 1324, 1489, 1654, 2143, 2152, 2173, 2194, 2251, 2272, 2329, 2386, 2551, 2572, 2629
Offset: 0

Views

Author

Omar E. Pol, Mar 28 2011, Apr 03 2011

Keywords

Comments

On the semi-infinite square grid we start with no toothpicks.
At stage 1 we place a single toothpick of length 1 which has one of its endpoints on the straight line.
New generations of toothpicks are added according to these rules: each exposed endpoint of toothpicks of the old generation must be touched by the 3 endpoints of three toothpicks of the new generation. Effectively these three toothpicks look like a T-toothpick (see A160172). The straight line that delimits the square grid acts like an impenetrable "absorbing" boundary: toothpicks may touch this line with at most one of their endpoints; these endpoints are not "exposed."
The sequence gives the number of toothpicks in the toothpick structure after n-th stage. The first differences (A183149) give the number of toothpicks added at n-th stage.

Examples

			At stage 1 place an orthogonal toothpick with one of its endpoints on the infinite straight line, so a(1) = 1. There is only one exposed endpoint.
At stage 2 place 3 toothpicks such that the structure looks like a cross, so a(2) = 1+3 = 4. There are 3 exposed endpoints.
At stage 3 place 9 toothpicks, so a(3) = 4+9 = 13. There are 3 exposed endpoints.
At stage 4 place 9 toothpicks, so a(4) = 13+9 = 22. There are 7 exposed endpoints.
		

Crossrefs

Programs

  • Mathematica
    s[n_] := 1 + 4 Sum[3^(DigitCount[k, 2, 1] - 1), {k, n - 1}]; {0}~Join~Array[3 (# + (s[#] - 1)/2) + 1 &, 43, 0] (* Michael De Vlieger, Nov 02 2022 *)

Formula

a(n) = 3*A183060(n-1) + 1.

A255737 Total number of toothpicks in the toothpick structure of A153000 that are parallel to the initial toothpick, after n odd rounds.

Original entry on oeis.org

0, 1, 2, 5, 6, 9, 13, 21, 22, 25, 29, 37, 41, 50, 65, 85, 86, 89, 93, 101, 105, 114, 129, 149, 153, 162, 177, 198, 213, 241, 293, 341, 342, 345, 349, 357, 361, 370, 385, 405, 409, 418, 433, 454, 469, 497, 549, 597, 601, 610, 625, 646, 661, 689, 741, 790, 805, 833, 885, 941, 994, 1085, 1253, 1365, 1366, 1369
Offset: 0

Views

Author

Omar E. Pol, Mar 07 2015

Keywords

Comments

Total number of toothpicks in the first quadrant of the toothpick structure of A139250 that are parallel to the initial toothpick, after n odd rounds.
Written as an irregular triangle in which the row lengths are the terms of A011782 the right border gives A002450.

Crossrefs

Formula

a(n) = (A162795(n+1) - 1)/4.
Previous Showing 11-14 of 14 results.