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!)
A030601 a(n)=(# 1's)-(# 0's) in first n terms of A030588. 1

%I #6 Jan 30 2015 18:58:48

%S 1,1,1,2,3,4,4,5,5,5,6,6,6,6,6,6,7,7,7,7,7,7,8,8,8,8,8,8,9,9,9,9,9,10,

%T 9,10,11,10,10,11,10,10,11,12,13,14,15,15,16,17,17,18,18,19,20,20,20,

%U 21,21,21,22,22,23,24,24,24,25,25,25,26,26,27

%N a(n)=(# 1's)-(# 0's) in first n terms of A030588.

%t Accumulate[Which[#==1,1,#==0,-1,True,0]&/@Flatten[Table[ IntegerDigits[ 2n-1,6],{n,50}]]] (* _Harvey P. Dale_, Jan 30 2015 *)

%K nonn

%O 1,4

%A _Clark Kimberling_

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 21 02:07 EDT 2024. Contains 375342 sequences. (Running on oeis4.)