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-3 of 3 results.

A061594 Number of ways to place 3n nonattacking kings on a 6 X 2n chessboard.

Original entry on oeis.org

1, 32, 408, 3600, 26040, 166368, 976640, 5392704, 28432288, 144605184, 714611200, 3449705600, 16333065216, 76081271168, 349524164224, 1586790140800, 7130144209024, 31752978219904, 140298397039232, 615604372260736
Offset: 0

Views

Author

Antonio G. Astudillo (afg_astudillo(AT)hotmail.com), May 22 2001

Keywords

Crossrefs

Column k=3 of A350819.
Equals 231*A002697(n+1) - 2608*A000302(n) - 384*A000244(n) + 1103*A007070(n-1) + 780*A006012(n+1) + (n+1)*(17*A048580(n) + 12*A007070(n+1)).

Programs

  • PARI
    a(n)=polcoeff((1+13*x-52*x^2-20*x^3+60*x^4-20*x^5)/((1-3*x)*(1-4*x)^2*(1-4*x+2*x^2)^2)+x*O(x^n),n)

Formula

G.f.: (1+13x-52x^2-20x^3+60x^4-20x^5)/((1-3x)(1-4x)^2(1-4x+2x^2)^2).
Explicit formula: (231n-2377)*4^n - 384*3^n + (1953*sqrt(2)/2+1381+(35*sqrt(2)+99/2)*n)*(2+sqrt(2))^n + (1381-1953*sqrt(2)/2+(99/2-35*sqrt(2))*n)*(2-sqrt(2))^n. - Vaclav Kotesovec, Feb 06 2010

Extensions

Corrected data by Vincenzo Librandi, Oct 12 2011

A163606 a(n) = ((3 + 2*sqrt(2))*(3 + sqrt(2))^n + (3 - 2*sqrt(2))*(3 - sqrt(2))^n)/2.

Original entry on oeis.org

3, 13, 57, 251, 1107, 4885, 21561, 95171, 420099, 1854397, 8185689, 36133355, 159500307, 704068357, 3107907993, 13718969459, 60558460803, 267317978605, 1179998646009, 5208766025819, 22992605632851, 101494271616373
Offset: 0

Views

Author

Al Hakanson (hawkuu(AT)gmail.com), Aug 01 2009

Keywords

Comments

Binomial transform of A048580. Inverse binomial transform of A163604.
For n >= 1, a(n-1) is the number of generalized compositions of n when there are 2^(i-1)+1 different types of i, (i=1,2,...). - Milan Janjic, Sep 24 2010

Crossrefs

Programs

  • Magma
    Z:= PolynomialRing(Integers()); N:=NumberField(x^2-2); S:=[ ((3+2*r)*(3+r)^n+(3-2*r)*(3-r)^n)/2: n in [0..21] ]; [ Integers()!S[j]: j in [1..#S] ]; // Klaus Brockhaus, Aug 07 2009
    
  • Mathematica
    LinearRecurrence[{6,-7},{3,13},40] (* Harvey P. Dale, Dec 24 2011 *)
  • PARI
    x='x+O('x^50); Vec((3-5*x)/(1-6*x+7*x^2)) \\ G. C. Greubel, Jul 29 2017

Formula

a(n) = 6*a(n-1) - 7*a(n-2) for n > 1; a(0) = 3, a(1) = 13.
G.f.: (3-5*x)/(1-6*x+7*x^2).
E.g.f.: exp(3*x)*( 3*cosh(sqrt(2)*x) + 2*sqrt(2)*sinh(sqrt(2)*x) ). - G. C. Greubel, Jul 29 2017

Extensions

Edited and extended beyond a(5) by Klaus Brockhaus, Aug 07 2009

A163978 a(n) = 2*a(n-2) for n > 2; a(1) = 3, a(2) = 4.

Original entry on oeis.org

3, 4, 6, 8, 12, 16, 24, 32, 48, 64, 96, 128, 192, 256, 384, 512, 768, 1024, 1536, 2048, 3072, 4096, 6144, 8192, 12288, 16384, 24576, 32768, 49152, 65536, 98304, 131072, 196608, 262144, 393216, 524288, 786432, 1048576, 1572864, 2097152, 3145728
Offset: 1

Views

Author

Klaus Brockhaus, Aug 07 2009

Keywords

Comments

Interleaving of A007283 and A000079 without initial terms 1 and 2.
Equals A029744 without first two terms. Agrees with A145751 for all terms listed there (up to 65536).
Binomial transform is A078057 without initial 1, second binomial transform is A048580, third binomial transform is A163606, fourth binomial transform is A163604, fifth binomial transform is A163605.
a(n) is the number of vertices of the (n-1)-iterated line digraph L^{n-1}(G) of the digraph G(=L^0(G)) with vertices u,v,w and arcs u->v, v->u, v->w, w->v. - Miquel A. Fiol, Jun 08 2024

Crossrefs

Programs

  • Magma
    [ n le 2 select n+2 else 2*Self(n-2): n in [1..41] ];
    
  • Mathematica
    LinearRecurrence[{0,2}, {3,4}, 52] (* or *) Table[(1/2)*(5-(-1)^n )*2^((2*n-1+(-1)^n)/4), {n,50}] (* G. C. Greubel, Aug 24 2017 *)
  • PARI
    my(x='x+O('x^50)); Vec(x*(3+4*x)/(1-2*x^2)) \\ G. C. Greubel, Aug 24 2017
    
  • SageMath
    [(2+(n%2))*2^((n-(n%2))//2) for n in range(1,41)] # G. C. Greubel, Jun 13 2024

Formula

a(n) = A027383(n-1) + 2.
a(n) = A052955(n) + 1 for n >= 1.
a(n) = (1/2)*(5 - (-1)^n)*2^((2*n - 1 + (-1)^n)/4).
G.f.: x*(3+4*x)/(1-2*x^2).
a(n) = A090989(n-1).
E.g.f.: (1/2)*(4*cosh(sqrt(2)*x) + 3*sqrt(2)*sinh(sqrt(2)*x) - 4). - G. C. Greubel, Aug 24 2017
a(n) = A063759(n), n >= 1. - R. J. Mathar, Jan 25 2023
Showing 1-3 of 3 results.