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

A087983 Number of different values taken by permanent of n X n (0,1)-matrix.

Original entry on oeis.org

1, 2, 3, 6, 16, 51, 220, 1179, 7980
Offset: 0

Views

Author

Wouter Meeussen, Oct 29 2003

Keywords

Examples

			For a 4 X 4 matrix the 16 possible permanents and their multiplicieties are:
{{0, 27713}, {1, 13032}, {2, 10800}, {3, 4992}, {4, 4254}, {5, 1440}, {6, 1536}, {7, 576}, {8, 648}, {9, 24}, {10, 288}, {11, 96}, {12, 48}, {14, 72}, {18, 16}, {24, 1}}
		

Crossrefs

Extensions

a(6)=220 from Gordon F. Royle, Nov 05 2003
a(7) from Giovanni Resta, Mar 29 2006
a(0)=1 prepended by Alois P. Heinz, Apr 28 2020
a(8) from Minfeng Wang, Oct 04 2024

A089479 Triangle T(n,k) read by rows, where T(n,k) = number of times the permanent of a real n X n (0,1)-matrix takes the value k, for n >= 0, 0 <= k <= n!.

Original entry on oeis.org

0, 1, 1, 1, 9, 6, 1, 265, 150, 69, 18, 9, 0, 1, 27713, 13032, 10800, 4992, 4254, 1440, 1536, 576, 648, 24, 288, 96, 48, 0, 72, 0, 0, 0, 16, 0, 0, 0, 0, 0, 1, 10363361, 3513720, 4339440, 2626800, 3015450, 1451400, 1872800, 962400, 1295700, 425400, 873000
Offset: 0

Views

Author

Hugo Pfoertner, Nov 05 2003

Keywords

Comments

The last element of each row is 1, corresponding to the n X n "all 1" matrix with permanent = n!. The first 4 rows were provided by Wouter Meeussen. The 6th row was computed by Gordon F. Royle: 13906734081, 2722682160, 4513642920, 3177532800, 4466769300, 2396826720, 3710999520, 2065521600, 3253760550, 1468314000, 2641593600, 1350475200, 2210277600, 1034061120,... .

Examples

			Triangle begins:
    0,     1;
    1,     1;
    9,     6,     1;
  265,   150,    69,   18,    9,    0,    1;
27713, 13032, 10800, 4992, 4254, 1440, 1536, 576, 648, 24, 288,
                   96, 48, 0, 72, 0, 0, 0, 16, 0, 0, 0, 0, 0, 1;
  ...
		

Crossrefs

T(n,0) = A088672(n), T(n,1) = A089482(n). The n-th row of the table contains A087983(n) nonzero entries. For n>2 A089477(n) gives the position of the first zero entry in the n-th row.
Cf. A089480 (occurrence counts for permanents of non-singular (0,1)-matrices), A089481 (occurrence counts for permanents of singular (0,1)-matrices).
Cf. A000290, A038507 (row lengths), A002416 (row sums).

Formula

From Geoffrey Critzer, Dec 20 2023: (Start)
Sum_{k=1..n!} T(n,k) = A227414(n).
For n>2, T(n,n!-(n-1)!) = n^2, the number of matrices with exactly one 0 entry. (End)

Extensions

Edited by Alois P. Heinz, Dec 20 2023

A192892 Number of n X n binary matrices whose determinants equal their permanents.

Original entry on oeis.org

1, 2, 12, 343, 34997, 12515441, 15749457081, 72424550598849, 1282759836215548737
Offset: 0

Views

Author

John M. Campbell, Jul 11 2011

Keywords

Comments

Lower bounded by A088672.
Similar to A145675 and A145676.

Examples

			a(2) equals 12 because there are exactly twelve 2 X 2 binary matrices whose determinants equal their permanents; these matrices are:
|0 0|  |1 0|  |0 1|  |1 1|  |0 0|  |1 0|  |0 0|  |1 0|
|0 0|  |0 0|  |0 0|  |0 0|  |1 0|  |1 0|  |0 1|  |0 1|
.
|0 1|  |1 1|  |0 0|  |1 0|
|0 1|  |0 1|  |1 1|  |1 1|
		

Crossrefs

Programs

  • Mathematica
    Sum[KroneckerDelta[Det[Array[Mod[Floor[k/(2^(n*(#1 - 1) + #2 - 1))], 2] &, {n, n}]], Permanent[Array[Mod[Floor[k/(2^(n*(#1 - 1) + #2 - 1))], 2] &, {n, n}]]], {k, 0, (2^(n^2)) - 1}]
  • Python
    from itertools import product
    from sympy import Matrix
    def A192892(n): return 1 if n == 0 else sum(1 for m in product([0,1],repeat=n**2) if (lambda x:x.det()==x.per())(Matrix(n,n,m))) # Chai Wah Wu, Oct 01 2021

Formula

a(n) <= 2^(n^2), with equality for n<=1.

Extensions

a(0)=1 prepended and a(5)-a(8) from Christopher Culter, Apr 13 2016
Definition and example slightly modified by Harvey P. Dale, Feb 24 2017

A081473 Smallest positive even number not the permanent of a real singular (0,1)-matrix of order n.

Original entry on oeis.org

2, 4, 8, 16, 44, 194, 946
Offset: 1

Views

Author

Jaap Spies, Nov 25 2003

Keywords

Examples

			a(4) = 16, see permanent frequency table: (0,27713), (2,9360), (4,3582), (6,1248), (8,648), (10,288), (12,48), (14,72), (18,16), (24,1).
		

Crossrefs

Cf. A089477.

Extensions

a(7) from Max Alekseyev, Sep 03 2023
Showing 1-4 of 4 results.