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 A347281 #21 Sep 19 2021 20:46:55 %S A347281 1,2,4,0,36,288,144,18432,11664,115200,144400,0,808151184,133693952, %T A347281 262440000,299649466368,7937314520976,73575242956800,21204146201616, %U A347281 6459752448000000,212406372892224,8753824001424826368,195844025123172289600,152252829159294763008,26487254903393025000000 %N A347281 a(n) = 2^(n - 1)*permanent(M_n)^2 where M_n is the n X n matrix M_n(j, k) = cos(Pi*j*k/n). %e A347281 a(7) = -3384288*cos(Pi/7) - 3460896*sin(Pi/14) - 45888*cos(2*Pi/7) - 28224*cos(15*Pi/7) + 48384*cos(17*Pi/7) + 1706400 + 3458400*sin(3*Pi/14) = 144. - _Chai Wah Wu_, Sep 19 2021 %o A347281 (PARI) P(n)=matpermanent(matrix(n,n,j,k,cos((Pi*j*k)/n))); %o A347281 for(k=1,25,print1(round(2^(k-1)*P(k)^2),", ")) %Y A347281 Cf. A085524, A085530, A000169, A085527, A347929. %K A347281 nonn %O A347281 1,2 %A A347281 _Hugo Pfoertner_, Sep 18 2021