OFFSET
1,2
LINKS
Vaclav Kotesovec, Table of n, a(n) for n = 1..35
EXAMPLE
a(2)=6 since the 2 by 2 matrix A with rows [1,2],[2,2] has permanent 1*2+2*2=6.
MAPLE
with(linalg): a:=(i, j)->lcm(i, j): seq(permanent(matrix(n, n, a)), n=1..14); # Emeric Deutsch, Feb 08 2005
MATHEMATICA
a[n_] := Permanent[Table[LCM[i, j], {i, 1, n}, {j, 1, n}]]; Table[an = a[n]; Print["a(", n, ") = ", an]; an, {n, 1, 14}] (* Jean-François Alcover, Jan 07 2016 *)
PROG
(PARI) a(n)=matpermanent(matrix(n, n, r, c, lcm(r, c)));
vector(23, n, a(n)) \\ Joerg Arndt, Aug 15 2019
CROSSREFS
KEYWORD
nonn
AUTHOR
Yuval Dekel (dekelyuval(AT)hotmail.com), Aug 16 2003
EXTENSIONS
More terms from Emeric Deutsch, Feb 08 2005
STATUS
approved