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!)
A067586 Number of 0's in the binary expansion of A066884(n+1). 0

%I #6 Jun 24 2014 01:08:21

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

%T 3,7,0,1,1,1,1,2,2,3,8,0,1,1,1,1,1,2,2,3,9,0,1,1,1,1,1,2,2,2,3,10,0,1,

%U 1,1,1,1,1,2,2,2,4,11,0,1,1,1,1,1,1,2,2,2,3,4,12,0,1,1,1,1,1,1,1,2,2,2

%N Number of 0's in the binary expansion of A066884(n+1).

%t a[n_] := Module[{}, r=Floor[(Sqrt[8n+1]-1)/2]; s=n-r*(r+1)/2; For[k=0, True, k++, If[s<Binomial[r-s+1+k, k], Return[k]]]]

%K easy,tabl,nonn

%O 0,6

%A Jared Ricks (jaredricks(AT)yahoo.com), Jan 31 2002

%E Edited by _Dean Hickerson_, Feb 16 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 15:03 EDT 2024. Contains 371793 sequences. (Running on oeis4.)