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 31-40 of 40 results.

A244306 Table T(n,k), n>=1, k>=1, read by antidiagonals: T(n,k) = number of equivalence classes of ways of placing two 1 X 1 tiles in an n X k rectangle under all symmetry operations of the rectangle.

Original entry on oeis.org

0, 1, 1, 2, 3, 2, 4, 6, 6, 4, 6, 10, 13, 10, 6, 9, 15, 22, 22, 15, 9, 12, 21, 34, 36, 34, 21, 12, 16, 28, 48, 56, 56, 48, 28, 16, 20, 36, 65, 78, 88, 78, 65, 36, 20, 25, 45, 84, 106, 123, 123, 106, 84, 45, 25, 30, 55, 106, 136, 168, 171, 168, 136, 106, 55, 30
Offset: 1

Views

Author

Keywords

Examples

			T(n,k) for 1<=n<=11 and 1<=k<=11 is:
    k  1    2    3    4    5    6    7    8    9   10   11 ...
.n
.1     0    1    2    4    6    9   12   16   20   25   30
.2     1    3    6   10   15   21   28   36   45   55   66
.3     2    6   13   22   34   48   65   84  106  130  157
.4     4   10   22   36   56   78  106  136  172  210  254
.5     6   15   34   56   88  123  168  216  274  335  406
.6     9   21   48   78  123  171  234  300  381  465  564
.7    12   28   65  106  168  234  321  412  524  640  777
.8    16   36   84  136  216  300  412  528  672  820  996
.9    20   45  106  172  274  381  524  672  856 1045 1270
10    25   55  130  210  335  465  640  820 1045 1275 1550
11    30   66  157  254  406  564  777  996 1270 1550 1885
		

Crossrefs

Formula

Empirically,
T(n,k) = (4*k^2*n^2 + 2*k^2 + 8*k*n + 2*n^2 - 4*k - 4*n - 1 - (2*k^2 - 4*k - 1)*(-1)^n - (2*n^2 - 4*n - 1)*(-1)^k - (-1)^k*(-1)^n)/32.
T(1,k) = A002620(k) = floor(k^2/4).
T(2,k) = A000217(k) = k*(k+1)/2.
= T(1,k) + T(1,k+1) = floor(k^2/4) + floor((k+1)^2/4).
T(3,k) = 2*A000217(k) + A024206(k-2)
= k*(k+1) + floor((k-1)^2/4) - 1.

Extensions

Terms corrected and extended by Christopher Hunt Gribble, Apr 02 2015

A248011 Table T(n,k), n>=1, k>=1, read by antidiagonals: T(n,k) = number of equivalence classes of ways of placing three 1 X 1 tiles in an n X k rectangle under all symmetry operations of the rectangle.

Original entry on oeis.org

0, 0, 0, 1, 1, 1, 2, 6, 6, 2, 6, 14, 27, 14, 6, 10, 32, 60, 60, 32, 10, 19, 55, 129, 140, 129, 55, 19, 28, 94, 218, 294, 294, 218, 94, 28, 44, 140, 363, 506, 608, 506, 363, 140, 44, 60, 208, 536, 832, 1038, 1038, 832, 536, 208, 60, 85, 285, 785, 1240, 1695
Offset: 1

Views

Author

Keywords

Examples

			T(n,k) for 1<=n<=9 and 1<=k<=9 is:
   k    1     2     3     4     5     6     7     8     9 ...
n
1       0     0     1     2     6    10    19    28    44
2       0     1     6    14    32    55    94   140   208
3       1     6    27    60   129   218   363   536   785
4       2    14    60   140   294   506   832  1240  1802
5       6    32   129   294   608  1038  1695  2516  3642
6      10    55   218   506  1038  1785  2902  4324  6242
7      19    94   363   832  1695  2902  4703  6992 10075
8      28   140   536  1240  2516  4324  6992 10416 14988
9      44   208   785  1802  3642  6242 10075 14988 21544
		

Crossrefs

Programs

  • Maple
    b := proc (n::integer, k::integer)::integer;
    (4*k^3*n^3 - 12*k^2*n^2 + 2*k^3 + 6*k^2*n + 6*k*n^2 + 2*n^3 - 12*k^2 + 11*k*n - 12*n^2 + 4*k + 4*n - 3 - (2*k^3 + 6*k^2*n - 12*k^2 + 3*k*n + 4*k - 3)*(-1)^n - (6*k*n^2 + 2*n^3 + 3*k*n - 12*n^2 + 4*n - 3)*(-1)^k + (3*k*n - 3)*(-1)^k*(-1)^n)*(1/96);
    end proc;
    f := seq(seq(b(n, k - n + 1), n = 1 .. k), k = 1 .. 140);

Formula

Empirically,
T(n,k) = (4*k^3*n^3 - 12*k^2*n^2 + 2*k^3 + 6*k^2*n + 6*k*n^2 + 2*n^3 - 12*k^2 + 11*k*n - 12*n^2 + 4*k + 4*n - 3 - (2*k^3 + 6*k^2*n - 12*k^2 + 3*k*n + 4*k - 3)*(-1)^n - (6*k*n^2 + 2*n^3 + 3*k*n - 12*n^2 + 4*n - 3)*(-1)^k + (3*k*n - 3)*(-1)^k*(-1)^n)/96;
T(1,k) = A005993(k-3) = (k-1)*(2*(k-2)*k + 3*(1-(-1)^k))/24;
T(2,k) = A225972(k) = (k-1)*(2*k*(2*k-1) + 3*(1-(-1)^k))/12;
T(2,k) - T(1,k) = A199771(k-1) and A212561(k) = (k-1)*(6*k^2 + 3*(1-(-1)^k))/24.

Extensions

Terms corrected and extended by Christopher Hunt Gribble, Apr 01 2015

A248017 Table T(n,k), n>=1, k>=1, read by antidiagonals: T(n,k) = number of equivalence classes of ways of placing five 1 X 1 tiles in an n X k rectangle under all symmetry operations of the rectangle.

Original entry on oeis.org

0, 0, 0, 0, 0, 0, 0, 2, 2, 0, 1, 14, 39, 14, 1, 3, 66, 208, 208, 66, 3, 12, 198, 794, 1092, 794, 198, 12, 28, 508, 2196, 3912, 3912, 2196, 508, 28, 66, 1092, 5231, 10626, 13462, 10626, 5231, 1092, 66, 126, 2156, 10808, 24648, 35787, 35787, 24648, 10808, 2156, 126
Offset: 1

Views

Author

Keywords

Examples

			T(n,k) for 1<=n<=8 and 1<=k<=8 is:
.  k   1      2      3      4      5      6      7       8 ...
n
1      0      0      0      0      1      3     12      28
2      0      0      2     14     66    198    508    1092
3      0      2     39    208    794   2196   5231   10808
4      0     14    208   1092   3912  10626  24648   50344
5      1     66    794   3912  13462  35787  81648  164980
6      3    198   2196  10626  35787  94248 212988  428076
7     12    508   5231  24648  81648 212988 477903  955856
8     28   1092  10808  50344 164980 428076 955856 1906128
		

Crossrefs

Programs

  • Maple
    b := proc (n::integer, k::integer)::integer;
    (4*k^5*n^5 - 40*k^4*n^4 + 140*k^3*n^3 + 2*k^5 + 20*k^4*n
       + 30*k^3*n^2 + 30*k^2*n^3 + 20*k*n^4 + 2*n^5 - 40*k^4
       - 120*k^3*n - 185*k^2*n^2 - 120*k*n^3 - 40*n^4 + 160*k^3
       - 20*k^2*n - 20*k*n^2 + 160*n^3 - 80*k^2 + 36*k*n - 80*n^2
       + 48*k + 48*n + 45
       + (- 30*k^2*n^3 - 20*k*n^4 - 2*n^5 - 15*k^2*n^2 + 120*k*n^3
          + 40*n^4 + 20*k*n^2 - 160*n^3 + 60*k*n + 80*n^2 - 48*n
          - 45)*(-1)^k
       + (- 2*k^5 - 20*k^4*n - 30*k^3*n^2 + 40*k^4 + 120*k^3*n
          - 15*k^2*n^2 - 160*k^3 + 20*k^2*n + 80*k^2 + 60*k*n
          - 48*k - 45)*(-1)^n
       + (15*k^2*n^2 - 60*k*n + 45)*(-1)^k*(-1)^n)/1920;
    end proc;
    seq(seq(b(n, k-n+1), n = 1 .. k), k = 1 .. 140);

Formula

Empirically,
T(n,k) = (4*k^5*n^5 - 40*k^4*n^4 + 140*k^3*n^3 + 2*k^5 + 20*k^4*n + 30*k^3*n^2 + 30*k^2*n^3 + 20*k*n^4 + 2*n^5 - 40*k^4 - 120*k^3*n - 185*k^2*n^2 - 120*k*n^3 - 40*n^4 + 160*k^3 - 20*k^2*n - 20*k*n^2 + 160*n^3 - 80*k^2 + 36*k*n - 80*n^2 + 48*k + 48*n + 45
+ (- 30*k^2*n^3 - 20*k*n^4 - 2*n^5 - 15*k^2*n^2 + 120*k*n^3 + 40*n^4 + 20*k*n^2 - 160*n^3 + 60*k*n + 80*n^2 - 48*n - 45)*(-1)^k
+ (- 2*k^5 - 20*k^4*n - 30*k^3*n^2 + 40*k^4 + 120*k^3*n - 15*k^2*n^2 - 160*k^3 + 20*k^2*n + 80*k^2 + 60*k*n - 48*k - 45)*(-1)^n
+ (15*k^2*n^2 - 60*k*n + 45)*(-1)^k*(-1)^n)/1920;
T(1,k) = A005995(k-5) = (k-3)*(k-1)*((k-4)*(k-2)*2*k + 15*(1-(-1)^k))/480;
T(2,k) = A222715(k) = (k-2)*(k-1)*((2*k-3)(2*k-1)*2*k + 15*(1-(-1)^k))/120.

Extensions

Terms corrected and extended by Christopher Hunt Gribble, Apr 16 2015

A248059 Table T(n,k), n>=1, k>=1, read by antidiagonals: T(n,k) = number of equivalence classes of ways of placing four 1 X 1 tiles in an n X k rectangle under all symmetry operations of the rectangle.

Original entry on oeis.org

0, 0, 0, 0, 1, 0, 1, 6, 6, 1, 3, 22, 39, 22, 3, 9, 60, 139, 139, 60, 9, 19, 135, 371, 476, 371, 135, 19, 38, 266, 813, 1253, 1253, 813, 266, 38, 66, 476, 1574, 2706, 3254, 2706, 1574, 476, 66, 110, 792, 2770, 5199, 6969, 6969, 5199, 2770, 792, 110, 170, 1245
Offset: 1

Views

Author

Keywords

Examples

			T(n,k) for 1<=n<=9 and 1<=k<=9 is:
   k    1      2      3      4      5      6      7      8       9 ...
n
1       0      0      0      1      3      9     19     38      66
2       0      1      6     22     60    135    266    476     792
3       0      6     39    139    371    813   1574   2770    4554
4       1     22    139    476   1253   2706   5199   9080   14857
5       3     60    371   1253   3254   6969  13294  23102   37637
6       9    135    813   2706   6969  14841  28197  48852   79401
7      19    266   1574   5199  13294  28197  53381  92266  149645
8      38    476   2770   9080  23102  48852  92266 159216  257878
9      66    792   4554  14857  37637  79401 149645 257878  417156
		

Crossrefs

Programs

  • Maple
    b := proc (n::integer, k::integer)::integer;
    (4*k^4*n^4 - 24*k^3*n^3 + 2*k^4 + 12*k^3*n + 80*k^2*n^2 + 12*k*n^3 + 2*n^4 - 24*k^3 - 24*k^2*n - 24*k*n^2 - 24*n^3 + 40*k^2 - 102*k*n + 40*n^2 + 9 + (- 2*k^4 - 12*k^3*n + 24*k^3 + 24*k^2*n - 40*k^2 + 6*k*n - 9)*(-1)^n + (- 12*k*n^3 - 2*n^4 + 24*k*n^2 + 24*n^3 + 6*k*n - 40*n^2 - 9)*(-1)^k + (- 6*k*n + 9)*(-1)^k*(-1)^n)/384
    end proc;
    seq(seq(b(n, k-n+1), n = 1 .. k), k = 1 .. 140);

Formula

Empirically,
T(n,k) = (4*k^4*n^4 - 24*k^3*n^3 + 2*k^4 + 12*k^3*n + 80*k^2*n^2 + 12*k*n^3 + 2*n^4 - 24*k^3 - 24*k^2*n - 24*k*n^2 - 24*n^3 + 40*k^2 - 102*k*n + 40*n^2 + 9 + (- 2*k^4 - 12*k^3*n + 24*k^3 + 24*k^2*n - 40*k^2 + 6*k*n - 9)*(-1)^n + (- 12*k*n^3 - 2*n^4 + 24*k*n^2 + 24*n^3 + 6*k*n - 40*n^2 - 9)*(-1)^k + (- 6*k*n + 9)*(-1)^k*(-1)^n)/384;
T(1,k) = sum(A005993(i-4),i=1,k)
= sum((i-2)*(2*(i-3)*(i-1) + 3*(1-(-1)^(i-1)))/24, i=1,k);
T(2,k) = A071239(k-1) = (k-1)*k*((k-1)^2+2)/6.

Extensions

Terms corrected and extended by Christopher Hunt Gribble, Apr 06 2015

A222715 The number of binary pattern classes in the (2,n)-rectangular grid with 5 '1's and (2n-5) '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

2, 14, 66, 198, 508, 1092, 2156, 3876, 6606, 10626, 16478, 24570, 35672, 50344, 69624, 94248, 125562, 164502, 212762, 271502, 342804, 428076, 529828, 649740, 790790, 954954, 1145718, 1365378, 1617968, 1906128, 2234480, 2606032, 3026034, 3497886, 4027506
Offset: 3

Views

Author

Yosu Yurramendi, May 29 2013

Keywords

Crossrefs

Cf. A226048.

Programs

  • Magma
    m:=30; R:=PowerSeriesRing(Integers(), m); Coefficients(R!(2*x^3*(1+4*x+12*x^2+8*x^3+7*x^4)/((1+x)^3*(1-x)^6)));
    
  • Magma
    [(1/4)*(Binomial(2*n,5) + 2*Binomial(n-1,2)*(1/2)*(1-(-1)^n)): n in [3..40]]; // Vincenzo Librandi, Sep 04 2013
  • Mathematica
    Table[(n - 2) (n - 1) ((8 n^3 - 16 n^2 + 6 n - 15 (-1)^n + 15)/120), {n, 3, 40}] (* Bruno Berselli, May 30 2013 *)
    LinearRecurrence[{3, 0, -8, 6, 6, -8, 0, 3, -1}, {2, 14, 66, 198, 508, 1092, 2156, 3876, 6606}, 50] (* T. D. Noe, Jun 14 2013 *)
    CoefficientList[Series[2 (1 + 4 x + 12 x^2 + 8 x^3 + 7 x^4) / ((1 + x)^3 (1 - x)^6), {x, 0, 40}], x] (* Vincenzo Librandi, Sep 04 2013 *)
  • R
    a <- vector()
        for(n in 1:40) a[n] <- (1/4)*(choose(2*(n+2),5) + 2*choose(n+1,2)*(1/2)*(1-(-1)^n))
        a  [Yosu Yurramendi and María Merino, Aug 21 2013]
    

Formula

a(n) = 6*a(n-1)-15*a(n-2)+20*a(n-3)-15*a(n-4)+6*a(n-5)-a(n-6) -4*(2*n^2-22*n+63)*(-1)^n, with n>8, a(3)=2, a(4)=14, a(5)=66, a(6)=198, a(7)=508, a(8)=1092.
From Bruno Berselli, May 29 2013: (Start)
G.f.: 2*x^3*(1+4*x+12*x^2+8*x^3+7*x^4)/((1+x)^3*(1-x)^6).
a(n) = 3*a(n-1) -8*a(n-3) +6*a(n-4) +6*a(n-5) -8*a(n-6) +3*a(n-8) -a(n-9), with n>11.
a(n) = (n-2)*(n-1)*(8*n^3-16*n^2+6*n-15*(-1)^n+15)/120. (End)
a(n) = (1/4)*(binomial(2*n,5) + 2*binomial(n-1,2)*(1/2)*(1-(-1)^n)). [Yosu Yurramendi and María Merino, Aug 21 2013]

A225972 The number of binary pattern classes in the (2,n)-rectangular grid with 3 '1's and (2n-3) '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

0, 0, 1, 6, 14, 32, 55, 94, 140, 208, 285, 390, 506, 656, 819, 1022, 1240, 1504, 1785, 2118, 2470, 2880, 3311, 3806, 4324, 4912, 5525, 6214, 6930, 7728, 8555, 9470, 10416, 11456, 12529, 13702, 14910, 16224, 17575, 19038, 20540, 22160, 23821, 25606, 27434, 29392
Offset: 0

Views

Author

Yosu Yurramendi, May 26 2013

Keywords

Comments

Also the edge count of the n X n black bishop graph. - Eric W. Weisstein, Jun 26 2017

Crossrefs

Cf. A289179 (edge count of white bishop graph).

Programs

  • Magma
    [(1/4)*(Binomial(2*(n-1),3)+2*Binomial(n-2,1)*(1/2)*(1+(-1)^n)): n in [1..50]]; // Vincenzo Librandi, Sep 04 2013
  • Maple
    A225972:=n->(n-1)*(4*n^2-2*n-3*(-1)^n+3)/12; seq(A225972(n), n=0..40); # Wesley Ivan Hurt, Mar 02 2014
  • Mathematica
    Table[(n - 1)*(4*n^2 - 2*n - 3*(-1)^n + 3)/12, {n, 0, 40}] (* Bruno Berselli, May 29 2013 *)
    CoefficientList[Series[x^2 (1 + 4 x + x^2 + 2 x^3) / ((1 + x)^2 (1 - x)^4), {x, 0, 50}], x] (* Vincenzo Librandi, Sep 04 2013 *)
    LinearRecurrence[{2, 1, -4, 1, 2, -1}, {0, 1, 6, 14, 32, 55}, 20] (* Eric W. Weisstein, Jun 27 2017 *)
  • R
    a <- vector()
        for(n in 0:40) a[n] <- (1/4)*(choose(2*(n-1),3) + 2*choose(n-2,1)*(1/2)*(1+(-1)^n))
        a  # Yosu Yurramendi and María Merino, Aug 21 2013
    

Formula

a(n) = A000330(n) + A142150(n) = (n-1)*(4*n^2 - 2*n - 3*(-1)^n + 3)/12.
a(n) = 2*a(n-1) + a(n-2) - 4*a(n-3) + a(n-4) + 2*a(n-5) - a(n-6) with n > 5, a(0)=0, a(1)=0, a(2)=1, a(3)=6, a(4)=14, a(5)=32.
a(n) = 4*a(n-1) - 6*a(n-2) + 4*a(n-3) - a(n-4) + 4*(n-4)*(-1)^n with n > 3, a(0)=0, a(1)=0, a(2)=1, a(3)=6.
G.f.: x^2*(1 + 4*x + x^2 + 2*x^3)/((1+x)^2*(1-x)^4). - Bruno Berselli, May 29 2013
a(n) = (1/4)*(binomial(2*(n-1),3) + 2*binomial(n-2,1)*(1/2)*(1+(-1)^n)). - Yosu Yurramendi and María Merino, Aug 21 2013
a(n) = A005993(n-2) + A199771(n-1), n >= 2. - Christopher Hunt Gribble, Mar 02 2014

Extensions

More terms from Vincenzo Librandi, Sep 04 2013

A228581 The number of binary pattern classes in the (2,n)-rectangular grid with 6 '1's and (2n-6) '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

0, 0, 0, 1, 10, 60, 246, 777, 2044, 4704, 9780, 18777, 33814, 57772, 94458, 148785, 226968, 336736, 487560, 690897, 960450, 1312444, 1765918, 2343033, 3069396, 3974400, 5091580, 6458985, 8119566, 10121580, 12519010, 15372001, 18747312, 22718784, 27367824, 32783905
Offset: 0

Views

Author

Keywords

Comments

Column 6 of A226048.

Crossrefs

Cf. A226048.

Programs

  • Magma
    [(1/4)*(Binomial(2*n,6) + 3*Binomial(n,3)): n in [0..50]]; // Vincenzo Librandi, Sep 04 2013
  • Mathematica
    CoefficientList[Series[x^3 (1 + 3 x + 11 x^2 + x^3) / (1 - x)^7, {x, 0, 50}], x] (* Vincenzo Librandi, Sep 04 2013 *)
  • R
    a <- 0
        for(n in 1:40) a[n+1] <- (1/4)*(choose(2*n, 6) + 3*choose(n,3))     a
    

Formula

a(n) = (1/4)*( binomial(2*n,6) + 3*binomial(n,3) ).
a(n) = 7*a(n-1) -21*a(n-2) +35*a(n-3) -35*a(n-4) +21*a(n-5) -7*a(n-6) +a(n-7) with n>6, a(0)=a(1)=a(2)=0, a(3)=1, a(4)=10, a(5)=60, a(6)=246.
G.f.: x^3*(1+3*x+11*x^2+x^3)/(1-x)^7. [Bruno Berselli, Aug 27 2013]

Extensions

More terms from Vincenzo Librandi, Sep 04 2013

A228582 The number of binary pattern classes in the (2,n)-rectangular grid with 7 '1's and (2n-7) '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

0, 0, 0, 0, 2, 32, 198, 868, 2860, 7984, 19380, 42696, 86526, 164560, 296010, 509132, 841464, 1345184, 2086920, 3155472, 4660890, 6745152, 9580142, 13381940, 18407268, 24972112, 33446140, 44276440, 57979350, 75170160, 96551730
Offset: 0

Views

Author

Keywords

Comments

Column 7 of A226048.

Crossrefs

Cf. A226048.

Programs

  • Mathematica
    CoefficientList[Series[2 x^4 (2 x^7 + 7 x^6 + 48 x^5 + 67 x^4 + 82 x^3 + 37 x^2 + 12 x + 1) / ((x + 1)^4 (x - 1)^8), {x, 0, 40}], x] (* Vincenzo Librandi, Aug 27 2013 *)
  • R
    a <- 0
        for(n in 1:40) a[n+1] <- (1/4)*(choose(2*(n+2), 7) + 2*choose(n+1, 3)*(1/2)*(1-(-1)^n))
        a

Formula

a(n) = (1/4)*(binomial(2*n, 7) + 2*binomial(n-1, 3)*(1/2)*(1-(-1)^n)) = (n-3)*(n-2)*(n-1)(2*n*(2n-5)*(2*n-3)*(2*n-1)-105*(-1)^n+105)/2520.
G.f.: 2*x^4*(2*x^7 +7*x^6 +48*x^5 +67*x^4 +82*x^3 +37*x^2 +12*x +1) / ((x+1)^4*(x-1)^8). [Bruno Berselli, Aug 27 2013]

Extensions

Formula adapted to the offset from Bruno Berselli, Aug 27 2013

A228583 The number of binary pattern classes in the (2,n)-rectangular grid with 8 '1's and (2n-8) '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

0, 0, 0, 0, 1, 15, 135, 777, 3270, 11034, 31650, 80190, 184239, 391105, 777777, 1464255, 2630940, 4540836, 7567380, 12228780, 19229805, 29512035, 44313643, 65239845, 94345218, 134229150, 188145750, 260129610, 355138875, 479217141, 639675765, 845298235, 1106568312
Offset: 0

Views

Author

Keywords

Comments

Column 8 of A226048.

Crossrefs

Cf. A226048.

Programs

  • Magma
    [(1/4)*(Binomial(2*n,8) + 3*Binomial(n,4)): n in [0..50]]; // Vincenzo Librandi, Sep 04 2013
  • Mathematica
    CoefficientList[Series[- x^4 (3 x^4 + 18 x^3 + 36 x^2 + 6 x + 1) / (x - 1)^9, {x, 0, 50}], x] (* Vincenzo Librandi, Sep 04 2013 *)
  • R
    a <- 0
        for(n in 1:40) a[n+1] <- (1/4)*(choose(2*n,8) + 3*choose(n,4))
        a
    

Formula

a(n) = (1/4)*(binomial(2*n,8) + 3*binomial(n,4)).
a(n) = 9*a(n-1)-36*a(n-2)+84*a(n-3)-126*a(n-4)+126*a(n-5)-84*a(n-6)+36*a(n-7)-9*a(n-8)+a(n-9) n>8, with a(0)=0, a(1)=0, a(2)=0, a(3)=1, a(4)=15, a(5)=135, a(6)=777, a(7)=3270, a(8)=11034.
G.f.: -x^4*(3*x^4+18*x^3+36*x^2+6*x+1) / (x-1)^9. - Colin Barker, Sep 01 2013

Extensions

More terms from Vincenzo Librandi, Sep 04 2013

A257523 Number T(n,k) of equivalence classes of ways of placing k 4 X 4 tiles in an n X 7 rectangle under all symmetry operations of the rectangle; irregular triangle T(n,k), n>=4, 0<=k<=floor(n/4), read by rows.

Original entry on oeis.org

1, 2, 1, 2, 1, 4, 1, 4, 1, 6, 6, 1, 6, 14, 1, 8, 28, 1, 8, 44, 1, 10, 66, 20, 1, 10, 90, 64, 1, 12, 120, 168, 1, 12, 152, 320, 1, 14, 190, 572, 72, 1, 14, 230, 896, 328, 1, 16, 276, 1360, 984, 1, 16, 324, 1920, 2264, 1, 18, 378, 2660, 4528, 272
Offset: 4

Views

Author

Keywords

Examples

			The first 9 rows of T(n,k) are:
.\ k    0      1      2     3
n
4       1      2
5       1      2
6       1      4
7       1      4
8       1      6      6
9       1      6     14
10      1      8     28
11      1      8     44
12      1     10     66    20
13      1     10     90    64
14      1     12    120   168
15      1     12    152   320
		

Crossrefs

Programs

  • PARI
    T(n,k)={(4^k*binomial(n-3*k,k) + ((n%2==0||k%2==0)+(k%2==0)+(k==0)) * 4^((k+1)\2)*binomial((n-3*k-(k%2)-(n%2))/2,k\2))/4}
    for(n=4,15,for(k=0,(n\4), print1(T(n,k), ", "));print) \\ Andrew Howroyd, May 29 2017

Extensions

Terms a(24) and beyond by Andrew Howroyd, May 29 2017
Previous Showing 31-40 of 40 results.