OFFSET
3,1
LINKS
Terrel Trotter, Perimeter-Magic Polygons, Journal of Recreational Mathematics Vol. 7, No. 1, 1974, pp. 14-20 (see equations 10-13).
FORMULA
EXAMPLE
The table begins:
k\n| 3 4 5 6 7 ...
---+-------------------
3 | 4 7 10 13 16 ...
4 | 4 9 12 17 20 ...
5 | 6 11 16 21 26 ...
6 | 6 13 18 25 30 ...
7 | 8 15 22 29 36 ...
...
MATHEMATICA
T[k_, n_]:=k(n-2)+(Mod[k, 2]-1)Mod[n, 2]+1; Table[T[k+3-n, n], {k, 3, 14}, {n, 3, k}]//Flatten
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Stefano Spezia, Mar 22 2021
STATUS
approved