OFFSET
1,2
COMMENTS
n-th row sum gives the sum corresponding to the magic square of order n.
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
FORMULA
T(i, j) = i+(i-1)*(j-1) - David Wasserman, Jun 03 2004
EXAMPLE
1; 2,3; 3,5,7; 4,7,10,13; 5,9,13,17,21; 6,11,16,21,26,31; ...
MATHEMATICA
Table[NestList[#+n-1&, n, n-1], {n, 20}]//Flatten (* Harvey P. Dale, May 14 2023 *)
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Amarnath Murthy, Mar 25 2003
EXTENSIONS
Corrected and extended by David Wasserman, Jun 03 2004
STATUS
approved