OFFSET
1,5
COMMENTS
Row 2k+1 consists of the first 2k+1 numbers, and row 2k consists of the first 2k numbers iff 2k+1 is not a power of a prime. - Charlie Neder, Feb 03 2019
FORMULA
The first n-2 members of row n > 2 are {1, 2, ..., n-2}. If the maximal prime powers dividing A081535(n) are all less than n, the ending terms are {n-1, A081535(n)-n*(n-1)/2}. Otherwise, they are {a, b} where either a or b is the largest prime power dividing A081535(n) and a + b = A081535(n) - (n-1)*(n-2)/2. - Charlie Neder, Feb 03 2019
EXAMPLE
Triangle begins:
1;
0, 0;
1, 2, 3; (1+2+3 = 6 | 6 = lcm(1,2,3))
1, 2, 4, 7; (1+2+4+7 = 14 | 28 = lcm(1,2,4,7))
1, 2, 3, 4, 5;
...
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Amarnath Murthy, Mar 28 2003
EXTENSIONS
Corrected and extended by Charlie Neder, Feb 03 2019
More terms from Jinyuan Wang, May 03 2020
STATUS
approved