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

A266113
a(n) = number of integers k <= n which are least siblings in A263267-tree (see A266114).
3
1, 1, 2, 2, 3, 4, 5, 6, 7, 7, 8, 8, 9, 10, 10, 10, 11, 12, 13, 14, 14, 15, 16, 17, 18, 18, 19, 19, 20, 20, 21, 22, 22, 23, 24, 24, 25, 26, 26, 27, 28, 28, 29, 30, 30, 31, 32, 32, 33, 34, 35, 35, 36, 36, 36, 37, 38, 39, 40, 40, 41, 42, 42, 42, 43, 43, 44, 45, 45, 45, 46, 47, 48, 49, 49, 49, 50, 50, 51, 51, 52, 53, 54, 55, 55
OFFSET
1,3
COMMENTS
Partial sums of A266112.
The least monotonic left inverse of A266114.
LINKS
FORMULA
a(1) = 1; for n > 1, a(n) = A266112(n) + a(n-1).
Other identities. For all n >= 1:
a(A266114(n)) = n. [Works as a left inverse of A266114].
PROG
(Scheme, with memoization-macro definec)
(definec (A266113 n) (if (= 1 n) n (+ (A266112 n) (A266113 (- n 1)))))
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Dec 21 2015
STATUS
approved