login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A262694
Least monotonic left inverse for A259934.
5
0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 6, 6, 6, 6, 7, 7, 7, 7, 7, 7, 7, 7, 8, 8, 8, 8, 9, 9, 9, 9, 9, 9, 9, 9, 10, 10, 10, 10, 11, 11, 11, 11, 12, 12, 12, 12, 12, 12, 12, 12, 13, 13, 13, 13, 13, 13, 13, 13, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 15, 15, 15, 15, 16, 16, 16, 16, 16, 16, 16, 16, 17, 17, 17, 17, 18, 18, 18, 18, 18, 18, 18, 18, 19, 19, 19, 19, 20, 20, 20
OFFSET
0,7
COMMENTS
Each n occurs A259935(n+1) times.
LINKS
FORMULA
Other identities. For all n >= 0:
a(A259934(n)) = n.
PROG
(Scheme, with Antti Karttunen's IntSeq-library)
(define A262694 (LEFTINV-LEASTMONO 0 0 A259934))
CROSSREFS
One less than the partial sums of A262693.
Sequence in context: A147583 A054895 A194699 * A137588 A033271 A290792
KEYWORD
nonn
AUTHOR
Antti Karttunen, Oct 04 2015
STATUS
approved