Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A070925
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A070925 Number of subsets of A={1,2,...,n} that have the same center of gravity as A, i.e. (n+1)/2. +0
2
1, 1, 3, 3, 7, 7, 19, 17, 51, 47, 151, 137, 471, 427, 1519, 1391, 5043, 4651, 17111, 15883, 59007, 55123, 206259, 193723, 729095, 688007, 2601639, 2465133, 9358943, 8899699, 33904323, 32342235, 123580883 (list; graph; listen)
OFFSET

1,3

EXAMPLE

Of the 32 (2^5) sets which can be constructed from the set A = (1,2,3,4,5} only the sets {3}, {2, 3, 4}, {2, 4}, {1, 2, 4, 5}, {1, 2, 3, 4, 5}, {1, 3, 5}, {1, 5} give an average of 3.

MATHEMATICA

Needs["DiscreteMath`Combinatorica`"]; f[n_] := Block[{s = Subsets[n], c = 0, k = 2}, While[k < 2^n + 1, If[ (Plus @@ s[[k]]) / Length[s[[k]]] == (n + 1)/2, c++ ]; k++ ]; c]; Table[ f[n], {n, 1, 20}]

CROSSREFS

Sequence in context: A147144 A152113 A146149 this_sequence A146687 A146655 A146812

Adjacent sequences: A070922 A070923 A070924 this_sequence A070926 A070927 A070928

KEYWORD

nonn

AUTHOR

Sharon Sela (sharonsela(AT)hotmail.com), May 20 2002

EXTENSIONS

Edited by Robert G. Wilson v (rgwv(AT)rgwv.com) and John W. Layman (layman(AT)math.vt.edu), May 25 2002

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 November 25 20:09 EST 2009. Contains 167514 sequences.


AT&T Labs Research