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!)
A076849 Let u(1)=1, u(n) = n - abs(u(ceiling(n/2)) - u(floor(n/2))); then a(n) = u(n) - n. 0

%I #8 Jul 04 2019 18:58:21

%S 0,0,1,0,2,0,0,0,3,0,1,0,1,0,1,0,4,0,2,0,2,0,0,0,2,0,0,0,2,0,0,0,5,0,

%T 3,0,3,0,1,0,3,0,1,0,1,0,1,0,3,0,1,0,1,0,1,0,3,0,1,0,1,0,1,0,6,0,4,0,

%U 4,0,2,0,4,0,2,0,2,0,0,0,4,0,2,0,2,0,0,0,2,0,0,0,2,0,0,0,4,0,2,0,2,0,0,0,2

%N Let u(1)=1, u(n) = n - abs(u(ceiling(n/2)) - u(floor(n/2))); then a(n) = u(n) - n.

%K nonn

%O 1,5

%A _Benoit Cloitre_, Nov 23 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 19 19:02 EDT 2024. Contains 371798 sequences. (Running on oeis4.)