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

A204241 Permanent of the n-th principal submatrix of A204158.

Original entry on oeis.org

1, 18, 457, 23672, 1894385, 222366990, 35787014405, 7577453436556, 2041650829418725, 682219727134076250, 276875111860035807025, 134154122874807259146080, 76495123111877275062902585, 50706144718387731766299555750
Offset: 1

Views

Author

Clark Kimberling, Jan 13 2012

Keywords

Crossrefs

Programs

  • Mathematica
    f[i_, j_] := Max[3 i - 2 j, 3 j - 2 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}]]     (* A204158 *)
    Table[Det[m[n]], {n, 1, 22}]  (* A204240 *)
    Permanent[m_] :=
      With[{a = Array[x, Length[m]]},
       Coefficient[Times @@ (m.a), Times @@ a]];
    Table[Permanent[m[n]], {n, 1, 14}]  (* A204241 *)
Showing 1-1 of 1 results.