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.

Showing 1-10 of 90 results. Next

A147582 First differences of A147562.

Original entry on oeis.org

1, 4, 4, 12, 4, 12, 12, 36, 4, 12, 12, 36, 12, 36, 36, 108, 4, 12, 12, 36, 12, 36, 36, 108, 12, 36, 36, 108, 36, 108, 108, 324, 4, 12, 12, 36, 12, 36, 36, 108, 12, 36, 36, 108, 36, 108, 108, 324, 12, 36, 36, 108, 36, 108, 108, 324, 36, 108, 108, 324, 108, 324, 324, 972, 4
Offset: 1

Views

Author

N. J. A. Sloane, Apr 29 2009

Keywords

Comments

Bisection of A323651. - Omar E. Pol, Mar 04 2019

Examples

			From _Omar E. Pol_, Jun 14 2009: (Start)
When written as a triangle:
.1;
.4;
.4,12;
.4,12,12,36;
.4,12,12,36,12,36,36,108;
.4,12,12,36,12,36,36,108,12,36,36,108,36,108,108,324;
.4,12,12,36,12,36,36,108,12,36,36,108,36,108,108,324,12,36,36,108,36,108,...
The rows converge to A161411. (End)
		

References

  • D. Singmaster, On the cellular automaton of Ulam and Warburton, M500 Magazine of the Open University, #195 (December 2003), pp. 2-7.
  • S. Ulam, On some mathematical problems connected with patterns of growth of figures, pp. 215-224 of R. E. Bellman, ed., Mathematical Problems in the Biological Sciences, Proc. Sympos. Applied Math., Vol. 14, Amer. Math. Soc., 1962.

Crossrefs

Cf. A147562, A147610 (the sequence divided by 4), A048881, A000120.
Cf. A048883, A139251, A160121, A162349. [Omar E. Pol, Nov 02 2009]
Cf. A323651.

Programs

  • Maple
    A000120 := proc(n) local w,m,i; w := 0; m := n; while m > 0 do i := m mod 2; w := w+i; m := (m-i)/2; od; w; end: wt := A000120; A147582 := n-> if n <= 1 then n else 4*3^(wt(n-1)-1); fi; [seq(A147582(n),n=0..1000)]; # N. J. A. Sloane, Apr 07 2010
  • Mathematica
    s = Plus @@ Flatten@ # & /@ CellularAutomaton[{686, {2, {{0, 2, 0}, {2, 1, 2}, {0, 2, 0}}}, {1, 1}}, {{{1}}, 0}, 200]; f[n_] = If[n == 0, 1, s[[n + 1]] - s[[n]]]; Array[f, 120, 0] (* Michael De Vlieger, Apr 09 2015, after Nadia Heninger and N. J. A. Sloane at A147562 *)

Formula

a(1) = 1; for n > 1, a(n) = 4*3^(wt(n-1)-1) where wt() = A000120(). - R. J. Mathar, Apr 30 2009
This formula is (essentially) given by Singmaster. - N. J. A. Sloane, Aug 06 2009
G.f.: x + 4*x*(Product_{k >= 0} (1 + 3*x^(2^k)) - 1)/3. - N. J. A. Sloane, Jun 10 2009

Extensions

Extended by R. J. Mathar, Apr 30 2009

A255366 Total number of ON cells at stage n of two-dimensional cellular automaton defined by the rules of the "Ulam-Warburton" two-dimensional cellular automaton (A147562) for two of its wedges and defined by "Rule 750" using the von Neumann neighborhood (A169707) for the two other wedges.

Original entry on oeis.org

1, 5, 9, 21, 25, 37, 53, 85, 89, 101, 117, 149, 165, 205, 257, 341, 345, 357, 373, 405, 421, 461, 513, 597, 613, 653, 705, 797, 857, 989, 1141, 1365, 1369, 1381, 1397, 1429, 1445, 1485, 1537, 1621, 1637, 1677, 1729, 1821, 1881, 2013, 2165, 2389, 2405, 2445, 2497
Offset: 1

Views

Author

Omar E. Pol, Feb 21 2015

Keywords

Comments

First differs from A162795 at a(14), but it appears that then they share infinitely many terms. It appears that this is very close to A162795 rather than both A147562 and A169707.
The graphs of both A162795 and this sequence are intertwined.
Note that there are four main versions of this cellular automaton, depending on whether the wedges with the same rule are opposite or perpendicular and also depending on whether each mentioned version is represented by the "one-step rook" illustration or by the "one-step bishop" illustration. The four versions are represented by this sequence.
a(43) = 1729 is also the Hardy-Ramanujan number.

Examples

			a(43) = (1705 + 1753)/2 = 3458/2 = 1729.
		

Crossrefs

Formula

a(n) = (A147562(n) + A169707(n))/2.
It appears that a(n) = A147562(n) = A162795(n) = A169709(n), if n is a member of A048645, or in other words: if the binary weight of n is 1 or 2, but note that a(n) = A162795(n) for many other values of n.

A260239 Consider the 2^n values of A147562(i)/i^2 for 2^n <= i < 2^(n+1); a(n) = value of i where this quantity is minimized.

Original entry on oeis.org

1, 3, 5, 11, 23, 45, 91, 183, 365, 731, 1461, 2923, 5847, 11693, 23387, 46775, 93549, 187099, 374197, 748395, 1496791, 2993581, 5987163, 11974327, 23948653, 47897307, 95794615, 191589229, 383178459, 766356917, 1532713835, 3065427671
Offset: 0

Views

Author

Steven Finch, Jul 20 2015

Keywords

Comments

This sequence (for Ulam-Warburton) is analogous to A170927 (for toothpicks). Further, the lower limit of A147562(n)/n^2 evidently approaches twice the constant given in A195853.
Note that all values in this sequence are odd and that a(n)=2*a(n-1)+1 or a(n)=2*a(n-1)-1. - Robert Price, Aug 14 2015

References

  • D. Applegate, O. E. Pol and N. J. A. Sloane, The toothpick sequence and other sequences from cellular automata, Congressus Numerantium, v. 206 (2010) 157-191.

Crossrefs

A255264 Total number of ON cells in the "Ulam-Warburton" two-dimensional cellular automaton of A147562 after A048645(n) generations.

Original entry on oeis.org

1, 5, 9, 21, 25, 37, 85, 89, 101, 149, 341, 345, 357, 405, 597, 1365, 1369, 1381, 1429, 1621, 2389, 5461, 5465, 5477, 5525, 5717, 6485, 9557, 21845, 21849, 21861, 21909, 22101, 22869, 25941, 38229, 87381, 87385, 87397, 87445, 87637
Offset: 1

Views

Author

Omar E. Pol, Feb 19 2015

Keywords

Comments

It appears that these are the terms of A147562, A162795, A169707, A255366, A256250, A256260, whose indices have binary weight 1 or 2.

Examples

			Also, written as an irregular triangle in which row lengths are the terms of A028310 the sequence begins:
      1;
      5;
      9,    21;
     25,    37,    85;
     89,   101,   149,   341;
    345,   357,   405,   597,  1365;
   1369,  1381,  1429,  1621,  2389,  5461;
   5465,  5477,  5525,  5717,  6485,  9557, 21845;
  21849, 21861, 21909, 22101, 22869, 25941, 38229, 87381;
  ...
Right border gives the positive terms of A002450.
It appears that the second leading diagonal gives the odd terms of A206374.
		

Crossrefs

Formula

a(n) = A147562(A048645(n)).
Conjecture 1: a(n) = A162795(A048645(n)).
Conjecture 2: a(n) = A169707(A048645(n)).
Conjecture 3: a(n) = A255366(A048645(n)).
Conjecture 4: a(n) = A256250(A048645(n)).
Conjecture 5: a(n) = A256260(A048645(n)).
a(n) = A032925(A209492(n-1)) (conjectured). - Jon Maiga, Dec 17 2021

A261313 Decimal expansion of the lower limit of A147562(i)/i^2.

Original entry on oeis.org

9, 0, 2, 6, 1, 1, 6, 5, 6, 9, 0, 6, 2, 4, 4, 2, 7, 1, 7, 9, 2, 8, 0, 2, 6, 8, 4, 5, 6, 0, 8, 0, 0, 2, 4, 7, 0, 2, 0, 4, 0, 8, 2, 7, 6, 6, 5, 9, 9, 1, 6, 6, 0, 7, 9, 5, 1, 8, 2, 5, 8, 6, 7, 3, 9, 6, 6, 6, 2, 1, 5, 2, 5, 0, 4, 4, 3, 3, 8, 5, 2, 7, 6, 6, 3, 8, 3
Offset: 0

Views

Author

Robert Price, Aug 14 2015

Keywords

Comments

Evidently twice the lower limit of A139250(n)/n^2 and thus twice A195853.

Examples

			0.90261165..
		

References

  • D. Applegate, Omar E. Pol and N. J. A. Sloane, The Toothpick Sequence and Other Sequences from Cellular Automata, Congressus Numerantium, Vol. 206 (2010), 157-191

Crossrefs

Extensions

Name and first 10 terms suggested by Steven Finch, Jul 21 2015

A224513 Gray code variant of A147562.

Original entry on oeis.org

1, 5, 17, 21, 33, 69, 81, 85, 97, 133, 241, 277, 289, 325, 337, 341, 353, 389, 497, 533, 641, 965, 1073, 1109, 1121, 1157, 1265, 1301, 1313, 1349, 1361, 1365, 1377, 1413, 1521, 1557, 1665, 1989, 2097, 2133, 2241, 2565, 3537, 3861, 3969, 4293, 4401, 4437, 4449
Offset: 0

Views

Author

Gary W. Adamson, Apr 08 2013

Keywords

Comments

A147562 = the partial sums of A147582, derived from the binary weight of n, wt() = A000120. A224513 = the partial sums of A224512, derived from the Gray code weight of n (number of 1's in the representation of n), gt() = A005811.
2^n-th terms = A002450 =(1, 5, 21, 85, 341, ...); as in A147562.
At the date of this submission, it's unknown if the terms represent a simple CA rule for the numbers of ON cells.

Examples

			a(4) = 21 = (1 + 4 + 12 + 4), where (1, 4, 12, 4, ...) are the first four terms of A224512.
		

Crossrefs

Programs

  • PARI
    gt(n) = sum(kk=1, n, (-1)^((kk/2^valuation(kk, 2)-1)/2)); \\ from A005811.
    a(n) = if (n==0, 1, 1 + 4*sum(k=1, n, 3^(gt(k)-1))); \\ Michel Marcus, Apr 22 2013

Formula

For n>0, a(n) = 1 + 4 * Sum_{k=1..n} 3^(gt(k)-1) where gt() = A005811.
Partial sums of A224512.

A322662 a(n) is to A151723(n+1) as A319018(n+1) is to A147562(n+1), n >= 0.

Original entry on oeis.org

1, 13, 25, 109, 121, 193, 325, 493, 529, 661, 829, 1129, 1189, 1405, 1657, 2101, 2149, 2281, 2533, 3133, 3337, 3709, 4309, 4909, 5065, 5449, 5917, 6757, 6877, 7381, 7873, 8845, 8893, 9025, 9277, 9877, 10165, 10849, 11737
Offset: 0

Views

Author

Bradley Klee, Dec 22 2018

Keywords

Comments

Also the number of ON cells after n generations in a knight's-move, one-neighbor, accumulative cellular automaton on the hexagonal lattice A_2. Define v(m)=2*sqrt(3)*[cos(m*Pi/3+Pi/6), sin(m*Pi/3+Pi/6)], vL(m)=2*v(m)+v(m+1), vR(m)=2*v(m)+v(m-1). The set of "knight's moves", M={vL(m):m=1,2,..6} U {vR(m):m=1,2,..6}, follows from an analogy between Z^2 and A_2. At each generation all ON cells remain ON while an OFF cell turns ON if and only if it has exactly one M-neighbor in the previous generation.
Fractal Structure Theorem (FST). A pair of lattice vectors M={v1,v2} generate a wedge, W = {x*v1 + y*v2 : x>=0, y>=0}. Define W-Subsets T_k such that T_{k+1}= T_k U { 2^n*v1 + v : v in T_k } U {2^n*v2 + v : v in T_k}, T_0 = { [0,0] }. The limit set T_{oo} is a fractal, and acquires the topology of a binary tree when points are connected by either v1 or v2. As a tree, T_k has height 2^k-1, with 2^k vertices at maximum depth, along a line in the direction v1-v2. Assume a one-M-neighbor, accumulative cellular automaton on W, where all vertices in T_k are ON. In the next generation, the front F_k={2^k*v1+m*(v2-v1) : 0<=m<=2^k} contains only two ON cells, {2^k*v1,2^k*v2}. The spacing, 2^k-1, is wide enough to turn ON two copies of T_k, one starting from each of the two ON cells in F_k. Thus T_{k+1} is also ON. Whenever only T_0 is ON as an initial condition, by induction, T_{oo} is ultimately ON.
The FST applies here to 12 distinct wedges: with {v1,v2}={vL(m), vR(m)} or with (v1,v2)={vL(m), vR(m+1)}, and m=1,2,..6. The triangle inequality ensures that paths including other vectors cannot reach the front F_k by generation 2^k. However, other vectors do generate retrogressive growth, which turns ON many additional cells.
The FST applies to a wide range of Cellular Automata. Wolfram's one-dimensional rule 90 gives the most elementary example where T_{oo} determines every ON cell. The tree structure T_{oo} also occurs with two-dimensional, accumulative, one-neighbor C.A. such as A151723, A319018, A147562. Also try: M={[0,1],[0,-1],[2,1],[-2,-1]}.
According to S. Ulam (cf. Links), some version of the FST was already known to J. Holladay circa 1960.
The FST implies scale resonance between this cellular automaton and the arrowed half hexagon tiling (cf. Links).

Crossrefs

Hexagonal: A151723. Square: A319018, A147562. Tree: A006046, A267700, A038573. A322663.

Programs

  • Mathematica
    HexStar=2*Sqrt[3]*{Cos[#*Pi/3+Pi/6],Sin[#*Pi/3+Pi/6]}&/@Range[0,5];
    MoveSet=Join[2*HexStar+RotateRight[HexStar],2*HexStar+RotateLeft[HexStar]];
    Clear@Pts;Pts[0] = {{0, 0}};
    Pts[n_]:=Pts[n]=With[{pts=Pts[n-1]},Union[pts,Cases[Tally[Flatten[pts/.{x_,y_}:> Evaluate[{x,y}+#&/@MoveSet],1]],{x_,1}:>x]]];Length[Pts[#]]&/@Range[0,32]

A187223 Differences between A147562 (Ulam-Warburton cellular automaton) and A187220 (Gullwing sequence).

Original entry on oeis.org

0, 0, 2, 2, 6, 2, 6, 2, 14, 2, 6, 2, 14, 2, 6, -14, 30, 2, 6, 2, 14, 2, 6, -14, 30, 2, 6, -14, 22, -22, -34, -102, 62, 2, 6, 2, 14, 2, 6, -14, 30, 2, 6, -14, 22, -22, -34, -102, 62, 2, 6
Offset: 0

Views

Author

Omar E. Pol, Mar 11 2011

Keywords

Comments

Apparently the Gullwing sequence A187220 is the connection between the Ulam-Warburton C. A. (A147562) and the toothpick sequence A139250.
Note that the more complex structure is A187220, followed by A139250 and then A147562.
For another version which contains only positive terms and is more synchronous see the triangle A187564.

Examples

			Contribution from Omar E. Pol, Aug 25 2012 (Start):
Written as a triangle the sequence begins:
0,
0,
2,
2,6,
2,6,2,14,
2,6,2,14,2,6,-14,30,
2,6,2,14,2,6,-14,30,2,6,-14,22,-22,-34,-102,62,
2,6,2,14,2,6,-14,30,2,6,-14,22,-22,-34,-102,62,2,6,...
(End)
		

Crossrefs

Formula

a(n) = A147562(n) - A187220(n).

A187564 Differences between the Gullwing sequence A187220 and A147562 (Ulam-Warburton cellular automaton).

Original entry on oeis.org

1, 2, 2, 6, 2, 6, 10, 22, 2, 6, 10, 22, 10, 30, 50, 78, 2, 6, 10, 22, 10, 30, 50, 78, 10, 30, 50, 86, 58, 142, 210, 262, 2, 6, 10, 22, 10, 30, 50, 78, 10, 30, 50, 86, 58, 142, 210, 262, 10, 30
Offset: 1

Views

Author

Omar E. Pol, Mar 11 2011

Keywords

Comments

Apparently the Gullwing sequence A187220 is the connection between the Ulam-Warburton C. A. (A147562) and the toothpick sequence A139250.
Note that the more complex structure is A187220, followed by A139250 and then A147562.
For another version with minimal differences but asynchronous see A187223.

Examples

			If written as a triangle begins:
1,
2,
2,6,
2,6,10,22,
2,6,10,22,10,30,50,78,
2,6,10,22,10,30,50,78,10,30,50,86,58,142,210,262,
2,6,10,22,10,30,50,78,10,30,50,86,58,142,210,262,10,30...
		

Crossrefs

Formula

a(n) = A187220(n) - A147562(n-1).

A255166 Difference after n generations between the total number of single toothpicks in the I-toothpick structure of A160164 and the total number of ON cells in the "Ulam-Warburton" two-dimensional cellular automaton of A147562.

Original entry on oeis.org

0, 1, 1, 5, 1, 5, 9, 21, 1, 5, 9, 21, 9, 29, 49, 77, 1, 5, 9, 21, 9, 29, 49, 77, 9, 29, 49, 85, 57, 141, 209, 261, 1, 5, 9, 21, 9, 29, 49, 77, 9, 29, 49, 85, 57, 141, 209, 261, 9, 29, 49, 85, 57, 141, 209, 269, 57, 141, 217, 333, 289, 597, 785, 845, 1, 5, 9, 21, 9, 29, 49, 77, 9, 29, 49, 85, 57, 141, 209, 261, 9, 29, 49, 85
Offset: 0

Views

Author

Omar E. Pol, Feb 15 2015

Keywords

Examples

			Written as an irregular triangle in which the row lengths are the terms of A011782, the sequence begins:
0;
1;
1,5;
1,5,9,21;
1,5,9,21,9,29,49,77;
1,5,9,21,9,29,49,77,9,29,49,85,57,141,209,261;
1,5,9,21,9,29,49,77,9,29,49,85,57,141,209,261,9,29,49,85,57,141,209,269,57,141,217,333,289,597,785,845;
...
It appears that the right border gives [0, 1] together with A126645. The right border gives the largest difference between both C.A. in every period.
Also, written the positive terms as an irregular triangle in which the row lengths are the terms of A011782, the sequence begins:
1;
1;
5,1;
5,9,21,1;
5,9,21,9,29,49,77,1;
5,9,21,9,29,49,77,9,29,49,85,57,141,209,261,1;
5,9,21,9,29,49,77,9,29,49,85,57,141,209,261,9,29,49,85,57,141,209,269,57,141,217,333,289,597,785,845,1;
...
The right border gives A000012 according with the illustrations as shown below. In this triangle the right border gives the smallest difference between both C.A. in every period.
For example: after 8 generations the structures look like this:
.
.                                      O
.                                    O O O
.                                  O   O   O
.    _ _ _ _ _ _ _ _             O O O O O O O
.     |_ _|   |_ _|            O   O   O   O   O
.     | |_|_ _|_| |          O O O   O O O   O O O
      |_|_|_ _|_|_|        O   O   O   O   O   O   O
.     |   | | |   |      O O O O O O O O O O O O O O O
.     |_ _|_|_|_ _|        O   O   O   O   O   O   O
.     | |_|_ _|_| |          O O O   O O O   O O O
.     |_|_|   |_|_|            O   O   O   O   O
.    _|_ _|_ _|_ _|_             O O O O O O O
.                                  O   O   O
.     86 toothpicks                  O O O
.                                      O
.
.                                 85 ON cells
.
a(8) = 1 because the I-toothpick structure contains 86 single toothpicks and the "Ulam-Warburton" two-dimensional cellular automaton has 85 ON cells, so the difference of the number of elements between both structures is equal to 86 - 85 = 1.
		

Crossrefs

Formula

a(n) = A160164(n) - A147562(n).
Showing 1-10 of 90 results. Next