Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A107848
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A107848 Number of subsets of the n-th roots of unity summing to a real number. +0
2
2, 4, 4, 8, 8, 24, 16, 48, 40, 144, 64, 336, 128, 864, 416, 1728, 512, 8304, 1024, 10656, 4032, 31104, 4096, 116256, 9248, 186624, 40000, 374976, 32768, 3537024, 65536, 2239488 (list; graph; listen)
OFFSET

1,1

LINKS

T. D. Noe, Sums of Roots of Unity Plots

FORMULA

For prime n, a(n)=2^((n+1)/2).

MATHEMATICA

Needs["DiscreteMath`Combinatorica`"]; Table[Plus@@Table[Count[(KSubsets[Range[n], k]), q_List/; Im[Chop[Plus@@(E^(2.*Pi*I*q/n))]]==0], {k, 0, n}], {n, 20}]

CROSSREFS

Cf. A103314 (number of subsets of the n-th roots of unity summing to zero).

Adjacent sequences: A107845 A107846 A107847 this_sequence A107849 A107850 A107851

Sequence in context: A166632 A116596 A048656 this_sequence A029599 A076466 A073117

KEYWORD

nonn

AUTHOR

T. D. Noe (noe(AT)sspectra.com), May 25 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 7 16:45 EST 2009. Contains 166093 sequences.


AT&T Labs Research