Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A107754
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A107754 Number of subsets of the n-th roots of unity that sum to 1. +0
5
1, 1, 1, 2, 1, 6, 1, 8, 4, 18, 1, 60, 1, 66, 20, 128, 1, 600, 1, 612, 68, 1026, 1, 6000, 16, 4098, 256, 8580, 1, 95226, 1, 32768 (list; graph; listen)
OFFSET

1,4

FORMULA

For prime p, a(p^i)=2^(p^(i-1)-1).

MATHEMATICA

<< DiscreteMath`Combinatorica`; f[n_] := Plus @@ Table[ Count[ KSubsets[ Range[n], k], q_List /; Chop[ -1 + Plus @@ (E^((2.*Pi*I*q)/n))] === 0], {k, 0, n}]; Table[ f[n], {n, 24}] (from Robert G. Wilson v (rgwv(AT)rgwv.com), Jun 03 2005)

CROSSREFS

Cf. A103314 (number of subsets of the n-th roots of unity summing to zero) and A108417 (number of subsets of the n-th roots of unity summing to the absolute value of 1.

Sequence in context: A050932 A166120 A007956 this_sequence A139625 A053785 A060173

Adjacent sequences: A107751 A107752 A107753 this_sequence A107755 A107756 A107757

KEYWORD

nonn

AUTHOR

T. D. Noe (noe(AT)sspectra.com), May 23 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 November 27 22:38 EST 2009. Contains 167602 sequences.


AT&T Labs Research