OFFSET
1,1
COMMENTS
Can also be viewed as a triangular table T(n,k) (n>=1, 1<=k<=n) read by rows: T(1,1); T(2,1), T(2,2); T(3,1), T(3,2), T(3,3); T(4,1), T(4,2), T(4,3), T(4,4); ... where T(n,k) gives the least value v>0 such that v*k = 0 modulo n+1, i.e., in other words, T(n,k) = (n+1)/gcd(n+1,k).
FORMULA
T(n, k) = numerator((n+k)/n) = numerator((n+k)/k). - Michel Marcus, Dec 29 2013
EXAMPLE
The top left corner of the square array is:
2 3 4 5 6 7 8 9 10 11 ...
3 2 5 3 7 4 9 5 11 ...
4 5 2 7 8 3 10 11 ...
5 3 7 2 9 5 11 ...
6 7 8 9 2 11 ...
7 4 3 5 11 ...
8 9 10 11 ...
9 5 11 ...
10 11 ...
11 ...
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Antti Karttunen, May 21 2005
STATUS
approved