Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A059938
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A059938 Sum of binary numbers with n 1's and two (non-leading) 0's. +0
2
0, 4, 31, 141, 506, 1590, 4593, 12523, 32740, 82908, 204755, 495561, 1179582, 2768818, 6422437, 14745495, 33554312, 75759480, 169869159, 378535765, 838860610, 1849687854, 4060086041, 8875147011, 19327352556, 41943039700 (list; graph; listen)
OFFSET

0,2

FORMULA

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

EXAMPLE

a(2)=31 since binary sum of 1100+1010+1001 is 12+10+9=31.

CROSSREFS

Cf. A059672, A059673, A059937.

Adjacent sequences: A059935 A059936 A059937 this_sequence A059939 A059940 A059941

Sequence in context: A043082 A070522 A087689 this_sequence A005216 A014537 A136284

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 October 12 15:26 EDT 2008. Contains 144830 sequences.


AT&T Labs Research