A103314 Total number of subsets of the n-th roots of 1 that add to zero.
1, 1, 2, 2, 4, 2, 10, 2, 16, 8, 34, 2, 100, 2, 130, 38, 256, 2, 1000, 2, 1156, 134, 2050, 2, 10000, 32, 8194, 512, 16900, 2, 146854, 2, 65536, 2054, 131074, 158, 1000000, 2, 524290, 8198, 1336336, 2, 11680390, 2, 4202500, 54872, 8388610, 2, 100000000, 128
Offset: 0
A164896 Number of subsets (up to cyclic shifts) of the n-th roots of 1 with zero sum.
1, 2, 2, 3, 2, 5, 2, 6, 4, 9, 2, 19, 2, 21, 10, 36, 2, 94, 2, 117, 22, 189, 2, 618, 8, 633, 60, 1203, 2, 6069, 2, 4116, 190, 7713, 26, 35324, 2, 27597, 634, 59706, 2, 328835, 2, 190935, 2728, 364725, 2, 2435780, 20, 1579884, 7714, 2582061, 2, 21013770, 194, 9894294, 27598, 18512793, 2, 377367015, 2, 69273669, 104832, 134219796, 638, 1678410951
Offset: 1
Keywords
Comments
Cyclic shifts correspond to multiplication by a root of unity.
a(n)=2 for n prime, corresponding to the empty and the full subset. - Joerg Arndt, Jun 10 2011
Examples
a(6) = 5 because these subsets add to zero: (left: as bitstring, right: subset) ...... (empty sum) ..1..1 0 3 .1.1.1 0 2 4 .11.11 0 1 3 4 111111 0 1 2 3 4 5 (all roots of unity)
Links
- Andrew Howroyd, Table of n, a(n) for n = 1..164
- Joerg Arndt, Matters Computational (The Fxtbook), section 18.4 "Sums of roots of unity that are zero", p. 383.
Formula
a(n) = A110981(n) + Sum_{d|n,dA001037(d) = A110981(n) + A000031(n) - A001037(n). - Max Alekseyev, Apr 08 2013
Extensions
a(32)-a(39) from Joerg Arndt, Jun 10 2011
Terms a(40) onward from Max Alekseyev, Apr 08 2013
A107847 Related to sums of the n-th roots of unity: sums in a circular wedge (excluding the origin).
1, 1, 2, 3, 6, 9, 18, 30, 56, 99, 186, 333, 630, 1161, 2182, 4080, 7710, 14508, 27594, 52371, 99858, 190557, 364722, 698634, 1342176, 2580795, 4971008, 9586377, 18512790, 35786499, 69273666, 134215680, 260300986, 505286415, 981706806
Offset: 1
Keywords
Comments
Consider the 2^n sums formed from all the subsets of the n-th roots of unity. The number A103314(n) tells how many of these sums are zero. The remaining sums fall into n wedges centered at the origin. The number a(n) gives the number of sums that fall into each wedge. Interestingly, a(n) coincides with A059966(n) when n is either p^k or pq for primes p and q.
Links
- Max Alekseyev and M. F. Hasler, Table of n, a(n) for n = 1..164
- T. D. Noe, Sums of Roots of Unity Plots
Crossrefs
Formula
a(n) = (2^n - A103314(n))/n.
A273096 Number of rotationally inequivalent minimal relations of roots of unity of weight n.
1, 0, 1, 1, 0, 1, 1, 3, 3, 4, 6, 18, 69
Offset: 0
Comments
In this context, a relation of weight n is a multiset of n roots of unity which sum to zero, and it is minimal if no proper nonempty sub-multiset sums to zero. Relations are rotationally equivalent if they are obtained by multiplying each element by a common root of unity.
Mann classified the minimal relations up to weight 7, Conway and Jones up to weight 9, and Poonen and Rubinstein up to weight 12.
Examples
Writing e(x) = exp(2*Pi*i*x), then e(1/6)+e(1/5)+e(2/5)+e(3/5)+e(4/5)+e(5/6) = 0 and this is the unique (up to rotation) minimal relation of weight 6.
Links
- J. H. Conway and A. J. Jones, Trigonometric diophantine equations (On vanishing sums of roots of unity), Acta Arithmetica 30(3), 229-240 (1976).
- Henry B. Mann, On linear relations between roots of unity, Mathematika 12(2), 107-117 (1965).
- Bjorn Poonen and Michael Rubinstein, The Number of Intersection Points Made by the Diagonals of a Regular Polygon, SIAM J. Discrete Math. 11(1), 135-156 (1998). Also at arXiv:math/9508209 [math.MG] with some typos corrected.
Comments
Links
Crossrefs
Programs
Mathematica
PARI
Formula
Extensions