Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A059937
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A059937 Sum of binary numbers with n 1's and two (possibly leading) 0's. +0
2
0, 7, 45, 186, 630, 1905, 5355, 14308, 36828, 92115, 225225, 540606, 1277874, 2981797, 6881175, 15728520, 35651448, 80215911, 179306325, 398458690, 880803630, 1937768217, 4244635395, 9261022956, 20132658900, 43620761275 (list; graph; listen)
OFFSET

0,2

FORMULA

a(n) =(2^(n+2)-1)*n*(n+1)/2 =A059672(n)+A059938(n) =a(n-1)*2*(n+1)/(n-1)+n(n+1)/2

EXAMPLE

a(2)=45 since binary sum of 1100 + 1010 + 1001 + 0110 + 0101 + 0011 is 12 + 10 + 9 + 6 + 5 + 3=45.

CROSSREFS

Cf. A059672, A059673, A059938.

Sequence in context: A156374 A153492 A107125 this_sequence A099842 A115194 A062274

Adjacent sequences: A059934 A059935 A059936 this_sequence A059938 A059939 A059940

KEYWORD

nonn

AUTHOR

Henry Bottomley (se16(AT)btinternet.com), Feb 13 2001

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified December 15 00:47 EST 2009. Contains 170825 sequences.


AT&T Labs Research