A202670 Symmetric matrix based on A000290 (the squares), by antidiagonals.
1, 4, 4, 9, 17, 9, 16, 40, 40, 16, 25, 73, 98, 73, 25, 36, 116, 184, 184, 116, 36, 49, 169, 298, 354, 298, 169, 49, 64, 232, 440, 584, 584, 440, 232, 64, 81, 305, 610, 874, 979, 874, 610, 305, 81, 100, 388, 808, 1224, 1484, 1484, 1224, 808, 388, 100, 121
Offset: 1
Examples
Northwest corner: 1.....4......9....16....25 4....17.....40....73...116 9....40.....98...184...298 16...73....184...354...584 25...116...298...584...979
Programs
-
Mathematica
U = NestList[Most[Prepend[#, 0]] &, #, Length[#] - 1] &[ Table[k^2, {k, 1, 12}]]; L = Transpose[U]; M = L.U; TableForm[M] m[i_, j_] := M[[i]][[j]]; Flatten[Table[m[i, n + 1 - i], {n, 1, 12}, {i, 1, n}]]
Comments