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.
%I A349108 #9 Nov 09 2021 04:42:26 %S A349108 1,1,2,66,292,41100,314736,108446352,1267665984,829171609920, %T A349108 13696865136000,14718069991152000,325942368613966080, %U A349108 524455030610743115520,14983681934750599526400,33855616071967479729408000,1211736134642288777186918400,3668200144503587527675580006400 %N A349108 a(n) is the permanent of the n X n matrix A(n) that is defined as A[i,j,n] = (n mod 2) + abs((n + 1)/2 - i) + abs((n + 1)/2 - j). %C A349108 A(n) is an n X n matrix whose elements start from 1 at the center and get higher, the more they are close to the corners (see the examples). %C A349108 det(A(1)) = 1 and det(A(n)) = 0 for n > 1. %H A349108 Vaclav Kotesovec, <a href="/A349108/b349108.txt">Table of n, a(n) for n = 0..36</a> %F A349108 a(2*n) = A349107(2*n). %e A349108 For n = 5 the matrix A(5) is %e A349108 5, 4, 3, 4, 5 %e A349108 4, 3, 2, 3, 4 %e A349108 3, 2, 1, 2, 3 %e A349108 4, 3, 2, 3, 4 %e A349108 5, 4, 3, 4, 5 %e A349108 with permanent a(5) = 41100. %e A349108 For n = 6 the matrix A(6) is %e A349108 5, 4, 3, 3, 4, 5 %e A349108 4, 3, 2, 2, 3, 4 %e A349108 3, 2, 1, 1, 2, 3 %e A349108 3, 2, 1, 1, 2, 3 %e A349108 4, 3, 2, 2, 3, 4 %e A349108 5, 4, 3, 3, 4, 5 %e A349108 with permanent a(6) = 314736. %t A349108 A[i_, j_, n_] := Mod[n,2]+ Abs[(n + 1)/2 - j] +Abs[(n + 1)/2 - i]; a[n_]:=Permanent[Table[A[i,j,n],{i,n},{j,n}]]; Join[{1},Array[a,17]] %o A349108 (PARI) a(n) = matpermanent(matrix(n, n, i, j, (n%2) + abs((n + 1)/2 - i) + abs((n + 1)/2 - j))); \\ _Michel Marcus_, Nov 08 2021 %Y A349108 Cf. A213037 (trace of matrix A(n)), A349107. %K A349108 nonn %O A349108 0,3 %A A349108 _Stefano Spezia_, Nov 08 2021