login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A351022 Maximal permanent of an n X n symmetric Toeplitz matrix using the first n prime numbers. 8

%I #16 Oct 13 2022 06:49:14

%S 1,2,13,289,13814,1795898,265709592,70163924440,20610999526800,

%T 9097511018219760,6845834489829830144

%N Maximal permanent of an n X n symmetric Toeplitz matrix using the first n prime numbers.

%H Lucas A. Brown, <a href="https://github.com/lucasaugustus/oeis/blob/main/A351021%2B2.sage">A351021+2.sage</a>

%H Wikipedia, <a href="http://en.wikipedia.org/wiki/Toeplitz_matrix">Toeplitz Matrix</a>

%e a(3) = 289:

%e 3 5 2

%e 5 3 5

%e 2 5 3

%e a(4) = 13814:

%e 5 7 3 2

%e 7 5 7 3

%e 3 7 5 7

%e 2 3 7 5

%e a(5) = 1795898:

%e 5 11 7 3 2

%e 11 5 11 7 3

%e 7 11 5 11 7

%e 3 7 11 5 11

%e 2 3 7 11 5

%o (Python)

%o from itertools import permutations

%o from sympy import Matrix, prime

%o def A351022(n): return 1 if n == 0 else max(Matrix([p[i:0:-1]+p[0:n-i] for i in range(n)]).per() for p in permutations(prime(i) for i in range(1,n+1))) # _Chai Wah Wu_, Jan 31 2022

%Y Cf. A350940, A350956, A351021 (minimal).

%K nonn,hard,more

%O 0,2

%A _Stefano Spezia_, Jan 29 2022

%E a(9) and a(10) from _Lucas A. Brown_, Sep 04 2022

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 10 17:16 EDT 2024. Contains 375058 sequences. (Running on oeis4.)