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.

A350859 Maximal 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 A350859 #24 Jan 21 2022 21:53:33
%S A350859 1,2,41,11868,12124850,25767879812,101120963518528
%N A350859 Maximal permanent of an n X n matrix whose elements are a permutation of the first n^2 prime numbers.
%e A350859 a(2) = 41:
%e A350859    5    2
%e A350859    3    7
%e A350859 a(3) = 11868:
%e A350859   23    5    3
%e A350859    2   13   19
%e A350859    7   17   11
%o A350859 (Python)
%o A350859 from itertools import permutations
%o A350859 from sympy import Matrix
%o A350859 def A350859(n): return 1 if n == 0 else max(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 A350859 Cf. A114533, A180128, A350566, A350858 (minimal).
%K A350859 nonn,hard,more
%O A350859 0,2
%A A350859 _Stefano Spezia_, Jan 19 2022
%E A350859 a(4)-a(6) from _Hugo Pfoertner_, Jan 21 2022