OFFSET
0,7
COMMENTS
FORMULA
a(n) = floor((sqrt(8*n + 1) + 1)/4). - Ridouane Oudra, Apr 09 2023
EXAMPLE
Triangle begins:
0;
1, 1, 1, 1, 1;
2, 2, 2, 2, 2, 2, 2, 2, 2;
3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3;
4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4;
5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5;
6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6;
...
MATHEMATICA
Table[PadRight[{}, 4n+1, n], {n, 0, 7}]//Flatten (* Harvey P. Dale, Jun 04 2023 *)
CROSSREFS
KEYWORD
nonn,tabf,easy
AUTHOR
Omar E. Pol, Feb 21 2022
STATUS
approved