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

A005418 Number of (n-1)-bead black-white reversible strings; also binary grids; also row sums of Losanitsch's triangle A034851; also number of caterpillar graphs on n+2 vertices.

Original entry on oeis.org

1, 2, 3, 6, 10, 20, 36, 72, 136, 272, 528, 1056, 2080, 4160, 8256, 16512, 32896, 65792, 131328, 262656, 524800, 1049600, 2098176, 4196352, 8390656, 16781312, 33558528, 67117056, 134225920, 268451840, 536887296, 1073774592, 2147516416, 4295032832
Offset: 1

Views

Author

Keywords

Comments

Equivalently, walks on triangle, visiting n+2 vertices, so length n+1, n "corners"; the symmetry group is S3, reversing a walk does not count as different. Walks are not self-avoiding. - Colin Mallows
Slavik V. Jablan observes that this is also the number of rational knots and links with n+2 crossings (cf. A018240). See reference. [Corrected by Andrey Zabolotskiy, Jun 18 2020]
Number of bit strings of length (n-1), not counting strings which are the end-for-end reversal or the 0-for-1 reversal of each other as different. - Carl Witty (cwitty(AT)newtonlabs.com), Oct 27 2001
The formula given in page 1095 of the Balasubramanian reference can be used to derive this sequence. - Parthasarathy Nambi, May 14 2007
Also number of compositions of n up to direction, where a composition is considered equivalent to its reversal, see example. - Franklin T. Adams-Watters, Oct 24 2009
Number of normally non-isomorphic realizations of the associahedron of type I starting with dimension 2 in Ceballos et al. - Tom Copeland, Oct 19 2011
Number of fibonacenes with n+2 hexagons. See the Balaban and the Dobrynin references. - Emeric Deutsch, Apr 21 2013
From the point of view of binary grids, it is a (1,n)-rectangular grid. A225826 to A225834 are the numbers of binary pattern classes in the (m,n)-rectangular grid, 1 < m < 11. - Yosu Yurramendi, May 19 2013
Number of n-vertex difference graphs (bipartite 2K_2-free graphs) [Peled & Sun, Thm. 9]. - Falk Hüffner, Jan 10 2016
The offset should be 0, since the first row of A034851 is row 0. The name would then be: "Number of n bead...". - Daniel Forgues, Jul 26 2018
a(n) is the number of non-isomorphic generalized rigid ladders with n cells. A generalized rigid ladder with n cells is a graph with vertex set is the union of {u_0, u_1, ..., u_n} and {v_0, v_1, ..., v_n}, and for every 0 <= i <= n-1, the edges are of the form {u_i,u_i+1}, {v_i, v_i+1}, {u_i,v_i} and either {u_i,v_i+1} or {u_i+1,v_i}. - Christian Barrientos, Jul 29 2018
Also number of non-isomorphic stairs with n+1 cells. A stair is a snake polyomino allowing only two directions for adjacent cells: east and north. - Christian Barrientos and Sarah Minion, Jul 29 2018
From Robert A. Russell, Oct 28 2018: (Start)
There are two different unoriented row colorings using two colors that give us very similar results here, a difference of one in the offset. In an unoriented row, chiral pairs are counted as one.
a(n) is the number of color patterns (set partitions) of an unoriented row of length n using two or fewer colors (subsets). Two color patterns are equivalent if the colors are permutable.
a(n+1) is the number of ways to color an unoriented row of length n using two noninterchangeable colors (one need not use both colors).
See the examples below of these two different colorings. (End)
Also arises from the enumeration of types of based polyhedra with exactly two triangular faces [Rademacher]. - N. J. A. Sloane, Apr 24 2020
a(n) is the number of (unlabeled) 2-paths with n+4 vertices. (A 2-path with order n at least 4 can be constructed from a 3-clique by iteratively adding a new 2-leaf (vertex of degree 2) adjacent to an existing 2-clique containing an existing 2-leaf.) - Allan Bickle, Apr 05 2022
a(n) is the number of caterpillars with a perfect matching and order 2n+2. - Christian Barrientos, Sep 12 2023
a(n) is also the number of distinct planar embeddings of the (n+2)-centipede graph (up to at least n=8 and likely for all larger n). - Eric W. Weisstein, May 21 2024
a(n) is also the number of distinct planar embeddings of the 2 X (n+2) grid graph i.e., the (n+2)-ladder graph. - Eric W. Weisstein, May 21 2024
Dimension of the homogeneous component of degree n of the free Jordan algebra on two generators (or, in this case, the free special Jordan algebra on two generators). It follows from (Shirshov 1956, Cohn 1959). - Vladimir Dotsenko, Mar 29 2025

Examples

			a(5) = 10 because there are 16 compositions of 5 (shown as <vectors>) but only 10 equivalence classes (shown as {sets}): {<5>}, {<4,1>,<1,4>}, {<3,2>,<2,3>}, {<3,1,1>,<1,1,3>}, {<1,3,1>},{<2,2,1>,<1,2,2>}, {<2,1,2>}, {<2,1,1,1>,<1,1,1,2>}, {<1,2,1,1>,<1,1,2,1>}, {<1,1,1,1,1>}. - _Geoffrey Critzer_, Nov 02 2012
G.f. = x + 2*x^2 + 3*x^3 + 6*x^4 + 10*x^5 + 20*x^6 + 36*x^7 + 72*x^8 + ... - _Michael Somos_, Jun 24 2018
From _Robert A. Russell_, Oct 28 2018: (Start)
For a(5)=10, the 4 achiral patterns (set partitions) are AAAAA, AABAA, ABABA, and ABBBA. The 6 chiral pairs are AAAAB-ABBBB, AAABA-ABAAA, AAABB-AABBB, AABAB-ABABB, AABBA-ABBAA, and ABAAB-ABBAB. The colors are permutable.
For n=4 and a(n+1)=10, the 4 achiral colorings are AAAA, ABBA, BAAB, and BBBB. The 6 achiral pairs are AAAB-BAAA, AABA-ABAA, AABB-BBAA, ABAB-BABA, ABBB-BBBA, and BABB-BBAB. The colors are not permutable. (End)
		

References

  • K. Balasubramanian, "Combinatorial Enumeration of Chemical Isomers", Indian J. Chem., (1978) vol. 16B, pp. 1094-1096. See page 1095.
  • Wayne M. Dymacek, Steinhaus graphs. Proceedings of the Tenth Southeastern Conference on Combinatorics, Graph Theory and Computing (Florida Atlantic Univ., Boca Raton, Fla., 1979), pp. 399--412, Congress. Numer., XXIII-XXIV, Utilitas Math., Winnipeg, Man., 1979. MR0561065 (81f:05120)
  • Jablan S. and Sazdanovic R., LinKnot: Knot Theory by Computer, World Scientific Press, 2007.
  • Joseph S. Madachy: Madachy's Mathematical Recreations. New York: Dover Publications, Inc., 1979, p. 46 (first publ. by Charles Scribner's Sons, New York, 1966, under the title: Mathematics on Vacation)
  • M. R. Nester (1999). Mathematical investigations of some plant interaction designs. PhD Thesis. University of Queensland, Brisbane, Australia. [See A056391 for pdf file of Chap. 2.]
  • C. A. Pickover, Keys to Infinity, Wiley 1995, p. 75.
  • N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).

Crossrefs

Column 2 of A320750 (set partitions).
Cf. A131577 (oriented), A122746(n-3) (chiral), A016116 (achiral), for set partitions with up to two subsets.
Column 2 of A277504, offset by one (colors not permutable).
Cf. A000079 (oriented), A122746(n-2) (chiral), and A060546 (achiral), for a(n+1).

Programs

  • Haskell
    a005418 n = sum $ a034851_row (n - 1) -- Reinhard Zumkeller, Jan 14 2012
    
  • Maple
    A005418 := n->2^(n-2)+2^(floor(n/2)-1): seq(A005418(n), n=1..34);
  • Mathematica
    LinearRecurrence[{2,2,-4}, {1,2,3}, 40] (* or *) Table[2^(n-2)+2^(Floor[n/2]-1), {n,40}] (* Harvey P. Dale, Jan 18 2012 *)
  • PARI
    A005418(n)= 2^(n-2) + 2^(n\2-1); \\ Joerg Arndt, Sep 16 2013
    
  • Python
    def A005418(n): return 1 if n == 1 else 2**((m:= n//2)-1)*(2**(n-m-1)+1) # Chai Wah Wu, Feb 03 2022

Formula

a(n) = 2^(n-2) + 2^(floor(n/2) - 1).
G.f.: -x*(-1 + 3*x^2) / ( (2*x - 1)*(2*x^2 - 1) ). - Simon Plouffe in his 1992 dissertation
G.f.: x*(1+2*x)*(1-3*x^2)/((1-4*x^2)*(1-2*x^2)), not reduced. - Wolfdieter Lang, May 08 2001
a(n) = 6*a(n - 2) - 8*a(n - 4). a(2*n) = A063376(n - 1) = 2*a(2*n - 1); a(2*n + 1) = A007582(n). - Henry Bottomley, Jul 14 2001
a(n+2) = 2*a(n+1) - A077957(n) with a(1) = 1, a(2) = 2. - Yosu Yurramendi, Oct 24 2008
a(n) = 2*a(n-1) + 2*a(n-2) - 4*a(n-3). - Jaume Oliver Lafont, Dec 05 2008
Union of A007582 and A161168. Union of A007582 and A063376. - Jaroslav Krizek, Aug 14 2009
G.f.: G(0); G(k) = 1 + 2*x/(1 - x*(1+2^(k+1))/(x*(1+2^(k+1)) + (1+2^k)/G(k+1))); (continued fraction). - Sergei N. Gladkovskii, Dec 12 2011
a(2*n) = 2*a(2*n-1) and a(2*n+1) = a(2*n) + 4^(n-1) with a(1) = 1. - Johannes W. Meijer, Aug 26 2013
From Robert A. Russell, Oct 28 2018: (Start)
a(n) = (A131577(n) + A016116(n)) / 2 = A131577(n) - A122746(n-3) = A122746(n-3) + A016116(n), for set partitions with up to two subsets.
a(n+1) = (A000079(n) + A060546(n)) / 2 = A000079(n) - A122746(n-2) = A122746(n-2) + A060546(n), for two colors that do not permute.
a(n) = Sum_{j=0..k} (S2(n,j) + Ach(n,j)) / 2, where k=2 is the maximum number of colors, S2(n,k) is the Stirling subset number A008277, and Ach(n,k) = [n>=0 & n<2 & n==k] + [n>1]*(k*Ach(n-2,k) + Ach(n-2,k-1) + Ach(n-2,k-2)).
a(n+1) = (k^n + k^ceiling(n/2)) / 2, where k=2 is number of colors we can use. (End)
E.g.f.: (cosh(2*x) + 2*cosh(sqrt(2)*x) + sinh(2*x) + sqrt(2)*sinh(sqrt(2)*x) - 3)/4. - Stefano Spezia, Jun 01 2022

A226048 Irregular triangle read by rows: T(n,k) is the number of binary pattern classes in the (2,n)-rectangular grid with k '1's and (2n-k) '0's: two patterns are in same class if one of them can be obtained by a reflection or 180-degree rotation of the other.

Original entry on oeis.org

1, 1, 1, 1, 1, 1, 3, 1, 1, 1, 2, 6, 6, 6, 2, 1, 1, 2, 10, 14, 22, 14, 10, 2, 1, 1, 3, 15, 32, 60, 66, 60, 32, 15, 3, 1, 1, 3, 21, 55, 135, 198, 246, 198, 135, 55, 21, 3, 1, 1, 4, 28, 94, 266, 508, 777, 868, 777, 508, 266, 94, 28, 4, 1, 1, 4, 36
Offset: 0

Views

Author

Yosu Yurramendi, May 24 2013

Keywords

Comments

Sum of rows (see example) gives A225826.
This triangle is to A225826 as Losanitsch's triangle A034851 is to A005418.
By columns:
T(n,1) is A004526.
T(n,2) is A000217.
T(n,3) is A225972.
T(n,4) is A071239.
T(n,5) is A222715.
T(n,6) is A228581.
T(n,7) is A228582.
T(n,8) is A228583.
Also the number of equivalence classes of ways of placing k 1 X 1 tiles in an n X 2 rectangle under all symmetry operations of the rectangle. - Christopher Hunt Gribble, Feb 16 2014

Examples

			n\k 0 1  2   3   4   5   6   7   8   9  10 11 12 13 14
0   1
1   1 1  1
2   1 1  3   1   1
3   1 2  6   6   6   2   1
4   1 2 10  14  22  14  10   2   1
5   1 3 15  32  60  66  60  32  15   3   1
6   1 3 21  55 135 198 246 198 135  55  21  3  1
7   1 4 28  94 266 508 777 868 777 508 266 94 28  4  1
8   1 4 36 140...
...
The length of row n is 2*n+1, so n>= floor((k+1)/2).
		

Crossrefs

Programs

  • Maple
    A226048 := proc(n,k)
        if type(k,'even') then
            binomial(2*n,k) +3*binomial(n,k/2) ;
        else
            binomial(2*n,k) +(1-(-1)^n)*binomial(n-1,(k-1)/2) ;
        end if ;
        %/4 ;
    end proc:
    seq(seq(A226048(n,k),k=0..2*n),n=0..8) ; # R. J. Mathar, Jun 07 2020
  • Mathematica
    T[n_, k_] := If[EvenQ[k],
       Binomial[2n, k] + 3 Binomial[n, k/2],
       Binomial[2n, k] + (1-(-1)^n) Binomial[n-1, (k-1)/2]]/4;
    Table[T[n, k], {n, 0, 8}, { k, 0, 2n}] // Flatten (* Jean-François Alcover, May 05 2023 *)

Formula

If k even, 4*T(n,k) = binomial(2*n,k) +3*binomial(n,k/2). - Yosu Yurramendi, María Merino, Aug 25 2013
If k odd, 4*T(n,k) = 4*T(n,k) = binomial(2*n,k) +(1-(-1)^n)*binomial(n-1,(k-1)/2). - Yosu Yurramendi, María Merino, Aug 25 2013 [corrected by Christian Barrientos, Jun 14 2018]

Extensions

Definition corrected by María Merino, May 19 2017

A226290 Irregular triangle read by rows: T(n,k) is the number of binary pattern classes in the (3,n)-rectangular grid with k '1's and (3n-k) '0's: two patterns are in same class if one of them can be obtained by a reflection or 180-degree rotation of the other.

Original entry on oeis.org

1, 1, 2, 2, 1, 1, 2, 6, 6, 6, 2, 1, 1, 4, 13, 27, 39, 39, 27, 13, 4, 1, 1, 4, 22, 60, 139, 208, 252, 208, 139, 60, 22, 4, 1, 1, 6, 34, 129, 371, 794, 1310, 1675, 1675, 1310, 794, 371, 129, 34, 6, 1, 1, 6, 48, 218, 813, 2196, 4767, 8070, 11139, 12300, 11139, 8070, 4767, 2196, 813, 218, 48, 6, 1
Offset: 0

Views

Author

Yosu Yurramendi, Jun 02 2013

Keywords

Comments

Sum of rows (see example) gives A225827.
This triangle is to A225827 as Losanitsch's triangle A034851 is to A005418, and triangle A226048 to A225826.
By columns:
T(n,1) is A052928.
T(n,2) is A226292.
Also the number of equivalence classes of ways of placing k 1 X 1 tiles in an n X 3 rectangle under all symmetry operations of the rectangle. - Christopher Hunt Gribble, Apr 24 2015

Examples

			n\k 0 1  2   3   4    5    6    7     8     9    10   11   12
0   1
1   1 2  2   1
2   1 2  6   6   6    2    1
3   1 4 13  27  39   39   27   13     4     1
4   1 4 22  60 139  208  252  208   139    60    22    4    1
5   1 6 34 129 371  794 1310 1675  1675  1310   794  371  129    34   6   1
6   1 6 48 218 813 2196 4767 8070 11139 12300 11139 8070 4767  2196 813 218 48 6 1
...
The length of row n is 3*n+1.
		

Crossrefs

Programs

  • Mathematica
    T[n_, k_] := (Binomial[3n, k] + If[OddQ[n] || EvenQ[k], Binomial[Quotient[3 n, 2], Quotient[k, 2]], 0] + Sum[Binomial[n, k - 2i] Binomial[n, i] + Binomial[3 Mod[n, 2], k - 2i] Binomial[3 Quotient[n, 2], i], {i, 0, Quotient[k, 2]}])/4; Table[T[n, k], {n, 0, 6}, {k, 0, 3n}] // Flatten (* Jean-François Alcover, Oct 06 2017, after Andrew Howroyd *)
  • PARI
    T(n,k)={(binomial(3*n,k) + if(n%2==1||k%2==0,binomial(3*n\2,k\2),0) + sum(i=0,k\2, binomial(n,k-2*i) * binomial(1*n,i) + binomial(3*(n%2),k-2*i) * binomial(3*(n\2),i)))/4}
    for(n=0,6,for(k=0,3*n, print1(T(n,k), ", "));print) \\ Andrew Howroyd, May 30 2017

Extensions

Definition corrected by María Merino, May 19 2017

A225812 Irregular triangle read by rows: T(n,k) is the number of binary pattern classes in the (4,n)-rectangular grid with k '1's and (4n-k) '0's: two patterns are in same class if one of them can be obtained by a reflection or 180-degree rotation of the other.

Original entry on oeis.org

1, 1, 2, 4, 2, 1, 1, 2, 10, 14, 22, 14, 10, 2, 1, 1, 4, 22, 60, 139, 208, 252, 208, 139, 60, 22, 4, 1, 1, 4, 36, 140, 476, 1092, 2044, 2860, 3270, 2860, 2044, 1092, 476, 140, 36, 4, 1, 1, 6, 56, 294, 1253, 3912, 9808, 19464, 31706, 42116, 46448, 42116, 31706
Offset: 0

Views

Author

Keywords

Comments

The length of row n is 4*n+1.
Sum of rows (see example) gives A225828.
This triangle is to A225828 as Losanitsch's triangle A034851 is to A005418, triangle A226048 to A225826, and triangle A226290 to A225827.
Also the number of equivalence classes of ways of placing k 1 X 1 tiles in an n X 4 rectangle under all symmetry operations of the rectangle. - Christopher Hunt Gribble, Apr 24 2015

Examples

			Irregular triangle:
1
1 2  4   2   1
1 2 10  14  22   14   10    2    1
1 4 22  60 139  208  252  208  139   60   22    4   1
1 4 36 140 476 1092 2044 2860 3270 2860 2044 1092 476 140 36  4  1 ...
		

Crossrefs

Programs

  • Mathematica
    T[n_, k_] := (Binomial[4n, k] + If[EvenQ[k], 2 Binomial[2n, k/2], 0] + Sum[Binomial[4 Mod[n, 2], k - 2i] Binomial[4 Quotient[n, 2], i], {i, 0, Quotient[k, 2]}])/4; Table[T[n, k], {n, 0, 5}, {k, 0, 4n}] // Flatten (* Jean-François Alcover, Oct 06 2017, after Andrew Howroyd *)
  • PARI
    T(n,k)={(binomial(4*n,k) + if(k%2==0,2*binomial(2*n,k/2),0) + sum(i=0,k\2,binomial(4*(n%2),k-2*i)*binomial(4*(n\2),i)))/4}
    for(n=0,4,for(k=0,4*n, print1(T(n,k), ", "));print) \\ Andrew Howroyd, May 30 2017

Extensions

Definition corrected by María Merino, May 19 2017

A228022 Irregular triangle read by rows: T(n,k) is the number of binary pattern classes in the (5,n)-rectangular grid with k '1's and (5n-k) '0's: two patterns are in same class if one of them can be obtained by a reflection or 180-degree rotation of the other.

Original entry on oeis.org

1, 1, 3, 6, 6, 3, 1, 1, 3, 15, 32, 60, 66, 60, 32, 15, 3, 1, 1, 6, 34, 129, 371, 794, 1310, 1675, 1675, 1310, 794, 371, 129, 34, 6, 1, 1, 6, 56, 294, 1253, 3912, 9808, 19464, 31706, 42116, 46448, 42116, 31706, 19464, 9808, 3912, 1253, 294, 56, 6, 1
Offset: 0

Views

Author

Keywords

Comments

The length of row n is 5*n+1.
Sum of rows (see example) gives A225829.
This triangle is to A225828 as Losanitsch's triangle A034851 is to A005418, triangle A226048 to A225826, triangle A226290 to A225827, and triangle A225812 to A225828.
Also the number of equivalence classes of ways of placing k 1 X 1 tiles in an n X 5 rectangle under all symmetry operations of the rectangle. - Christopher Hunt Gribble, Apr 24 2015

Examples

			Irregular triangle:
1
1 3  6   6    3    1
1 3 15  32   60   66   60    32    15     3     1
1 6 34 129  371  794 1310  1675  1675  1310   794   371   129
  34 6 1
1 6 56 294 1253 3912 9808 19464 31706 42116 46448 42116 31706
  19464 9808 3912 1253 294 56 6 1
...
		

Crossrefs

Extensions

Definition corrected by María Merino, May 22 2017

A228165 Irregular triangle read by rows: T(n,k) is the number of binary pattern classes in the (6,n)-rectangular grid with k '1's and (6n-k) '0's: two patterns are in same class if one of them can be obtained by a reflection or 180-degree rotation of the other.

Original entry on oeis.org

1, 1, 3, 9, 10, 9, 3, 1, 1, 3, 21, 55, 135, 198, 246, 198, 135, 55, 21, 3, 1, 1, 6, 48, 218, 813, 2196, 4767, 8070, 11139, 12300, 11139, 8070, 4767, 2196, 813, 218, 48, 6, 1, 1, 6, 78, 506, 2706, 10626, 33814, 86526, 184239, 326876, 490908, 624036, 676732, 624036, 490908, 326876, 184239, 86526, 33814, 10626, 2706, 506, 78, 6, 1
Offset: 0

Views

Author

Keywords

Comments

The length of row n is 6*n+1.
Sum of rows (see example) gives A225830.
This triangle is to A225828 as Losanitsch's triangle A034851 is to A005418, triangle A226048 to A225826, triangle A226290 to A225827, triangle A225812 to A225828, and triangle A228022 to A225829.
Also the number of equivalence classes of ways of placing k 1 X 1 tiles in an n X 6 rectangle under all symmetry operations of the rectangle. - Christopher Hunt Gribble, Apr 24 2015

Examples

			Irregular triangle:
1
1 3  9 10   9    3    1
1 3 21 55 135  198  246  198   135    55    21    3    1
1 6 48 18 813 2196 4767 8070 11139 12300 11139 8070 4767 2196 813 218 48 6 1
		

Crossrefs

Extensions

Definition corrected by María Merino, May 22 2017

A228166 Irregular triangle read by rows: T(n,k) is the number of binary pattern classes in the (7,n)-rectangular grid with k '1's and (7n-k) '0's: two patterns are in same class if one of them can be obtained by a reflection or 180-degree rotation of the other.

Original entry on oeis.org

1, 1, 4, 12, 19, 19, 12, 4, 1, 1, 4, 28, 94, 266, 508, 777, 868, 777, 508, 266, 94, 28, 4, 1, 1, 8, 65, 363, 1574, 5231, 13826, 29454, 51408, 74130, 88900, 88900, 74130, 51408, 29454, 13826, 5231, 1574, 363, 65, 8, 1, 1, 8, 106, 832, 5199, 24648, 94524, 296296, 777997, 1727440, 3282774, 5369832, 7608483, 9362256, 10032648, 9362256
Offset: 0

Views

Author

Keywords

Comments

The length of row n is 7*n+1.
Sum of rows (see example) gives A225831.
This triangle is to A225828 as Losanitsch's triangle A034851 is to A005418, triangle A226048 to A225826, triangle A226290 to A225827, triangle A225812 to A225828, triangle A228022 to A225829, and triangle A228165 to A225830.
Also the number of equivalence classes of ways of placing k 1 X 1 tiles in an n X 7 rectangle under all symmetry operations of the rectangle. - Christopher Hunt Gribble, Apr 24 2015

Examples

			Irregular triangle:
1
1 4 12  19   19   12     4     1
1 4 28  94  266  508   777   868   777   508   266    94    28     4     1
1 8 65 363 1574 5231 13826 29454 51408 74130 88900 88900 74130 51408 29454 13826 5231 1574 363 65 8 1
		

Crossrefs

Extensions

Definition corrected by María Merino, May 22 2017

A228167 Irregular triangle read by rows: T(n,k) is the number of binary pattern classes in the (8,n)-rectangular grid with k '1's and (8n-k) '0's: two patterns are in the same class if one of them can be obtained by a reflection or 180-degree rotation of the other.

Original entry on oeis.org

1, 1, 4, 16, 28, 38, 28, 16, 4, 1, 1, 4, 36, 140, 476, 1092, 2044, 2860, 3270, 2860, 2044, 1092, 476, 140, 36, 4, 1, 1, 8, 84, 536, 2770, 10808, 34116, 87144, 185071, 328208, 492392, 625968, 678524, 625968, 492392, 328208, 185071, 87144, 34116, 10808, 2770, 536, 84, 8, 1
Offset: 0

Views

Author

Keywords

Comments

The length of row n is 8*n+1.
Sum of rows (see example) gives A225832.
This triangle is to A225828 as Losanitsch's triangle A034851 is to A005418, triangle A226048 to A225826, triangle A226290 to A225827, triangle A225812 to A225828, triangle A228022 to A225829, triangle A228165 to A225830, and triangle A228166 to A225831.
Also the number of equivalence classes of ways of placing k 1 X 1 tiles in an n X 8 rectangle under all symmetry operations of the rectangle. - Christopher Hunt Gribble, Feb 28 2014

Examples

			Irregular triangle:
1
1 4  16   28   38    28     16      4       1
1 4  36  140  476  1092   2044   2860    3270    2860     2044   1092 ...
1 8  84  536 2770 10808  34116  87144  185071  328208   492392 625968   678524   625968    492392   ...
		

Crossrefs

Extensions

Definition corrected by María Merino, May 22 2017

A228168 Irregular triangle read by rows: T(n,k) is the number of binary pattern classes in the (9,n)-rectangular grid with k '1's and (9n-k) '0's: two patterns are in same class if one of them can be obtained by a reflection or 180-degree rotation of the other.

Original entry on oeis.org

1, 1, 5, 20, 44, 66, 66, 44, 20, 5, 1, 1, 5, 45, 208, 792, 2156, 4704, 7984, 11034, 12190, 11034, 7984, 4704, 2156, 792, 208, 45, 5, 1, 1, 10, 106, 785, 4554, 20556, 74828, 223498, 557599, 1175574, 2114550, 3266415, 4354188, 5023464, 5023464, 4354188
Offset: 0

Views

Author

Keywords

Comments

The length of row n is 9*n+1.
Sum of rows (see example) gives A225832.
This triangle is to A225828 as Losanitsch's triangle A034851 is to A005418, triangle A226048 to A225826, triangle A226290 to A225827, triangle A225812 to A225828, triangle A228022 to A225829, triangle A228165 to A225830, triangle A228166 to A225831, and triangle A228167 to A225832.
Also the number of equivalence classes of ways of placing k 1 X 1 tiles in an n X 9 rectangle under all symmetry operations of the rectangle. - Christopher Hunt Gribble, Apr 27 2015

Examples

			Irregular triangle:
1
1  5  20  44   66    66    44     20      5       1
1  5  45 208  792  2156  4704   7984  11034   12190   11034    7984  ...
1 10 106 785 4554 20556 74828 223498 557599 1175574 2114550 3266415 4354188 5023464 5023464 4354188 3266415 2114550 1175574 ...
		

Crossrefs

Extensions

Definition corrected by María Merino, May 22 2017

A225910 Square array read by antidiagonals: a(m,n) is the number of binary pattern classes in the (m,n)-rectangular grid, two patterns are in the same class if one of them can be obtained by a reflection or 180-degree rotation of the other.

Original entry on oeis.org

1, 1, 1, 1, 2, 1, 1, 3, 3, 1, 1, 6, 7, 6, 1, 1, 10, 24, 24, 10, 1, 1, 20, 76, 168, 76, 20, 1, 1, 36, 288, 1120, 1120, 288, 36, 1, 1, 72, 1072, 8640, 16576, 8640, 1072, 72, 1, 1, 136, 4224, 66816, 263680, 263680, 66816, 4224, 136, 1, 1, 272, 16576, 529920, 4197376, 8407040, 4197376, 529920, 16576, 272, 1
Offset: 0

Views

Author

Yosu Yurramendi, May 20 2013

Keywords

Comments

In the square table A000012, A005418, and A225826 to A225834 are the first 11 rows (see example).
In the square table, m odd (see formula). The order of the recurrence equations is 4. Let it be (a1(m),a2(m),a3(m),a4(m)) the characterizing 4-plet of a(m). The sequence a1(m) belongs to A028403 (2^m+2^((m+1)/2)), -a2(m) to A147538 (2^m*(2^((m+1)/2)-1)) and a4(m) to A013824 (2^(2m)*2^((m+1)/2)). -a3(m) sequence formula is 2^m*(2^m+2^((m+1)/2)).
All the coefficients of x in generating functions from A225826 to A225834 belong to A113979.

Examples

			Array begins:
  1   1      1         1            1               1                  1 ...
  1   2      3         6           10              20                 36 ...
  1   3      7        24           76             288               1072 ...
  1   6     24       168         1120            8640              66816 ...
  1  10     76      1120        16576          263680            4197376 ...
  1  20    288      8640       263680         8407040          268517376 ...
  1  36   1072     66816      4197376       268517376        17180065792 ...
  1  72   4224    529920     67133440      8590786560      1099516870656 ...
  1 136  16576   4212736   1073790976    274882625536     70368756760576 ...
  1 272  66048  33632256  17180262400   8796137062400   4503599962914816 ...
  1 528 262912 268713984 274878693376 281475261923328 288230376957018112 ...
  ...
		

Crossrefs

Formula

m even and n even:
a(m,n) = 2^(m*n/2-2)*(2^(m*n/2) + 3);
m even and n odd:
a(m,n) = 2^(m*n/2-1)*(2^(m*n/2-1) + 2^(m/2-1) + 1);
m odd and n even:
a(m,n) = 2^(m*n/2-1)*(2^(m*n/2-1) + 2^(n/2-1) + 1);
m odd and n odd:
a(m,n) = 2^((m*n-1)/2-1)*(2^((m*n-1)/2) + 2^((m-1)/2) + 2^((n-1)/2) + 1).
m even:
a(m,n) = 2^m*a(m,n-1) + 2^m*a(m,n-2) - (2^m)^2*a(m,n-3) with n>2, a(m,0)=1, a(m,1)=a(1,m), a(m,2)=a(2,m).
m odd:
a(m,n) = 2^m*a(m,n-1) + 2^m*a(m,n-2) - (2^m)^2*a(m,n-3) - 2^(((m+1)/2)*n-3)*(2^((m-1)/2)-1) with n>2, a(m,0)=1, a(m,1)=a(1,m), a(m,2)=a(2,m).
Only a(1,n) and a(2,n) (A005418 and A225826) sequences are needed to define the others.
Showing 1-10 of 22 results. Next