OFFSET
1,2
COMMENTS
This is trivially a permutation of the positive integers.
The "location" of the pair is taken to be the index of the second element of the pair.
FORMULA
T(i,j) :=
if i=1, then (j-1)^2 + 1,
if i>j, then i^2 - 2j + 2,
and otherwise j^2 - 2i + 3.
EXAMPLE
The table starts:
1, 2, 5, 10, 17, 26
4, 3, 8, 15, 24, 35
9, 7, 6, 13, 22, 33
16, 14, 12, 11, 20, 31
25, 23, 21, 19, 18, 29
36, 34, 32, 30, 28, 27
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Franklin T. Adams-Watters, Mar 04 2016
STATUS
approved