Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A143960
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A143960 a(n) = the nth positive integer with exactly n zeros and n ones in its binary representation. +0
1
2, 10, 38, 142, 542, 2110, 8318, 33022, 131582, 525310, 2099198, 8392702, 33562622, 134234110, 536903678, 2147549182, 8590065662, 34360000510, 137439477758, 549756862462, 2199025352702, 8796097216510, 35184380477438 (list; graph; listen)
OFFSET

1,1

LINKS

Leroy Quet, Home Page (listed in lieu of email address)

FORMULA

a(n) = 2^(2n-1) + 2^n - 2.

G.f.: 2x(1-2x+2x^2)/((1-x)(1-4x)(1-2x)). a(n)=2*A099393(n-1). [From R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Nov 03 2008]

EXAMPLE

The first of the (10) positive integers with exactly three 0's and three 1's in their binary representation are 35 (100011 in binary), 37 (100101 in binary), 38 (100110 in binary), etc. a(3) is the third of these, which is 38.

CROSSREFS

Sequence in context: A056182 A081956 A120278 this_sequence A122117 A120949 A165814

Adjacent sequences: A143957 A143958 A143959 this_sequence A143961 A143962 A143963

KEYWORD

base,nonn

AUTHOR

Leroy Quet Sep 05 2008

EXTENSIONS

More terms from R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Nov 03 2008

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 10 00:48 EST 2009. Contains 170565 sequences.


AT&T Labs Research