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 479 results. Next

A139251 First differences of toothpicks numbers A139250.

Original entry on oeis.org

0, 1, 2, 4, 4, 4, 8, 12, 8, 4, 8, 12, 12, 16, 28, 32, 16, 4, 8, 12, 12, 16, 28, 32, 20, 16, 28, 36, 40, 60, 88, 80, 32, 4, 8, 12, 12, 16, 28, 32, 20, 16, 28, 36, 40, 60, 88, 80, 36, 16, 28, 36, 40, 60, 88, 84, 56, 60, 92, 112, 140, 208, 256, 192, 64, 4, 8, 12, 12, 16, 28, 32, 20, 16, 28
Offset: 0

Views

Author

Omar E. Pol, Apr 24 2008

Keywords

Comments

Number of toothpicks added to the toothpick structure at the n-th step (see A139250).
It appears that if n is equal to 1 plus a power of 2 with positive exponent then a(n) = 4. (For proof see the second Applegate link.)
It appears that there is a relation between this sequence, even superperfect numbers, Mersenne primes and even perfect numbers. Conjecture: The sum of the toothpicks added to the toothpick structure between the stage A061652(k) and the stage A000668(k) is equal to the k-th even perfect number, for k >= 1. For example: A000396(1) = 2+4 = 6. A000396(2) = 4+4+8+12 = 28. A000396(3) = 16+4+8+12+12+16+28+32+20+16+28+36+40+60+88+80 = 496. - Omar E. Pol, May 04 2009
Concerning this conjecture, see David Applegate's comments on the conjectures in A153006. - N. J. A. Sloane, May 14 2009
In the triangle (See example lines), the sum of row k is equal to A006516(k), for k >= 1. - Omar E. Pol, May 15 2009
Equals (1, 2, 2, 2, ...) convolved with A160762: (1, 0, 2, -2, 2, 2, 2, -6, ...). - Gary W. Adamson, May 25 2009
Convolved with the Jacobsthal sequence A001045 = A160704: (1, 3, 9, 19, 41, ...). - Gary W. Adamson, May 24 2009
It appears that the sums of two successive terms of A160552 give the positive terms of this sequence. - Omar E. Pol, Feb 19 2015
From Omar E. Pol, Feb 28 2019: (Start)
The study of the toothpick automaton on triangular grid (A296510), and other C.A. of the same family, reveals that some cellular automata that have recurrent periods can be represented in general by irregular triangles (of first differences) whose row lengths are the terms of A011782 multiplied by k, where k >= 1, is the length of an internal cycle. This internal cycle is called "word" of a cellular automaton. For example: A160121 has word "a", so k = 1. This sequence has word "ab", so k = 2. A296511 has word "abc", so k = 3. A299477 has word "abcb" so k = 4. A299479 has word "abcbc", so k = 5.
The structure of this triangle (with word "ab" and k = 2) for the nonzero terms is as follows:
a,b;
a,b;
a,b,a,b;
a,b,a,b,a,b,a,b;
a,b,a,b,a,b,a,b,a,b,a,b,a,b,a,b;
...
The row lengths are the terms of A011782 multiplied by 2, equaling the column 2 of the square array A296612: 2, 2, 4, 8, 16, ...
This arrangement has the property that the odd-indexed columns (a) contain numbers of the toothpicks that are parallel to initial toothpick, and the even-indexed columns (b) contain numbers of the toothpicks that are orthogonal to the initial toothpick (see the third triangle in the Example section).
An associated sound to the animation could be (tick, tock), (tick, tock), ..., the same as the ticking clock sound.
For further information about the "word" of a cellular automaton see A296612. (End)

Examples

			From _Omar E. Pol_, Dec 16 2008: (Start)
Triangle begins:
1;
2;
4,4;
4,8,12,8;
4,8,12,12,16,28,32,16;
4,8,12,12,16,28,32,20,16,28,36,40,60,88,20,32;
(End)
From _David Applegate_, Apr 29 2009: (Start)
The layout of the triangle was adjusted to reveal that the columns become constant as shown below:
. 0;
. 1;
. 2,4;
. 4,4,8,12;
. 8,4,8,12,12,16,28,32;
.16,4,8,12,12,16,28,32,20,16,28,36,40,60,88,80;
.32,4,8,12,12,16,28,32,20,16,28,36,40,60,88,80,36,16,28,36,40,60,88,84,56,...
...
The row sums give A006516.
(End)
From _Omar E. Pol_, Feb 28 2018: (Start)
Also the nonzero terms can write as an irregular triangle in which the row lengths are the terms of A011782 multiplied by 2 as shown below:
1,2;
4,4;
4,8,12,8;
4,8,12,12,16,28,32,16;
4,8,12,12,16,28,32,20,16,28,36,40,60,88,20,32;
...
(End)
		

Crossrefs

Equals 2*A152968 and 4*A152978 (if we ignore the first couple of terms).
See A147646 for the limiting behavior of the rows. See also A006516.
Row lengths in A011782.
Cf. A160121 (word "a"), A296511 (word "abc"), A299477 (word "abcb"), A299479 (word "abcbc").

Programs

  • Maple
    G := (x/(1+2*x)) * (1 + 2*x*mul(1+x^(2^k-1)+2*x^(2^k),k=0..20)); # N. J. A. Sloane, May 20 2009, Jun 05 2009
    # A139250 is T, A139251 is a.
    a:=[0,1,2,4]; T:=[0,1,3,7]; M:=10;
    for k from 1 to M do
    a:=[op(a),2^(k+1)];
    T:=[op(T),T[nops(T)]+a[nops(a)]];
    for j from 1 to 2^(k+1)-1 do
    a:=[op(a), 2*a[j+1]+a[j+2]];
    T:=[op(T),T[nops(T)]+a[nops(a)]];
    od: od: a; T;
    # N. J. A. Sloane, Dec 25 2009
  • Mathematica
    CoefficientList[Series[((x - x^2)/((1 - x) (1 + 2 x))) (1 + 2 x Product[1 + x^(2^k - 1) + 2 x^(2^k), {k, 0, 20}]), {x, 0, 60}], x] (* Vincenzo Librandi, Aug 22 2014 *)

Formula

Recurrence from N. J. A. Sloane, Jul 20 2009: a(0) = 0; a(2^i)=2^i for all i; otherwise write n=2^i+j, 0 < j < 2^i, then a(n) = 2a(j)+a(j+1). Proof: This is a simplification of the following recurrence of David Applegate. QED
Recurrence from David Applegate, Apr 29 2009: (Start)
Write n=2^(i+1)+j, where 0 <= j < 2^(i+1). Then, for n > 3:
for j=0, a(n) = 2*a(n-2^i) (= n = 2^(i+1))
for 1 <= j <= 2^i - 1, a(n) = a(n-2^i)
for j=2^i, a(n) = a(n-2^i)+4 (= 2^(i+1)+4)
for 2^i+1 <= j <= 2^(i+1)-2, a(n) = 2*a(n-2^i) + a(n-2^i+1)
for j=2^(i+1)-1, a(n) = 2*a(n-2^i) + a(n-2^i+1)-4
and a(n) = 2^(n-1) for n=1,2,3. (End)
G.f.: (x/(1+2*x)) * (1 + 2*x*Product_{k>=0} (1 + x^(2^k-1) + 2*x^(2^k))). - N. J. A. Sloane, May 20 2009, Jun 05 2009
With offset 0 (which would be more natural, but offset 1 is now entrenched): a(0) = 1, a(1) = 2; for i >= 1, a(2^i) = 4; otherwise write n = 2^i +j, 0 < j < 2^i, then a(n) = 2 * Sum_{ k >= 0 } 2^(wt(j+k)-k)*binomial(wt(j+k),k). - N. J. A. Sloane, Jun 03 2009
It appears that a(n) = A187221(n+1)/2. - Omar E. Pol, Mar 08 2011
It appears that a(n) = A160552(n-1) + A160552(n), n >= 1. - Omar E. Pol, Feb 18 2015

Extensions

Partially edited by Omar E. Pol, Feb 28 2019

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

Original entry on oeis.org

1, 5, 9, 21, 25, 37, 53, 85, 89, 101, 117, 149, 165, 201, 261, 341, 345, 357, 373, 405, 421, 457, 517, 597, 613, 649, 709, 793, 853, 965, 1173, 1365, 1369, 1381, 1397, 1429, 1445, 1481, 1541, 1621, 1637, 1673, 1733, 1817, 1877, 1989, 2197, 2389, 2405, 2441, 2501
Offset: 1

Views

Author

Omar E. Pol, Jul 14 2009

Keywords

Comments

Partial sums of A162793.
Also, total number of ON cells at stage n of the two-dimensional cellular automaton defined as follows: replace every "vertical" toothpick of length 2 with a centered unit square "ON" cell, so we have a cellular automaton which is similar to both A147562 and A169707 (this is the "one-step bishop" version). For the "one-step rook" version we use toothpicks of length sqrt(2), then rotate the structure 45 degrees and then replace every toothpick with a unit square "ON" cell. For the illustration of the sequence as a cellular automaton we now have three versions: the original version with toothpicks, the one-step rook version and one-step bishop version. Note that the last two versions refer to the standard ON cells in the same way as the two versions of A147562 and the two versions of A169707. It appears that the graph of this sequence lies between the graphs of A147562 and A169707. Also, it appears that this sequence shares infinitely many terms with both A147562 and A169707, see Formula section and Example section. - Omar E. Pol, Feb 20 2015
It appears that this is also a bisection (the odd terms) of A255747.

Examples

			From _Omar E. Pol_, Feb 18 2015: (Start)
Written as an irregular triangle T(j,k), k>=1, in which the row lengths are the terms of A011782:
    1;
    5;
    9, 21;
   25, 37, 53, 85;
   89,101,117,149,165,201,261,341;
  345,357,373,405,421,457,517,597,613,649,709,793,853,965,1173,1365;
  ...
The right border gives the positive terms of A002450.
(End)
It appears that T(j,k) = A147562(j,k) = A169707(j,k), if k is a power of 2, for example: it appears that the three mentioned triangles only share the elements of the columns 1, 2, 4, 8, 16, ... - _Omar E. Pol_, Feb 20 2015
		

Crossrefs

Formula

It appears that a(n) = A147562(n) = A169707(n), if n is a term of A048645, otherwise A147562(n) < a(n) < A169707(n). - Omar E. Pol, Feb 20 2015
It appears that a(n) = (A169707(2n) - 1)/4 = A255747(2n-1). - Omar E. Pol, Mar 07 2015
a(n) = 1 + 4*A255737(n-1). - Omar E. Pol, Mar 08 2015

Extensions

More terms from N. J. A. Sloane, Dec 28 2009

A160124 Total number of squares and rectangles after n stages in the toothpick structure of A139250.

Original entry on oeis.org

0, 0, 0, 2, 4, 4, 8, 18, 24, 24, 28, 36, 40, 44, 64, 94, 108, 108, 112, 120, 124, 128, 148, 176, 188, 192, 208, 228, 240, 268, 340, 418, 448, 448, 452, 460, 464, 468, 488, 516, 528, 532, 548, 568, 580, 608, 680, 756, 784, 788, 804, 824, 836, 864, 932, 1000, 1028
Offset: 0

Views

Author

Omar E. Pol, May 03 2009

Keywords

Comments

From Omar E. Pol, Sep 16 2012: (Start)
It appears that A147614(n)/a(n) converge to 2.
It appears that A139250(n)/a(n) converge to 3/2.
It appears that a(n)/A139252(n) converge to 2.
(End)
Also 0 together with the rows sums of A211008. - Omar E. Pol, Sep 24 2012

Crossrefs

Programs

  • Mathematica
    w [n_] := w[n] = Module[{k, i}, Which[n == 0, 0, n <= 3, n - 1, True, k = Floor[Log[2, n]]; i = n - 2^k; Which[i == 0, 2^(k - 1) - 1, i < 2^k - 2, 2 w[i] + w[i + 1], i == 2^k - 2, 2 w[i] + w[i + 1] + 1, True, 2 w[i] + w[i + 1] + 2]]];
    r[n_] := r[n] = Module[{k, i}, Which[n <= 2, 0, n <= 4, 2, True, k = Floor[Log[2, n]]; i = n - 2^k; Which[i == 0, 2^k - 2, i <= 2^k - 2, 4 w[i], True, 4 w[i] + 2]]];
    Join[{0}, Array[r, 100]] // Accumulate (* Jean-François Alcover, Apr 15 2020, after Maple code in A160125 *)

Formula

See A160125 for a recurrence. - N. J. A. Sloane, Feb 03 2010
a(n) = 1+2*A139250(n)-A147614(n), n>0 (Euler's formula). [From R. J. Mathar, Jan 22 2010]
a(n) = A187220(n+1) - A147614(n), n>0. - Omar E. Pol, Feb 15 2013

Extensions

More terms from R. J. Mathar, Jan 21 2010

A160164 Number of toothpicks after n-th stage in the I-toothpick structure of A139250.

Original entry on oeis.org

0, 2, 6, 14, 22, 30, 46, 70, 86, 94, 110, 134, 158, 190, 246, 310, 342, 350, 366, 390, 414, 446, 502, 566, 606, 638, 694, 766, 846, 966, 1142, 1302, 1366, 1374, 1390, 1414, 1438, 1470, 1526, 1590, 1630, 1662, 1718, 1790
Offset: 0

Views

Author

Omar E. Pol, Jun 01 2009

Keywords

Comments

From Omar E. Pol, Mar 12 2011, Mar 15 2011, Mar 22 2011, Mar 25 2011: (Start)
We define an "I-toothpick" to consist of two connected toothpicks, as a bar of length 2. An I-toothpick with length 2 is formed by two toothpicks with length 1.
Note that in the physical model of the toothpick structure of A139250 the midpoint of a wooden toothpick of the new generation is superimposed on the endpoint of a wooden toothpick of the old generation. However, in the physical model of the I-toothpick structure the wooden toothpicks are not overlapping because all wooden toothpicks are connected by their endpoints.
a(n) is also the number of components after n-th stage in the toothpick structure of A139250, assuming the toothpicks have length 2.
Also, gullwing sequence starting from two opposite "gulls" (as a reflected gull in flight) such that the distance between their midpoints is equal to 2 (See A187220). The sequence gives the number of gulls in the structure after n-th stage.
Note that there is a correspondence between the gullwing structure and the I-toothpick structure, for example: a pair of opposite gulls in horizontal position in the gullwing structure is equivalent to a vertical I-toothpick with length 4 in the I-toothpick structure, such that the midpoint of each horizontal gull coincides with the midpoint of each vertical toothpick of the I-toothpick.
It appears this is also the connection between A147562 (the Ulam-Warburton cellular automaton) and the toothpick sequence A139250. The behavior of the function is similar to A147562 but here the structure is more complex. See Plot 2 button: A147562 vs A160164. See also A147562 vs A187220.
Also, B-toothpick sequence starting from two opposite "bells" such that the distance between their midpoints is equal to 4 (See A187220). We define a "B-toothpick" to consist of four arcs of length Pi/2 forming a "bell" similar to the Gauss function. A bell-shaped toothpick or B-toothpick or simply "bell" is formed by four Q-toothpicks (see A187210). A B-toothpick has length 2*Pi. The sequence gives the number of bells in the structure after n stages.
We can see a correspondence between this structure and the I-toothpick structure of A139250. In this case, for example, a pair of opposite bells in horizontal position is equivalent to a vertical I-toothpick with length 8 in the I-toothpick structure, such that the midpoint of each horizontal bell coincides with the midpoint of each vertical toothpick of the I-toothpick.
Also, there is a fourth structure formed by isosceles right triangles, starting from two opposite triangles, since gulls or bells can be replaced by this type of triangles.
Note that the size of the toothpicks, gulls, bells and isosceles right triangles can be adjusted such that two or more of these structures can be overlaid.
(End)
The graph of this sequence is very close to the graphs of both A147562 and A169707 (see Plot 2). - Omar E. Pol, Feb 16 2015
It appears that a(n) is also the total number of ON cells after n-th stage in the half structure of the cellular automaton described in A169707 plus the total number of ON cells after n+1 stages in the half structure of the mentioned cellular automaton, without its central cell. See the illustration of the NW-NE-SE-SW version in A169707. - Omar E. Pol, Jul 26 2015
On the infinite Cairo pentagonal tiling consider the symmetric figure formed by two non-adjacent pentagons connected by a line segment joining two trivalent nodes. At stage 1 we start with one of these figures turned ON. a(n) is the number of ON cells in the structure after n-th stage, so a(1) = 2. The rule for the next stages is that the concave part of the figures of the new generation must be adjacent to the complementary convex part of the figures of the old generation. - Omar E. Pol, Mar 29 2018

Examples

			From _Omar E. Pol_, Aug 12 2013: (Start)
Illustration of initial terms:
.                                           _ _     _ _
.                     _ _ _ _   |_ _ _ _|    |_ _ _ _|
.       _ _   |_ _|    |_ _|    | |_ _| |   _|_|_ _|_|_
.   |    |    | | |    | | |      | | |        | | |
.   |   _|_   |_|_|    |_|_|      |_|_|     _ _|_|_|_ _
.             |   |   _|_ _|_   |_|_ _|_|    |_|_ _|_|
.                               |       |   _|_     _|_
.
.   2    6      14       22         30           46
.
(End)
		

Crossrefs

Programs

  • Mathematica
    CoefficientList[Series[(2 x / ((1 - x) (1 + 2 x))) (1 + 2 x Product[1 + x^(2^k - 1) + 2 x^(2^k), {k, 0, 20}]), {x, 0, 53}], x] (* Vincenzo Librandi, Feb 15 2015 *)

Formula

a(n) = 2*A139250(n).
a(n) = A187220(n+1) - 1. - Omar E. Pol, Mar 12 2011, Mar 22 2011
It appears that a(n) = A169707(n) + A170903(n), n >= 1. - Omar E. Pol, Feb 15 2015
It appears that a(n) = (A169707(n) - 1)/2 + (A169707(n+1) - 1)/2, n >= 1. - Omar E. Pol, Jul 24 2015

Extensions

Zero inserted, more terms and edited by Omar E. Pol, Mar 12 2011

A139252 Number of segments needed to draw the toothpick structure of A139250 as it is after n stages.

Original entry on oeis.org

0, 1, 3, 5, 7, 11, 15, 17, 19, 23, 27, 31, 39, 51, 59, 61, 63, 67, 71, 75, 83, 95, 103, 107, 115, 127, 139, 155, 183, 215, 231, 233, 235, 239, 243, 247, 255, 267, 275, 279, 287, 299, 311, 327, 355, 387, 403, 407, 415
Offset: 0

Views

Author

Omar E. Pol, May 17 2008

Keywords

Comments

Contribution from Omar E. Pol, Sep 16 2012 (Start):
It appears that A147614(n)/a(n) converge to 4.
It appears that A139250(n)/a(n) converge to 3.
It appears that A160124(n)/a(n) converge to 2.
(End)

Examples

			For n = 3, after three stages the toothpick structure of A139250 contains seven toothpicks (A139250(3) = 7), however the toothpick structure can be essentially represented by five segments, so a(3) = 5. - _Omar E. Pol_, Sep 16 2012
		

Crossrefs

Extensions

Terms after a(28) from Nathaniel Johnston, Mar 29 2011

A139253 Toothpick primes: primes in the toothpick sequence A139250.

Original entry on oeis.org

3, 7, 11, 23, 43, 47, 67, 79, 223, 251, 283, 347, 383, 571, 683, 719, 859, 1163, 1279, 1319, 1607, 1667, 1759, 1871, 2011, 2731, 2767, 2843, 2879, 3919, 4523, 4783, 4799, 4903, 5051, 6343, 6607, 7823, 8971, 9643, 11003, 11071, 11483, 11519, 12251, 12907
Offset: 1

Views

Author

Omar E. Pol, Apr 24 2008

Keywords

Comments

All Wagstaff primes A000979 are members of this sequence. - Omar E. Pol, Mar 12 2012

Examples

			a(25) = 2011 because 2011 is the number of toothpicks after 60 stages in the toothpick structure of A139250 and it is also a prime number A000040.
		

Crossrefs

Intersection of A000040 and A139250.

Programs

  • Mathematica
    toothpicks = With[{terms = 200}, CoefficientList[(x/((1-x)(1+2x)))(1 + 2x Product[1 + x^(2^k-1) + 2 x^(2^k), {k, 0, Log[2, terms] // Ceiling}]) + O[x]^terms, x]];
    Select[toothpicks, PrimeQ] (* Jean-François Alcover, Aug 05 2018 *)

Formula

A000040 INTERSECT A139250.

Extensions

More terms from Omar E. Pol, Dec 20 2008
Terms beyond 2731 from R. J. Mathar, Jan 21 2010

A147614 a(n) = number of grid points that are covered after n-th stage of A139250, assuming the toothpicks have length 2.

Original entry on oeis.org

0, 3, 7, 13, 19, 27, 39, 53, 63, 71, 83, 99, 119, 147, 183, 217, 235, 243, 255, 271, 291, 319, 355, 391, 419, 447, 487, 539, 607, 699, 803, 885, 919, 927, 939, 955, 975, 1003, 1039, 1075, 1103, 1131, 1171, 1223, 1291, 1383, 1487, 1571, 1615
Offset: 0

Views

Author

David Applegate, Apr 29 2009

Keywords

Comments

a(n) is also the number of "ON" cells at n-th stage in simple 2-dimensional cellular automaton whose virtual skeleton is a polyedge as the toothpick structure of A139250. [From Omar E. Pol, May 18 2009]
It appears that the number of grid points that are covered after n-th stage of A139250, assuming the toothpicks have length 2*k, is equal to (2*k-2) * A139250(n) + a(n), k>0. See formulas in A160420 and A160422. [From Omar E. Pol, Nov 15 2010]
More generally, it appears that a(n) is also the number of grid points that are covered by the "special points" of the toothpicks of A139250, after n-th stage, assuming the toothpicks have length 2*k, k>0 and that each toothpick has three special points: the midpoint and two endpoints.
Note that if k>1 then also there are 2*k-2 grid points that are covered by each toothpick, but these points are not considered for this sequence. [From Omar E. Pol, Nov 15 2010]
Contribution from Omar E. Pol, Sep 16 2012 (Start):
It appears that a(n)/A139250(n) converge to 4/3.
It appears that a(n)/A160124(n) converge to 2.
It appears that a(n)/A139252(n) converge to 4.
(End)

Crossrefs

Formula

Since A160124(n) = 1+2*A139250(n)-A147614(n), n>0 (see A160124), and we have recurrences for A160125 (hence A160124) and A139250, we have a recurrence for this sequence. - N. J. A. Sloane, Feb 02 2010
a(n) = A187220(n+1)-A160124(n), n>0. - Omar E. Pol, Feb 15 2013

A159786 Total area of all squares and rectangles after n-th stage in the toothpick structure of A139250, assuming the toothpicks have length 2.

Original entry on oeis.org

0, 0, 0, 4, 8, 8, 12, 32, 48, 48, 52, 64, 72, 76, 104, 176, 224, 224, 228, 240, 248, 252, 280, 336, 368, 372, 392, 424, 444, 480, 608, 864, 960, 960, 964, 976, 984, 988, 1016, 1072, 1104, 1108, 1128, 1160, 1180, 1216, 1344, 1536, 1632, 1636, 1656
Offset: 0

Views

Author

Omar E. Pol, Apr 28 2009

Keywords

Comments

Note that if n > 1 is a power of 2 then a(n) = n^2 - 2n.

Crossrefs

Formula

a(2^k) = A211012(k). - Omar E. Pol, Sep 25 2012

Extensions

More terms from Omar E. Pol, Sep 25 2012

A160420 Number of "ON" cells at n-th stage in simple 2-dimensional cellular automaton whose skeleton is the same network as the toothpick structure of A139250 but with toothpicks of length 4.

Original entry on oeis.org

0, 5, 13, 27, 41, 57, 85, 123, 149, 165, 193, 233, 277, 337, 429, 527, 577, 593, 621, 661, 705, 765, 857, 957, 1025, 1085, 1181, 1305, 1453, 1665, 1945, 2187, 2285, 2301, 2329, 2369, 2413, 2473, 2565, 2665, 2733, 2793, 2889, 3013, 3161, 3373, 3653, 3897, 4013
Offset: 0

Views

Author

Omar E. Pol, May 13 2009, May 18 2009

Keywords

Comments

a(n) is also the number of grid points that are covered after n-th stage by an polyedge as the toothpick structure of A139250, but with toothpicks of length 4.

Examples

			a(2)=13:
.o-o-o-o-o
.....|....
.....o....
.....|....
.....o....
.....|....
.....o....
.....|....
.o-o-o-o-o
		

Crossrefs

Formula

Conjecture: a(n) = A147614(n)+2*A139250(n). [From R. J. Mathar, Jan 22 2010]
The above conjecture is true: each toothpick covers exactly two more grid points than the corresponding toothpick in A147614.

Extensions

Definition revised by N. J. A. Sloane, Jan 02 2010.
Formula verified and more terms from Nathaniel Johnston, Nov 13 2010

A162796 Number of toothpicks in the toothpick structure A139250 that are orthogonal to the initial toothpick after n even rounds.

Original entry on oeis.org

0, 2, 6, 14, 22, 30, 42, 70, 86, 94, 106, 134, 154, 182, 222, 310, 342, 350, 362, 390, 410, 438, 478, 566, 602, 630, 670, 758, 814, 906, 1046, 1302, 1366, 1374, 1386, 1414, 1434, 1462, 1502, 1590, 1626, 1654, 1694, 1782, 1838, 1930, 2070, 2326, 2394, 2422, 2462
Offset: 0

Views

Author

Omar E. Pol, Jul 14 2009

Keywords

Comments

Also, partial sums of A162794.

Crossrefs

Programs

  • Maple
    a139251 := BFILETOLIST("b139251.txt") ; A162794 := proc(n) global a139251; op(2*n,a139251) ; end: A162796 := proc(n) add( A162794(k),k=1..n) ; end: seq(A162796(n),n=1..120) ; # R. J. Mathar, Sep 27 2009
  • Mathematica
    terms = 100;
    Cases[Import["https://oeis.org/A139251/b139251.txt", "Table"], {, }][[;; 2terms;; 2, 2]] // Accumulate (* Jean-François Alcover, Mar 24 2020 *)

Extensions

Extended by R. J. Mathar, Sep 27 2009
Showing 1-10 of 479 results. Next