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

%I #11 Apr 18 2023 14:54:22

%S 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,

%T 10,10,11,11,11,11,12,12,13,13,14,14,14,14,15,15,15,15,16,16,16,16,17,

%U 17,18,18,19,19,19,19,20,20,22,22,23,23,23,23,24,24,25,25,26,26,26,26

%N a(1)=1, a(n) = floor(n/2) - a(floor(n/2)).

%F a(n) is asymptotic to n/3; conjecture: abs(a(n)-n/3) < log(n+1).

%F 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

%Y Cf. A050292, A065359, A068639.

%K nonn

%O 1,4

%A _Benoit Cloitre_, Nov 26 2002

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 April 25 10:34 EDT 2024. Contains 371967 sequences. (Running on oeis4.)