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.

A350858 Minimal permanent of an n X n matrix whose elements are a permutation of the first n^2 prime numbers.

This page as a plain text file.
%I A350858 #22 Jan 21 2022 21:52:42
%S A350858 1,2,29,3664,1820642,2276752048,5697057180536
%N A350858 Minimal permanent of an n X n matrix whose elements are a permutation of the first n^2 prime numbers.
%e A350858 a(2) = 29:
%e A350858     2    3
%e A350858     5    7
%e A350858 a(3) = 3664:
%e A350858     2    3    5
%e A350858     7   13   19
%e A350858    11   17   23
%o A350858 (Python)
%o A350858 from itertools import permutations
%o A350858 from sympy import Matrix
%o A350858 def A350858(n): return 1 if n == 0 else min(Matrix(n,n,p).per() for p in permutations(prime(m) for m in range(1,n**2+1))) # _Chai Wah Wu_, Jan 21 2022
%Y A350858 Cf. A114533, A180128, A350565, A350859 (maximal).
%K A350858 nonn,hard,more
%O A350858 0,2
%A A350858 _Stefano Spezia_, Jan 19 2022
%E A350858 a(4)-a(6) from _Hugo Pfoertner_, Jan 21 2022