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 A351839 #33 Jan 07 2024 17:16:32 %S A351839 2,6,2,14,6,6,30,14,24,12,62,30,60,60,30,126,62,126,180,180,54,254, %T A351839 126,252,420,630,378,126,510,254,504,852,1680,1512,1008,240,1022,510, %U A351839 1014,1620,3780,4536,4536,2160,504,2046,1022,2040,3060,7590,11340,15120,10800,5040,990 %N A351839 Triangle read by rows: T(n, k) = A027375(n)*Sum_{m=1..floor(n/k)} binomial(n, k*m). %C A351839 T(n, k) is the number of k-th roots of unity as eigenvalues of the quantum operator O for a free Motzkin spin chain of length n. For k = 1, it gives the correct result if one excludes the eigenvalue 2. %C A351839 For the definitions of both a free Motzkin spin chain and the quantum operator O, see Hao et al. %H A351839 Andrew Howroyd, <a href="/A351839/b351839.txt">Table of n, a(n) for n = 1..1275</a> (rows 1..50) %H A351839 Kun Hao, Olof Salberger, and Vladimir Korepin, <a href="https://arxiv.org/abs/2202.07647">Can a spin chain relate combinatorics to number theory?</a>, arXiv:2202.07647 [quant-ph], 2022. See pp. 9-10. %e A351839 Triangle begins: %e A351839 2; %e A351839 6, 2; %e A351839 14, 6, 6; %e A351839 30, 14, 24, 12; %e A351839 62, 30, 60, 60, 30; %e A351839 126, 62, 126, 180, 180, 54; %e A351839 254, 126, 252, 420, 630, 378, 126; %e A351839 ... %t A351839 g[n_]:= DivisorSum[n,(2^#)*MoebiusMu[n/#]&]; binomSum[n_,k_]:=Sum[Binomial[n, i],{i,k,n,k}]; T[n_,k_]:=g[k]*binomSum[n,k]; (* See p. 9 in Hao et al. *) %t A351839 Flatten[Table[T[n,k],{n,10},{k,n}]] %o A351839 (PARI) T(n,k) = sumdiv(k,d,moebius(d)*2^(k/d))*sum(m=1,n\k,binomial(n,k*m)) \\ _Andrew Howroyd_, Feb 21 2022 %Y A351839 Cf. A000918 (k = 2), A007318, A024023 (row sums), A027375 (leading diagonal), A095121 (k = 1). %K A351839 nonn,tabl,look %O A351839 1,1 %A A351839 _Stefano Spezia_, Feb 21 2022