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.

A204239 Permanent of the n-th principal submatrix of A204237.

Original entry on oeis.org

2, 33, 1112, 69908, 6960472, 1010678724, 201542214592, 52862893123648, 17646889124736128, 7306075691359891008, 3673978840975236778496, 2205779786212911066883328, 1558502652244224074264296960
Offset: 1

Views

Author

Clark Kimberling, Jan 13 2012

Keywords

Crossrefs

Programs

  • Mathematica
    f[i_, j_] := Max[3 i - j, 3 j - i];
    m[n_] := Table[f[i, j], {i, 1, n}, {j, 1, n}]
    TableForm[m[8]] (* 8x8 principal submatrix *)
    Flatten[Table[f[i, n + 1 - i],
      {n, 1, 12}, {i, 1, n}]]     (* A204237 *)
    Table[Det[m[n]], {n, 1, 22}]  (* A204238 *)
    Permanent[m_] :=
      With[{a = Array[x, Length[m]]},
       Coefficient[Times @@ (m.a), Times @@ a]];
    Table[Permanent[m[n]], {n, 1, 14}] (* A204239 *)