OFFSET
1,2
COMMENTS
This is transpose of A237447, please see comments there.
LINKS
Antti Karttunen, Table of first 144 antidiagonals of array, flattened
FORMULA
As a one-dimensional sequence:
If A010054(n-1) = 1 [that is, if n is in A000124], then a(n) = A002024(n), otherwise, if A004736(n) < A002260(n), a(n) = A002260(n), and if A004736(n) >= A002260(n), a(n) = A002260(n)-1.
Equivalently, as a square array T:
When col < row, T(row,col) = row, for 1 < row <= col, T(row,col) = row-1, and for the first row T(1,col) = col = A000027(col).
EXAMPLE
The top left 9 X 9 corner of this infinite square array:
1 2 3 4 5 6 7 8 9
2 1 1 1 1 1 1 1 1
3 3 2 2 2 2 2 2 2
4 4 4 3 3 3 3 3 3
5 5 5 5 4 4 4 4 4
6 6 6 6 6 5 5 5 5
7 7 7 7 7 7 6 6 6
8 8 8 8 8 8 8 7 7
9 9 9 9 9 9 9 9 8
PROG
CROSSREFS
KEYWORD
AUTHOR
Antti Karttunen, Feb 10 2014
STATUS
approved