A385439 Row sums of triangle A385865.
1, 2, 6, 10, 13, 14, 20, 42, 45, 44, 50, 78, 77, 70, 104, 136, 165, 152, 150, 182, 209, 184, 172, 350, 325, 342, 322, 406, 365, 372, 400, 484, 561, 490, 582, 666, 665, 572, 580, 820, 805, 860, 770, 930, 897, 846, 824, 1274, 1325, 1156
Offset: 2
Crossrefs
Cf. A385865.
Programs
-
PARI
a(n) = sum(k=1, n-1, (k^2-1) % n + 1); \\ Michel Marcus, Aug 01 2025
Comments