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”).

A268680
Least monotonic left inverse of A268678.
4
0, 1, 1, 2, 3, 4, 4, 5, 6, 6, 6, 7, 7, 7, 7, 8, 9, 9, 10, 11, 12, 12, 13, 14, 14, 14, 15, 16, 16, 16, 16, 17, 18, 18, 19, 19, 20, 21, 21, 21, 22, 23, 24, 24, 24, 24, 24, 25, 26, 26, 27, 27, 28, 29, 29, 29, 30, 31, 31, 32, 33, 33, 33, 33, 34, 35, 36, 36, 36, 37, 38, 38, 39, 39, 40, 41, 41, 41, 41, 41, 41, 42, 43, 44
OFFSET
0,4
COMMENTS
a(n) = number of distinct nonzero values A268395 that occur in range [0 .. n].
Each n occurs A268679(n+1) times.
LINKS
FORMULA
Other identities. For all n >= 0:
a(A268678(n)) = n.
PROG
(Scheme, with Antti Karttunen's IntSeq-library)
(define A268680 (LEFTINV-LEASTMONO 0 0 A268678))
CROSSREFS
Cf. also A268711.
Sequence in context: A370386 A375626 A335572 * A126974 A354459 A089058
KEYWORD
nonn
AUTHOR
Antti Karttunen, Feb 11 2016
STATUS
approved