login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A076902 a(1)=1, a(n) = floor(n/2) - a(floor(n/2)). 0
1, 0, 0, 2, 2, 3, 3, 2, 2, 3, 3, 3, 3, 4, 4, 6, 6, 7, 7, 7, 7, 8, 8, 9, 9, 10, 10, 10, 10, 11, 11, 10, 10, 11, 11, 11, 11, 12, 12, 13, 13, 14, 14, 14, 14, 15, 15, 15, 15, 16, 16, 16, 16, 17, 17, 18, 18, 19, 19, 19, 19, 20, 20, 22, 22, 23, 23, 23, 23, 24, 24, 25, 25, 26, 26, 26, 26 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,4
LINKS
FORMULA
a(n) is asymptotic to n/3; conjecture: abs(a(n)-n/3) < log(n+1).
a(n) = A068639(n) - A065359(n) + (-1)^floor(log_2(n)) = A050292(n) - A068639(n) + (-1)^floor(log_2(n)). - Ralf Stephan, Oct 27 2003
CROSSREFS
Sequence in context: A059906 A349196 A112046 * A287271 A290884 A332383
KEYWORD
nonn
AUTHOR
Benoit Cloitre, Nov 26 2002
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 31 22:00 EDT 2024. Contains 375574 sequences. (Running on oeis4.)