This site is supported by donations to The OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A268382 Partial sums of A268411; the least monotonic left inverse of A268415. 4
 0, 1, 2, 3, 4, 4, 5, 6, 7, 7, 7, 7, 8, 8, 9, 10, 11, 11, 11, 11, 11, 12, 12, 12, 13, 13, 13, 13, 14, 14, 15, 16, 17, 17, 17, 17, 17, 18, 18, 18, 18, 19, 20, 21, 21, 22, 22, 22, 23, 23, 23, 23, 23, 24, 24, 24, 25, 25, 25, 25, 26, 26, 27, 28, 29, 29, 29, 29, 29, 30, 30, 30, 30, 31, 32, 33, 33, 34, 34, 34, 34, 35, 36 (list; graph; refs; listen; history; text; internal format)
 OFFSET 0,3 COMMENTS a(n) = Number of "balanced odious numbers" (A268415) in range [0..n]. LINKS Antti Karttunen, Table of n, a(n) for n = 0..16384 Vladimir Shevelev, Two analogs of Thue-Morse sequence, arXiv:1603.04434 [math.NT], 2016. FORMULA a(0) = 0; for n >= 1, a(n) = A268411(n) + a(n-1). Other identities. For all n >= 1: a(A268415(n)) = n. a(n) = n - A268383(n). PROG (Scheme, with memoizing-macro definec) (definec (A268382 n) (if (zero? n) n (+ (A268411 n) (A268382 (- n 1))))) CROSSREFS Partial sums of A268411. Cf. A268415, A268383. Sequence in context: A236346 A306890 A116549 * A107079 A025528 A255338 Adjacent sequences:  A268379 A268380 A268381 * A268383 A268384 A268385 KEYWORD nonn AUTHOR Antti Karttunen, Feb 05 2016 STATUS approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified August 18 22:03 EDT 2019. Contains 326109 sequences. (Running on oeis4.)