login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A108417
Number of subsets of the n-th roots of 1 with absolute value of sum = 1.
2
0, 1, 2, 6, 8, 10, 36, 14, 64, 72, 180, 22, 720, 26, 924, 600, 2048, 34, 10800, 38, 12240, 2856, 22572, 46, 144000
OFFSET
0,3
COMMENTS
a(n) is divisible by n (rotation symmetry). a(n)/n differs from A107754 by a factor of 2 for odd n.
MATHEMATICA
<<DiscreteMath`Combinatorica`; Table[Plus @@ Count[KSubsets[Range[n], k], q_List/; Chop[ -1+Abs[Plus @@ (E^((2.*Pi*I*q)/n))]] === 0], {n, 16}, {k, 0, n}]
CROSSREFS
Row sums of A108416.
Sequence in context: A362667 A299381 A247984 * A373057 A185078 A214402
KEYWORD
nonn,more
AUTHOR
Wouter Meeussen, Jun 02 2005
STATUS
approved