Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A083015
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A083015 a(n) = the number of ordered pairs of n-bit bit strings, such that both bit strings have at least n/2 one-bits, or both have at most n/2 one-bits. +0
1
1, 2, 14, 32, 206, 512, 3128, 8192, 48238, 131072, 750584, 2097152, 11746424, 33554432, 184558304, 536870912, 2908113518, 8589934592, 45923227448, 137438953472, 726419131576, 2199023255552, 11506072128224, 35184372088832 (list; graph; listen)
OFFSET

0,2

FORMULA

a(n) = 4^n/2 + 2^n*c - c^2/2; where c is (n choose n/2) for even n, 0 for odd n.

EXAMPLE

a(2)=14 because of the 16 ordered pairs, only (00,11) and (11,00) do not qualify.

CROSSREFS

Sequence in context: A093794 A075490 A031301 this_sequence A050591 A073535 A060626

Adjacent sequences: A083012 A083013 A083014 this_sequence A083016 A083017 A083018

KEYWORD

nonn

AUTHOR

Jon Perry (perry(AT)globalnet.co.uk), May 31 2003

EXTENSIONS

Edited by Don Reble (djr(AT)nk.ca), Nov 07 2005

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 20 16:54 EST 2009. Contains 171081 sequences.


AT&T Labs Research