login
A082853
Integers 0 to Catalan(n)-1 followed by integers 0 to Catalan(n+1)-1 etc.
20
0, 0, 0, 1, 0, 1, 2, 3, 4, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17
OFFSET
0,7
LINKS
FORMULA
a(n) = n - A082852(n)
MATHEMATICA
Table[Range[0, CatalanNumber[n]-1], {n, 0, 6}]//Flatten (* Harvey P. Dale, Jul 24 2021 *)
CROSSREFS
a(n) = A082854(n)-1. Cf. A002262, A000108.
Sequence in context: A125923 A071513 A060511 * A230431 A190886 A257845
KEYWORD
nonn
AUTHOR
Antti Karttunen, Apr 17 2003
STATUS
approved