cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A108381 Number of distinct magnitudes of the nonzero sums of distinct n-th roots of unity.

Original entry on oeis.org

1, 1, 1, 2, 3, 3, 8, 9, 16, 17, 62, 23, 186, 95, 280, 240, 1963, 225, 6830, 1091
Offset: 1

Views

Author

T. D. Noe, Jun 01 2005

Keywords

Comments

There are 2^n sums of the n-th roots of unity.

Examples

			a(4)=2 because the nonzero sums of 4th roots of unity have magnitude 1 or sqrt(2).
		

Crossrefs

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