Download - Calculating cyclotomic polynomials - Simon Fraser University · algorithms were used to calculate cyclotomic polynomials of large height and length. In particular we find cyclotomic

Transcript
Page 1: Calculating cyclotomic polynomials - Simon Fraser University · algorithms were used to calculate cyclotomic polynomials of large height and length. In particular we find cyclotomic

Calculating cyclotomic polynomials

Andrew Arnold ([email protected])Michael Monagan ([email protected])

July 17, 2008

Abstract

We present two algorithms to calculate Φn(z), the nth cyclotomic poly-nomial. The first algorithm calculates Φn(z) by a series of polynomialdivisions, optimized using the discrete Fourier transform. The secondalgorithm calculates Φn(z) as a quotient of sparse power series. Thesealgorithms were used to calculate cyclotomic polynomials of large heightand length. In particular we find cyclotomic polynomials Φn(z) of mini-mal order n whose height is greater than n, n2, n3, and n4, respectively.

1 Introduction

The nth cyclotomic polynomial, Φn(z), is the monic polynomial whose φ(n)distinct roots are exactly the nth primitive roots of unity.

Φn(z) =n∏

k=1gcd(k,n)=1

(z − e2πi k

n

).

It is an irreducible polynomial in Z. We write

Φn(z) =φ(n)∑k=1

an(k)zk,

For n < 105, the coefficients of Φn(z) are strictly −1, 0, or 1. Denote by A(n)and S(n) the height and length, respectively, of the nth cyclotomic polynomial.That is,

A(n) = max0≤k≤φ(n)

|an(k)|, S(n) =φ(n)∑k=0

|an(k)|.

Paul Erdos [5] proved that A(n) is not bounded above by any polynomial ofn. There is a wealth of material on the behaviour of A(n) and the size ofcyclotomic polynomial coefficients [3], [2], [10], [11]; however, comparativelylittle work has gone into actually calculating these values. Koshiba calculated

1

Page 2: Calculating cyclotomic polynomials - Simon Fraser University · algorithms were used to calculate cyclotomic polynomials of large height and length. In particular we find cyclotomic

A(4849845) = 669606 [8] and found the coefficients of Φn(z) with degree lessthan φ(n)/10 for n = 111546345 = 3 · 5 · 7 · 11 · 13 · 17 · 19 · 23 [9]. Bosma foundthe least value of k for which a occurs as an(k) for some n, for |a| < 50 [4]. Wepresent new results on A(n), S(n), and on the bounds of an(k) for fixed k.

1.1 Organization of paper.

We present two algorithms to calculate cyclotomic polynomials. Our first al-gorithm calculates Φn(z) for squarefree n via a series of polynomial divisions.We use the discrete Fourier transform to do these divisions quickly. The secondalgorithm calculates Φn(z) as a quotient of sparse power series.

Using these two algorithms, we have produced a wealth of data on the heightsand lenghts of cyclotomic polynomials. Amongst our results, we have found:

◦ A(n) and S(n) for all n < 5 · 106

◦ the smallest values of n for which A(n) > n, n2 and n3 respectively

◦ an order n for which A(n) > n4

◦ the smallest n such that A(n) > 264 (machine precision)

◦ A(n) and S(n) for squarefree n < 6 · 108 with six or more prime factors

◦ A(n) and S(n) for squarefree n < 109 with seven or more prime factors

◦ the maximum and minimum values of an(k) for fixed k, for k < 138

◦ the smallest instance of k for which an(k) = a for some n, for |a| < 248

1.2 Preliminaries

We are interested in finding cyclotomic polynomials with large coefficients. Thefollowing two identities are useful:

Lemma 1. Let n > 1 be odd. Then Φ2n(z) = Φn(−z).

Lemma 2. Let p be a prime that divides n. Then Φnp(z) = Φn(zp)

Lemma 1 tells us A(2n) = A(n) and S(2n) = S(n) for odd n. Lemma 2says that A(np) = A(n) and S(np) = S(n) for p dividing n. For the remainderof the paper, we will be strictly concerned with the calculation of cyclotomicpolynomials of squarefree, odd order. Lemmas 1 and 2 provide an easy meansof calculating Φn(z) for n even or squarefree, provided we can calculate Φm(z),where m is the product of the odd prime factors of n.

2

Page 3: Calculating cyclotomic polynomials - Simon Fraser University · algorithms were used to calculate cyclotomic polynomials of large height and length. In particular we find cyclotomic

2 Using the discrete Fourier transform to calcu-late Φn(z)

Our first algorithm calculates Φn(z) by a series of polynomial divisions. Forprimes p - m,

Φmp(z) =Φm(zp)Φm(z)

. (1)

We thus are able to calculate Φn(z) by repeated polynomial division, as detailedin algorithm 1.

Input: n = p1p2 · · · pk, a product of k distinct primes.Output: Φn(z), the nth cyclotomic polynomial.m←− 1Φm(z)←− z − 1for j = 1 to k do

m∗ ←− mpj

Φm∗(z)←− Φm(zpj )Φm(z)

m←− m∗

Algorithm 1: solving Φn(z) by repeated division

Our key optimization was to perform the polynomial division in algorithm1 by way of the discrete Fourier transform (DFT)[6]. Algorithm 2 gives a high-level description of the division calculation. Using the discrete Fourier trans-form, we can calculate Φm(zp)

Φm(z) in O(N log(N)) arithmetic operations, where N

is the smallest power of 2 greater than φ(m) · p, the degree of the numerator.Observe that algorithm 2 requires that Bi is nonzero for ωi, 0 ≤ i < N . This

is not a problem for odd orders m, however, so long as our modulus q does notdivide the order m. Every power of ω is a 2kth root of unity modulo q for somek < s. For m > 1 it holds that Φm(z) divides

zm − 1z − 1

= zm−1 + zm−1 + · · ·+ z + 1. (2)

Thus if q does not divide m, any root of Φm(z) mod q is necessarily an mth rootof unity not equal to 1. Given m is always odd for our purposes, the only mth

root of unity that is also a 2kth root of unity modulo q for some k is exactly 1,and so Φm(ωi) 6= 0 mod q for 0 ≤ i < N .

2.1 Implementation Details

Our implementation of the DFT modulo a 42-bit prime q requires 12N bytes ofstorage: 8N to store the input polynomial and the result of the DFT, and an-other 4N bytes in which we use for the DFT computation. We require that N isa power of two greater than φ(n/pk)pk, the degree of the numerator Φn/pk

(zpk).

3

Page 4: Calculating cyclotomic polynomials - Simon Fraser University · algorithms were used to calculate cyclotomic polynomials of large height and length. In particular we find cyclotomic

Input:

• Φm(z)• p, a prime not dividing n• N = 2s, a power of 2 greater than φ(m) · p + 1, the number of coefficients

of Φm(zp)• q, a prime of the form q = r ·N + 1• ω, a primitive Nth root of unity modulo q

Output: Φmp(z)

Calculate Ai and Bi by the DFT:Ai ←− Φn(ωip) mod q for i = 0, 1, . . . , N − 1Bi ←− Φn(ωi) mod q for i = 0, 1, . . . , N − 1

Ci ←−Ai

Bifor i = 0, 1, . . . , N − 1 /* Ci = Φmp(ωi) */

Interpolate C by the inverse discrete fast Fourier transform to get thecoefficients of Φmp(z).

Algorithm 2: A brief description of polynomial division via the discretefast Fourier transform

For 32-bit primes q, N is no greater than 227. For cyclotomic polynomials oflarger degree, we require larger primes. Choosing unnecessarily large primesfor the DFT, however, would require multiprecision arithmetic. Using 64-bitarithmetic, we are able to do multiplication modulo prime numbers as largeas 42-bits (see algorithm 3); however, the multiplication is roughly four timesslower than multiplying two integers. We typically use a 32-bit prime unlessa 42-bit prime is necessary. Our implementation of algorithm 2 requires 20Nbytes of storage: 16N bytes to store the intermediate results Ai and Bi for0 ≤ i < N , and additional 4N bytes of memory for the DFT computation.

Input: a = a41a40 · · · a1a0, b = b41b40 · · · b1b0, two 42-bit primes modulo a42-bit prime q

Output: c = ab mod qA0 ←− a20a19 · · · a0 /* A0 = a mod 221 */A1 ←− a41a40 · · · a21 /* A1 = (a−A0)/221 */B0 ←− b20b19 · · · b0 /* B0 = b mod 221 */B1 ←− b41b40 · · · b21 /* B1 = (b−B0)/221 */c←− (A1)(B1)(221) + (A1)(B0) + (A0)(B1)c←− c mod qc←− (c)(221) + (A0)(B0) mod q

Algorithm 3: multiplication modulo a 42-bit prime

The DFT only gives us the coefficients of Φn(z) modulo a prime q1. Ourresulting polynomial, call it Hn(z), will not equal Φn(z) if A(n) > q1

2 . If theheight of Hn(z) is close to q1

2 , we calculate Φn(z) modulo another prime q2. We

4

Page 5: Calculating cyclotomic polynomials - Simon Fraser University · algorithms were used to calculate cyclotomic polynomials of large height and length. In particular we find cyclotomic

then reconstruct Hn(z) ≡ Φn(z) mod q1q2 by Chinese remaindering. We do thisprocess with primes q1, q2 . . . ql until the height of Hn(z) is less than q1q2...ql

2 bya factor of 220 or more. We then take our solution Hn(z) and use the DFT totest that

Hn(ωj) · Φn/pk(ωj)− Φn/pk

(ωjpk) ≡ 0 mod ql+1, (3)

for some new prime ql+1 with Nth primitive root ω. If equation (3) holds for allj, Hn(z) ≡ Φn(z) (mod Q = q1q2 · · · ql · ql+1). For ql+1 > 240, it follows that allof the coefficients of Φn(z), modulo Q, lie in the interval (−Q

260 , Q260 ). We consider

60 redundant bits sufficient. All our results obtained by this method have beenconsistent with results we have obtained by non-modular algorithms. It is veryunlikely that Φn(z) would have coefficients strictly in such a small range modQprovided its height A(n) were greater than Q

2 . Table 1 lists the primes and theprimitive roots we used in our computations.

q = r ·N + 1 size of q ωq1 2748779069441 = 5 · 239 + 1 42 bits 243q2 4123168604161 = 15 · 238 + 1 42 bits 624392905782q3 2061584302081 = 15 · 237 + 1 41 bits 624392905781q4 206158430209 = 3 · 236 + 1 38 bits 10648q5 2027224563713 = 59 · 235 + 1 41 bits 1609812002788

Table 1: primes and the primitive roots used in our DFT calculations

The brunt of the computation takes place in the last division step, as eachsuccessive division step involves polynomials of greater degree, which requiresus to use larger N for the DFT. For squarefree n with largest prime divisorp, we can compute Φn(z) in O(φ(n

p )p · log(np p)) arithmetic operations. Our

implementation of algorithm 2 modulo one 42-bit prime q requires 20N bytesof storage: 8N bytes are used to store the numerator and the final result; anadditional 4N bytes are used in the DFT computation.

3 Calculating Φn(z) as a quotient of sparse poly-nomials

It is well known thatΦn(z) =

∏d|n

(1− zd

)µ( nd )

, (4)

where µ is the Mobius function. For instance, for n = 105 = 3 · 5 · 7,

Φ105(z) =(1− z3)(1− z5)(1− z7)(1− z105)(1− z)(1− z15)(1− z21)(1− z35)

The sparseness of each term in this quotient lends itself to fast polynomialarithmetic. For the purposes of our algorithm, we treat Φn(z) as a power series.

5

Page 6: Calculating cyclotomic polynomials - Simon Fraser University · algorithms were used to calculate cyclotomic polynomials of large height and length. In particular we find cyclotomic

Multiplying a power series C(z) =∑∞

i=0 cnzn by 1− zd is easy:( ∞∑i=0

cnzn

)(1− zd

)=

d−1∑i=0

cnzi +∞∑

i=d

(ci − ci−d)zi (5)

To divide by 1− zd we merely multiply by the power series for 11−zd :( ∞∑

i=0

cnzn

)(1 + zd + z2d + · · ·

)=

∞∑i=0

(ci + ci−d + ci−2d + · · · )zi (6)

Observe that the coefficients of C(z)(1+zd) and C(n)(1+zd)−1 depend strictlyon coefficients of lesser degree in C(z). In addition, we know that the φ(n) +1 coefficients of Φn(z), {an(0), an(1), . . . an(φ(n))}, are palindromic, that is,an(k) = an(φ(n) − k). So, to calculate the Φn(z) as a power series, we onlyneed compute the first φ(n)

2 + 1 terms. We may select the divisors d of n in

Input: n = p1p2 · · · pk, a product of k distinct primes.Output: an(0), an(1), · · · , an(φ(n)

2 + 1), the first half of the coefficientsof Φn(z)

M ←− φ(n)2

+ 1

an(0)←− 1for 1 ≤ i ≤M do

an(i)←− 0for d|n, d > 0 do

if nd has an even number of prime factors theni←−Mwhile i ≥ d do

ci ←− an(i)− an(i− d)i←− i− 1

elsei←− dwhile i ≤M do

an(i)←− an(i) + an(i− d)i←− i + 1

Algorithm 4: solving Φn(z) as a quotient of sparse power series

any order in algorithm 4. We could select all the values of d correspoding toterms in the denominator first, for instance. That method, however, appears toresult in some intermediate terms to become very large, typically larger thanA(n). We select d in the order given by algorithm 5, using the bits of iterator ito determine which primes divisors p of n to include in our divisor d.

6

Page 7: Calculating cyclotomic polynomials - Simon Fraser University · algorithms were used to calculate cyclotomic polynomials of large height and length. In particular we find cyclotomic

Input: n = p1p2 · · · pk, a product of k distinct primes.Output: d0, d1, · · · , d2k−1, an ordering of the positive divisors of nfor i←− 0 to 2k − 1 do

j ←− idi ←− 1for k ←− 1to k do

if j = 1 mod 2 thendi ←− dipk

j =⌊ j

2

⌋Algorithm 5: ordering the divisors of n

3.1 A comparison of the two algorithms.

Calculating Φn(z) for n, a product of k distinct primes takes O(2kφ(n) arith-metic operations and 4φ(n) bytes of memory to store the terms with 64-bitprecision. We expect that our second approach is slower for n a productof many distinct small primes; however, we currently cannot calculate Φn(z)for odd n with more than 9 distinct prime factors. Calculating Φn(z) wheren = 3 ·5 ·7 ·11 ·13 ·17 ·19 ·23 ·29 ·31, the product of the smallest ten odd primes,would require φ(n)

2 = 122624409600 bytes (approximately 114 GB) of memorymerely to store the polynomial coefficients up to 64-bit precision. In practise,the power series method is appreciably faster than the DFT approach.

Our implementation of algorithm 4 has several advantages. First, we canperform the calculations in memory; aside from a small overhead, all the memoryused in the power series algorithm is to store the coefficients. The power seriesalgorithm makes better use of the memory used to store terms. Using 64-bits ofstorage for one term gives us exactly 64-bit precision using algorithm 4, whereasalgorithm 1 uses 64-bits to store a 42-bit terms. In addition, the arithmeticoperations used in algorithm 4 are strictly additions and substractions, whichtake fewer CPU cycles than multiplication and division operations. In practise,algorithm 4 is approximately 30 times faster than algorithm 1.

4 Results

4.1 Heights and Lengths of cyclotomic polynomials

To find cyclotomic polynomials with large heights, we strictly looked at cyclo-tomic polynomials of squarefree, odd order. For odd n > 1 , it holds that

Φ2n(z) = Φn(−z), (7)

and so A(2n) = A(n); moreoever, for any prime p dividing some integer n,

Φnp(z) = Φn(zp), (8)

7

Page 8: Calculating cyclotomic polynomials - Simon Fraser University · algorithms were used to calculate cyclotomic polynomials of large height and length. In particular we find cyclotomic

thus A(np) = A(n). We also considered the number of prime factors of n.Bang showed that for n = pqr, a product of three primes with p < q < r,that A(n) < p. For n, a product of two primes, A(n) = 1 [1]. Bloom laterproved for n = pqrs, a product of four primes with p < q < r < s, that A(n) <p(p−1)(pq−1) [3]. Bateman proved a more general albeit slightly weaker result[2]: for n = p1p2 · · · pk, a product of k distinct primes with p1 < p2 < · · · pk,

A(n) ≤j−2∏k=1

p2j−k−1−1k . (9)

For instance, for n = p1 · p2 · p3 · p4 · p5, A(n) < p71 · p3

2 · p13 < n2.

Using the two methods detailed in this paper, we have created a library ofdata on A(n) and S(n). We include here our more noteworthy results. Table2 shows those cyclotomic polynomials we have found whose height is greaterthan all those of smaller order. Table 2 also shows the growth of lognA(n),which we found of interest. Our results include the first instances of n such thatA(n) > n, A(n) > n2, A(n) > n3, and A(n) > n4. Tables 3 through 8 havelarge A(n) for n, a product of three distinct primes, up to n, a product of eightprimes. Table 9 shows A(n) for n, a product of the s smallest odd primes, for1 ≤ s ≤ 9. Table 10 shows A(n) for various multiples of 43037115. A(43037115)was is first instance of A(n) such that A(n) > n2. We expected that if order nproduced a large height, that multiplying n by another prime would result inlarge heights as well. Table 10 supports this. Indeed, given for primes p suchthat p - n

Φnp(z) =Φn(zp)Φn(z)

, (10)

it holds that A(np) ≤ A(n)S(n). This follows by inspection of long division.Table 10 notably has the first n we have found for which A(n) > n4.

We include every instance of A(n) which required double-precision (128 bit)arithmetic, for n < 2 · 109, and every instance of A(n) which required triple-precision (192 bit) arithmetic in tables.

Table 11 presents cyclotomic polynomials of large length. In seems, unsur-prisingly, that the cyclotomic polynomials with the greatest heights had thegreatest lengths as well.

4.2 Extreme values for the kth cyclotomic polynomial co-efficient an(k)

Tables 12 and 13 give the the maximum and minimum values of the kth cyclo-tomic polynomial coefficient an(k), and the smallest order n for which we obtainthose extrema. Algorithm 4 tells us that an(k) depends strictly on the divisorsof n that are less than or equal to k. To find the extreme values of an(k) for fixedk, we calculate an(k) for all squarefree n whose prime divisors are not greaterthan k. It is easy to check by inspection whether a non-squarefree order willproduce a larger coefficient. By lemma 2, if p divides n, then anp(k) = an(k

p )

8

Page 9: Calculating cyclotomic polynomials - Simon Fraser University · algorithms were used to calculate cyclotomic polynomials of large height and length. In particular we find cyclotomic

if p|k , and 0 otherwise. Thus to prove that some non-squarefree order n willnot produce a larger coefficient an(k), it suffices to show that for every positivedivisor d of k, that

maxn

an(d) < maxn

an(k), (11)

and similarly for the minimum values. To find the minimum and maximumvalues of an(k) for 0 ≤ k ≤ K, where there are P primes less than or equalto K, we need to calculate the the first K + 1 terms of some 2P cyclotomicpolynomials. Tenatively we have results for K = 138. We find the k = 119 isthe smallest k > 0 such that an(k) > k for some n, as min

nan(119) = −136.

Tables 14 and 15 show, for −248 ≤ a ≤ 248, the smallest k such thatan(k) = a, and for that a and k, the smallest order n. We extend results from[4] and [7].

References

[1] A. S. Bang. Om ligningen φn(x) = 0. Nyt Tidsskrift for Mathematik,(6):6–12, 1895.

[2] P. T. Bateman, C. Pomerance, and R. C. Vaughan. On the size of thecoefficients of the cyclotomic polynomial. In Topics in classical numbertheory, Vol. I, II (Budapest, 1981), volume 34 of Colloq. Math. Soc. JanosBolyai, pages 171–202. North-Holland, Amsterdam, 1984.

[3] D. M. Bloom. On the coefficients of the cyclotomic polynomials. Amer.Math. Monthly, 75:372–377, 1968.

[4] Wieb Bosma. Computation of cyclotomic polynomials with Magma. InComputational algebra and number theory (Sydney, 1992), volume 325 ofMath. Appl., pages 213–225. Kluwer Acad. Publ., Dordrecht, 1995.

[5] Paul Erdos and R.C. Vaughn. On the coefficients of the cyclotomic poly-nomial. Bull. Amer. Math. Soc., 52:179–184, 1946.

[6] Keith O. Geddes, Stephen R. Czapor, and George Labahn. Algorithmsfor Computer Algebra. Kluwer Academic Publishers, 101 Philip Drive,Assinippi Park, Norwell, Massachusetts 02061 USA, 1992.

[7] A. Grytczuk and B. Tropak. A numerical method for the determinationof the cyclotomic polynomial coefficients. In Computational number theory(Debrecen, 1989), pages 15–19. de Gruyter, Berlin, 1991.

[8] Yoichi Koshiba. On the calculations of the coefficients of the cyclotomicpolynomials. Rep. Fac. Sci. Kagoshima Univ., (31):31–44, 1998.

[9] Yoichi Koshiba. On the calculations of the coefficients of the cyclotomicpolynomials. II. Rep. Fac. Sci. Kagoshima Univ., (33):55–59, 2000.

9

Page 10: Calculating cyclotomic polynomials - Simon Fraser University · algorithms were used to calculate cyclotomic polynomials of large height and length. In particular we find cyclotomic

[10] Helmut Maier. The size of the coefficients of cyclotomic polynomials. InAnalytic number theory, Vol. 2 (Allerton Park, IL, 1995), volume 139 ofProgr. Math., pages 633–639. Birkhauser Boston, Boston, MA, 1996.

[11] R. Thangadurai. On the coefficients of cyclotomic polynomials. InCyclotomic fields and related topics (Pune, 1999), pages 311–322.Bhaskaracharya Pratishthana, Pune, 2000.

10

Page 11: Calculating cyclotomic polynomials - Simon Fraser University · algorithms were used to calculate cyclotomic polynomials of large height and length. In particular we find cyclotomic

5 Appendix

Table 2: n such that A(n) > A(m) for m < nn A(n) lognA(n)

1 1 -105 2 0.15385 3 0.18

1365 4 0.191785 5 0.212805 6 0.233135 7 0.246545 9 0.25

10465 14 0.2911305 23 0.3417255 25 0.3320615 27 0.3326565 59 0.4040755 359 0.55

106743 397 0.52171717 434 0.50255255 532 0.50279565 1182 0.56327845 31010 0.81707455 35111 0.77886445 44125 0.78983535 59815 0.80

1181895 14102773 1.181752465 14703509 1.153949491 56938657 1.188070699 74989473 1.14

10163195 1376877780831 1.7313441645 1475674234751 1.7115069565 1666495909761 1.7030489585 2201904353336 1.6537495115 2286541988726 1.6340324935 2699208408726 1.6343730115 862550638890874931 2.35

169828113 31484567640915734941 2.37185626077 42337944402802720258 2.37416690995 80103182105128365570406901971 3.35437017385 86711753206816303264095919005 3.35

11

Page 12: Calculating cyclotomic polynomials - Simon Fraser University · algorithms were used to calculate cyclotomic polynomials of large height and length. In particular we find cyclotomic

Table 3: A(n) for n a product of three distinct odd primes, n < 5 · 106

n factorization of n A(n)105 3 · 5 · 7 2385 5 · 7 · 11 3

2431 11 · 13 · 17 42717 11 · 13 · 19 58671 13 · 23 · 29 6

17119 17 · 19 · 53 719499 17 · 31 · 37 820213 17 · 29 · 41 1034891 23 · 37 · 41 1293439 41 · 43 · 53 17

282367 41 · 71 · 97 26617927 53 · 89 · 131 28849647 73 · 103 · 113 33874507 71 · 109 · 113 34

1188311 83 · 103 · 139 351713869 71 · 101 · 239 371941619 83 · 149 · 157 392059451 79 · 131 · 199 412702873 109 · 137 · 181 452857871 109 · 157 · 167 493302809 109 · 157 · 193 544455677 103 · 181 · 239 58

12

Page 13: Calculating cyclotomic polynomials - Simon Fraser University · algorithms were used to calculate cyclotomic polynomials of large height and length. In particular we find cyclotomic

Table 4: A(n) for n a product of four distinct odd primes, n < 5 · 106

n factorization of n A(n)1155 3 · 5 · 7 · 11 31365 3 · 5 · 7 · 13 41785 3 · 5 · 7 · 17 52805 3 · 5 · 11 · 17 63135 3 · 5 · 11 · 19 76545 5 · 7 · 11 · 17 9

10465 5 · 7 · 13 · 23 1411305 5 · 7 · 17 · 19 2317255 5 · 7 · 17 · 29 2520615 5 · 7 · 19 · 31 2731535 5 · 7 · 17 · 53 3040579 7 · 11 · 17 · 31 3246189 11 · 13 · 17 · 19 3899671 11 · 13 · 17 · 41 44

104951 7 · 11 · 29 · 47 49111397 11 · 13 · 19 · 41 67141491 7 · 17 · 29 · 41 68151249 7 · 17 · 31 · 41 82192907 11 · 13 · 19 · 71 103293227 11 · 19 · 23 · 61 119312169 11 · 13 · 37 · 59 186322751 11 · 13 · 37 · 61 340608399 11 · 19 · 41 · 71 551

1523591 17 · 19 · 53 · 89 1732

13

Page 14: Calculating cyclotomic polynomials - Simon Fraser University · algorithms were used to calculate cyclotomic polynomials of large height and length. In particular we find cyclotomic

Table 5: A(n) for n a product of five distinct odd primes, n < 108

n factorization of n A(n)15015 3 · 5 · 7 · 11 · 13 2321945 3 · 5 · 7 · 11 · 19 2525935 3 · 5 · ·7 · 13 · 19 2726565 3 · 5 · 7 · 11 · 23 5940755 3 · 5 · 11 · 13 · 19 359

106743 3 · 7 · 13 · 17 · 23 397171717 3 · 7 · 13 · 17 · 37 434279565 5 · 11 · 13 · 17 · 23 585327845 5 · 7 · 17 · 19 · 29 31010707455 5 · 7 · 17 · 29 · 41 35111886445 5 · 7 · 19 · 31 · 43 44125

2448017 11 · 13 · 17 · 19 · 53 634826278645 5 · 19 · 29 · 43 · 53 666047499023 7 · 17 · 29 · 41 · 53 703377897901 11 · 19 · 23 · 31 · 53 755262

10878241 11 · 19 · 23 · 31 · 73 79944911948671 7 · 17 · 31 · 41 · 79 150346419042309 11 · 13 · 37 · 59 · 61 4484306948063521 11 · 19 · 41 · 71 · 79 14793390361448299 11 · 19 · 41 · 71 · 101 243750890

14

Page 15: Calculating cyclotomic polynomials - Simon Fraser University · algorithms were used to calculate cyclotomic polynomials of large height and length. In particular we find cyclotomic

Table 6: A(n) for n a product of six distinct primes, n < 6 · 108

n factorization of n A(n)255255 3 · 5 · 7 · 11 · 13 · 17 532285285 3 · 5 · 7 · 11 · 13 · 19 1182345345 3 · 5 · 7 · 11 · 13 · 23 1311373065 3 · 5 · 7 · 11 · 17 · 19 5477636405 3 · 5 · 7 · 11 · 19 · 29 5907823515 3 · 5 · 7 · 11 · 23 · 31 9642982905 3 · 5 · 7 · 11 · 23 · 37 19204983535 3 · 5 · 7 · 17 · 19 · 29 59518

1181895 3 · 5 · 11 · 13 · 19 · 29 141027731752465 3 · 5 · 11 · 13 · 19 · 43 147035093949491 3 · 7 · 13 · 17 · 23 · 37 569386578070699 3 · 7 · 13 · 17 · 37 · 47 74989473

10163195 5 · 7 · 17 · 19 · 29 · 31 137687778083113441645 5 · 7 · 17 · 19 · 29 · 41 147567423475115069565 5 · 7 · 17 · 19 · 31 · 43 166649590976137495115 5 · 7 · 17 · 29 · 41 · 53 2286541988726

187158797 7 · 17 · 19 · 23 · 59 · 61 3699907117060217873513 11 · 13 · 17 · 19 · 53 · 89 18704463463469420669215 5 · 19 · 29 · 43 · 53 · 67 44300418456914576546773 11 · 19 · 23 · 31 · 53 · 73 1114044775319814

Table 7: Large A(n) for n a product of seven distinct primes, n < 2 · 109

n factorization of n A(n)4849845 3 · 5 · 7 · 11 · 13 · 17 · 19 6696068273265 3 · 5 · 7 · 11 · 13 · 19 · 29 39492584

10555545 3 · 5 · 7 · 11 · 13 · 19 · 37 8883535011565015 3 · 5 · 7 · 11 · 17 · 19 · 31 19775685012267255 3 · 5 · 7 · 11 · 13 · 19 · 43 31010205118723705 3 · 5 · 7 · 11 · 13 · 29 · 43 53761137623881935 3 · 5 · 7 · 11 · 23 · 29 · 31 509066363528504245 3 · 5 · 7 · 11 · 23 · 29 · 37 538309411130470055 3 · 5 · 7 · 11 · 23 · 31 · 37 992792168330489585 3 · 5 · 7 · 17 · 19 · 29 · 31 220190435333640324935 3 · 5 · 7 · 17 · 19 · 29 · 41 269920840872643730115 3 · 5 · 11 · 13 · 19 · 29 · 37 862550638890874931

169828113 3 · 7 · 13 · 17 · 23 · 37 · 43 31484567640915734941185626077 3 · 7 · 13 · 17 · 23 · 37 · 47 42337944402802720258416690995 5 · 7 · 17 · 19 · 29 · 31 · 41 80103182105128365570406901971437017385 5 · 7 · 17 · 19 · 29 · 31 · 43 86711753206816303264095919005

15

Page 16: Calculating cyclotomic polynomials - Simon Fraser University · algorithms were used to calculate cyclotomic polynomials of large height and length. In particular we find cyclotomic

Table 8: Large A(n) for n a product of eight distinct primes, n < 2 · 109

n factorization of n A(n)111546435 3 · 5 · 7 · 11 · 13 · 17 · 19 · 23 8161018310140645505 3 · 5 · 7 · 11 · 13 · 17 · 19 · 29 117507620687150345195 3 · 5 · 7 · 11 · 13 · 17 · 19 · 31 267005512042179444265 3 · 5 · 7 · 11 · 13 · 17 · 19 · 37 6835146783975256471215 3 · 5 · 7 · 11 · 13 · 19 · 29 · 31 15042686880024306110805 3 · 5 · 7 · 11 · 13 · 19 · 29 · 37 4722828832054556497355750395 3 · 5 · 7 · 11 · 13 · 19 · 29 · 43 17166282457296523747453888435 3 · 5 · 7 · 11 · 13 · 19 · 37 · 43 158593117761364835221723768045 3 · 5 · 7 · 11 · 13 · 19 · 43 · 59 162406736625142681947849140565 3 · 5 · 7 · 13 · 17 · 23 · 37 · 43 184827893605787643634883631595 3 · 5 · 7 · 11 · 23 · 29 · 31 · 37 1849665046688563418718846

Table 9: A(n) for n a product of the smallest odd primesn factorization of n A(n)

105 3 · 5 · 7 31155 3 · 5 · 7 · 11 3

15015 3 · 5 · 7 · 11 · 13 23255255 3 · 5 · 7 · 11 · 13 · 17 532

4849845 3 · 5 · 7 · 11 · 13 · 17 · 19 669606*111546435 3 · 5 · 7 · 11 · 13 · 17 · 19 · 23 8161018310

3234846615 3 · 5 · 7 · 11 · 13 · 17 · 19 · 23 · 29 2888582082500892851*(Koshiba,2002).

Table 10: A(n) for n a multiple of m = 43730115n A(n)

7m = 306110805 472282883205455649717m = 743411955 645630225730653482123m = 1005792645 126578909943649606127331m = 1355633565 23402413605839956407141m = 1792934715 3598655932254903875643m = 1880394945 6454099703601091156682644618152388897156347m = 2055315405 44038002270179294436953m = 2317696095 6707596266692301982360203066315311880336759m = 2580076785 4417542239616800384985305278811989429932361m = 2667537015 50961134639969020986073186655691393930064

16

Page 17: Calculating cyclotomic polynomials - Simon Fraser University · algorithms were used to calculate cyclotomic polynomials of large height and length. In particular we find cyclotomic

Table 11: S(n) such that S(n) > S(m) for n > m, for n < 109

n S(n)8645 108538671 11535

10439 1415510465 2074711305 4889317255 8151720615 9815726565 15214933915 16716336295 18795940579 19015740755 189674562205 197594990915 2343245

106743 6362025145145 6708527171717 10258345215215 10273187267995 15409275269997 15904365279565 27024801327845 1967355537350455 2129823789534905 2220988517597835 2505846229707455 4976000157886445 6564013961983535 6689950767

1051365 85051115951181895 21894853432131507935 22828001653091752465 31807204016692301585 35438665185493568565 43000310270273949491 320857270230854589949 369875141152177383831 369997940111778070699 89647642675785

10163195 253719439416898854913441645 370181783130652171715069565 432174736421678529721931105 4442144031939491241

Continued on Next Page. . .

17

Page 18: Calculating cyclotomic polynomials - Simon Fraser University · algorithms were used to calculate cyclotomic polynomials of large height and length. In particular we find cyclotomic

Table 11 – Continuedn S(n)

25706905 539972390841849947730489585 1066636106159054019136344245 607812887566246208537495115 1391552393286506764140324935 1436021024569916374743730115 432416420033527916357271350821485 435197081202500166448135364841205 452831797473215671505411792880645 480658324055366104377780198968155 5074045637476887470242065

103395435 7581550465553483759465045121984005 9053764793361253191029937169828113 669657915156684858719010851185626077 929269558387565871528659741243267297 1146268207629720198825188953347040057 1170940535267962192355779041416690995 5501746103867884872877328368176745657437017385 5897388782588085291629368825547154125617852165 6407997735029917898749762405654076395798686945 6766416887316797841172598038974721465943037515 6778652567504059310781549273387619801

18

Page 19: Calculating cyclotomic polynomials - Simon Fraser University · algorithms were used to calculate cyclotomic polynomials of large height and length. In particular we find cyclotomic

Table 12: The maximum values of an(k) for fixed k, 0 ≤ k ≤ 138

k maxn

an(k) n

0 1 11 1 22 1 33 1 54 1 55 1 76 1 77 2 2108 1 119 1 11

10 1 1111 2 77012 1 1313 2 85814 1 1715 2 143016 2 16517 3 64664618 3 1501519 3 64664620 2 392721 3 212469422 3 37306523 4 212469424 3 1130525 3 212469426 3 202811727 3 212469428 4 3718214529 4 309554730 5 3718214531 4 1021443832 4 4075533 4 4075534 5 27514787335 5 1001500536 6 21565644137 5 1349848538 5 10348838539 6 17025508540 6 17596892049

Continued on Next Page. . .

19

Page 20: Calculating cyclotomic polynomials - Simon Fraser University · algorithms were used to calculate cyclotomic polynomials of large height and length. In particular we find cyclotomic

Table 12 – Continuedk max

nan(k) n

41 6 6317157042 6 95504995343 7 13110424327044 6 95504995345 7 13110424327046 8 84590465095547 9 15029023009048 9 1791771278549 7 492501527750 8 187285295783351 8 1484983552 10 3070457318428553 13 29158383119365554 12 2572545320845555 10 1459186228556 12 39742876191695176557 9 1845527702758 11 72879255025559 15 44242069722830479560 13 5792796543390561 13 12709115456037062 12 49889993517234370563 15 37894370322314005564 12 88732491080031298565 16 284891633281566 15 99396933355429636426567 15 6362579809953568 14 378333179053569 16 189174808644204791908570 24 109173680898586649845571 17 2572545320845572 21 6362579809953573 21 118950428441743663264574 16 11149515086209575 22 825958889897002900576 28 498283344742464205414990577 26 125652727071958219633578 21 428102591961835444088935579 28 185241545929491217666580 24 472831211971778780480860581 25 158739517280173369039582 35 161593689002322126049583 34 23806785138997669045785703155

Continued on Next Page. . .

20

Page 21: Calculating cyclotomic polynomials - Simon Fraser University · algorithms were used to calculate cyclotomic polynomials of large height and length. In particular we find cyclotomic

Table 12 – Continuedk max

nan(k) n

84 33 2203866279000460895821290790585 28 124774873786603160620586 34 2380678513899766904578570315587 36 416373753825894746990608588 37 652057010708476679249443589 49 16738550631229261106091927888280590 43 2036484029962451207531066173591 33 110649416376799029229592 44 16738550631229261106091927888280593 48 2315454445025800688014773868594 49 2482836694063810376304998485595 55 2265947019253995005562735601596 53 13353225784463792567781200899639597 53 3348117811972165544584973200598 48 14318519214665994440150926265878599 60 194825753248734022710250308207855

100 70 163957329252276946718326137628485101 66 162491060750703981848903769983565102 65 1152783981972759212376551073665878035102 65 1152783981972759212376551073665878035103 70 165708705518044654756802854537695104 65 162491060750703981848903769983565105 68 177378670868250378885451773144465106 91 1741311422166780032866743258217820415107 86 1385931304169497030610010841373583705108 78 1224090207661795864688502686469952965109 87 205000226831908928153260689867705110 86 1385931304169497030610010841373583705111 86 1594947701085598362329200800551420295112 109 13999349255222447011223909612254419461265113 110 13417252766180944472850677946397154449365114 98 12690998857538106169053450769987651287315115 104 1200321465765450313917852148868594655116 108 13417252766180944472850677946397154449365117 116 1625751858694977007458356707961261115118 124 1634172597969829945454425214724713205119 136 12942305765608167677351538904046812698945120 136 139867498408927468089138080936033904837498615121 118 143185192146659944401509262658785122 132 12942305765608167677351538904046812698945123 153 145000250644117466918097276566714048134287555124 147 12458136493179608808153387453107143924245125 162 12942305765608167677351538904046812698945Continued on Next Page. . .

21

Page 22: Calculating cyclotomic polynomials - Simon Fraser University · algorithms were used to calculate cyclotomic polynomials of large height and length. In particular we find cyclotomic

Table 12 – Continuedk max

nan(k) n

126 174 2007238469666518094547220599513022568322942623865127 150 17112767349289348190638922742213015822015128 156 171239647584761666539038211239443378819741295129 187 145000250644117466918097276566714048134287555130 191 2412369169966182297116384390240421618810142052535131 196 171239647584761666539038211239443378819741295132 201 2007238469666518094547220599513022568322942623865133 194 139867498408927468089138080936033904837498615134 198 2326975571029326286598990252532796074781464457755135 213 162938425981534060763635083977029188109663335136 237 2070458578947353310123511012096109893309491997845137 248 2433554604816929017282913470206053910267638402385138 229 153446867186493241690025273259920691714925665

22

Page 23: Calculating cyclotomic polynomials - Simon Fraser University · algorithms were used to calculate cyclotomic polynomials of large height and length. In particular we find cyclotomic

Table 13: The minimum values of an(k) for fixed k, 0 ≤ k ≤ 138

k minn

an(k) n

0 1 11 -1 12 0 13 -1 104 -1 155 -1 146 -1 357 -2 1058 -1 219 -1 22

10 -1 3311 -2 38512 -1 5513 -2 42914 -2 71515 -2 71516 -2 100117 -3 32332318 -2 154719 -3 32332320 -3 106234721 -3 106234722 -3 106234723 -4 106234724 -3 2656525 -3 106234726 -3 106234727 -3 106234728 -3 1501529 -4 280073330 -3 247123531 -4 510721932 -4 667867133 -4 8151034 -4 667867135 -5 2003001036 -3 4075537 -5 2699697038 -4 151903539 -6 34051017040 -5 26565

Continued on Next Page. . .

23

Page 24: Calculating cyclotomic polynomials - Simon Fraser University · algorithms were used to calculate cyclotomic polynomials of large height and length. In particular we find cyclotomic

Table 13 – Continuedk min

nan(k) n

41 -6 3158578542 -6 1415914543 -7 6555212163544 -7 1484983545 -7 6555212163546 -7 1349848547 -9 7514511504548 -7 3362472613549 -7 985003055450 -7 1845527702751 -8 2969967052 -7 125007298553 -13 58316766238731054 -10 5602868787869555 -10 2918372457056 -6 53864933557 -9 3691055405458 -9 5025298393559 -15 88484139445660959060 -11 6354557728018561 -13 6354557728018562 -14 3338835416416563 -15 75788740644628011064 -13 2728043818565 -16 569783266563066 -14 6362579809953567 -15 12725159619907068 -12 12598646131569 -16 378349617288409583817070 -11 1845527702771 -17 5145090641691072 -13 1332916473553573 -21 237900856883487326529074 -14 20171444716575 -22 1651917779794005801076 -18 22974170247451577 -26 251305454143916439267078 -23 6354557728018579 -28 370483091858982435333080 -26 60708578627953412656581 -25 317479034560346738079082 -22 3827445477355583 -34 47613570277995338091571406310

Continued on Next Page. . .

24

Page 25: Calculating cyclotomic polynomials - Simon Fraser University · algorithms were used to calculate cyclotomic polynomials of large height and length. In particular we find cyclotomic

Table 13 – Continuedk min

nan(k) n

84 -20 199461778152554131585 -28 249549747573206321241086 -16 14137946179587 -36 832747507651789493981217088 -26 1393404978379816589 -49 33477101262458522212183855776561090 -32 44735298643783058591 -33 221298832753598058459092 -28 45342527427268593 -48 4630908890051601376029547737094 -30 132492039817052800595 -55 4531894038507990011125471203096 -38 23594472844132690597 -53 6696235623944331089169946401098 -46 70948579842307000333599 -60 389651506497468045420500616415710

100 -37 135547954890662667255101 -66 324982121501407963697807539967130102 -46 4653813117912751575755103 -70 331417411036089309513605709075390104 -32 88443576399117833985105 -68 354757341736500757770903546288930106 -31 13123555402670743525495107 -86 2771862608338994061220021682747167410108 -46 15579959491496003211465109 -87 410000453663817856306521379735410110 -43 3072687731927394735111 -86 3189895402171196724658401601102840590112 -52 135547954890662667255113 -110 26834505532361888945701355892794308898730114 -64 2586190168445384205705115 -104 2400642931530900627835704297737189310116 -72 5947619448180595837957305117 -116 3251503717389954014916713415922522230118 -61 16967557590696276096628095119 -136 25884611531216335354703077808093625397890120 -46 7605359744821280186745121 -118 286370384293319888803018525317570122 -44 56554978028283476184838395123 -153 290000501288234933836194553133428096268575110124 -79 1577642646972422784180945125 -162 25884611531216335354703077808093625397890126 -87 66786872055165897863660005Continued on Next Page. . .

25

Page 26: Calculating cyclotomic polynomials - Simon Fraser University · algorithms were used to calculate cyclotomic polynomials of large height and length. In particular we find cyclotomic

Table 13 – Continuedk min

nan(k) n

127 -150 34225534698578696381277845484426031644030128 -72 201034309740817700757609615129 -187 290000501288234933836194553133428096268575110130 -77 20578315170319922124794685131 -196 342479295169523333078076422478886757639482590132 -93 10502518274056705259368005133 -194 279734996817854936178276161872067809674997230134 -113 45029426842175291089174756155135 -213 325876851963068121527270167954058376219326670136 -109 1577642646972422784180945137 -248 4867109209633858034565826940412107820535276804770138 -120 66786872055165897863660005

26

Page 27: Calculating cyclotomic polynomials - Simon Fraser University · algorithms were used to calculate cyclotomic polynomials of large height and length. In particular we find cyclotomic

Table 14: Least k for which a occurs as an(k), 0 < a ≤ 248

a k n

0 1 41 0 12 7 2103 17 6466464 23 21246945 30 371821456 36 2156564417 43 1311042432708 46 8459046509559 47 150290230090

10 52 3070457318428511 53 12794376094512 53 284891633281513 53 29158383119365514 59 15954586989841515 59 44242069722830479516 65 284891633281517 70 284891633281518 70 15954586989841519 70 17679407204959520 70 15212513176360521 70 38594145928426588522 70 30744489129424570523 70 96138017507710631953524 70 109173680898586649845525 76 39742876191695176526 76 96138017507710631953527 76 166482908367011094358528 76 498283344742464205414990529 82 39742876191695176530 82 30744489129424570531 82 38594145928426588532 82 99396933355429636426533 82 34669317528925579534 82 96138017507710631953535 82 161593689002322126049536 87 416373753825894746990608537 88 652057010708476679249443538 89 9797030402988489811539 89 115691512594024658791540 89 135245007680338685629541 89 961380175077106319535

Continued on Next Page. . .

27

Page 28: Calculating cyclotomic polynomials - Simon Fraser University · algorithms were used to calculate cyclotomic polynomials of large height and length. In particular we find cyclotomic

Table 14 – Continueda k n

42 89 118950428441743663264543 89 109173680898586649845544 89 428102591961835444088935545 89 392916077554013352793954546 89 470211043630212700884568547 89 2380678513899766904578570315548 89 2265947019253995005562735601549 89 16738550631229261106091927888280550 95 392916077554013352793954551 95 463289106369657535383916552 95 428102591961835444088935553 95 2036484029962451207531066173554 95 2401227438313935005894839219555 95 2265947019253995005562735601556 99 457328549284179476202799557 99 534623515360378824293413558 99 2971263584699314056889588351559 99 2770953680112843446312762170560 99 19482575324873402271025030820785561 100 457328549284179476202799562 100 515174305581191805598549563 100 428102591961835444088935564 100 392916077554013352793954565 100 416373753825894746990608566 100 2203866279000460895821290790567 100 2482836694063810376304998485568 100 2036484029962451207531066173569 100 15043507529332627070031985823644570 100 16395732925227694671832613762848571 106 118950428441743663264572 106 585667360882397261711743573 106 99396933355429636426574 106 96138017507710631953575 106 109173680898586649845576 106 498283344742464205414990577 106 554427946966967214475834578 106 416373753825894746990608579 106 463289106369657535383916580 106 428102591961835444088935581 106 486150401041406351762011582 106 470211043630212700884568583 106 2637413743721863039261544716584 106 3929160775540133527939545

Continued on Next Page. . .

28

Page 29: Calculating cyclotomic polynomials - Simon Fraser University · algorithms were used to calculate cyclotomic polynomials of large height and length. In particular we find cyclotomic

Table 14 – Continueda k n

85 106 2203866279000460895821290790586 106 2036484029962451207531066173587 106 2265947019253995005562735601588 106 13353225784463792567781200899639589 106 16738550631229261106091927888280590 106 120032146576545031391785214886859465591 106 174131142216678003286674325821782041592 112 470211043630212700884568593 112 428102591961835444088935594 112 2706013026114489960691964641595 112 2817601192139829752885447719596 112 2482836694063810376304998485597 112 2203866279000460895821290790598 112 2315454445025800688014773868599 112 22659470192539950055627356015

100 112 23806785138997669045785703155101 112 20364840299624512075310661735102 112 156055771216022636033105600875305103 112 162491060750703981848903769983565104 112 143185192146659944401509262658785105 112 150435075293326270700319858236445106 112 133532257844637925677812008996395107 112 1200321465765450313917852148868594655108 112 1271627691454486966229803761672669585109 112 13999349255222447011223909612254419461265110 113 13417252766180944472850677946397154449365111 117 133532257844637925677812008996395112 117 163957329252276946718326137628485113 117 150435075293326270700319858236445114 117 170718456231752284727329277324505115 117 1473812432648717474051033651142451665116 117 1625751858694977007458356707961261115117 118 167385506312292611060919278882805118 118 156055771216022636033105600875305119 118 133532257844637925677812008996395120 118 162491060750703981848903769983565121 118 1152783981972759212376551073665878035122 118 143185192146659944401509262658785123 118 1200321465765450313917852148868594655124 118 1634172597969829945454425214724713205125 119 165708705518044654756802854537695126 119 156055771216022636033105600875305127 119 180860146700965291740833986868535Continued on Next Page. . .

29

Page 30: Calculating cyclotomic polynomials - Simon Fraser University · algorithms were used to calculate cyclotomic polynomials of large height and length. In particular we find cyclotomic

Table 14 – Continueda k n

128 119 150435075293326270700319858236445129 119 133532257844637925677812008996395130 119 163957329252276946718326137628485131 119 1295396433350832517000454299274027895132 119 1224090207661795864688502686469952965133 119 1152783981972759212376551073665878035134 119 1334120788125777515447019781882982445135 119 12704832265321779279601969382871641823735136 119 12942305765608167677351538904046812698945137 123 22659470192539950055627356015138 123 25527757558684247531023223865139 123 20364840299624512075310661735140 123 182431394520139137897855843276765141 123 165708705518044654756802854537695142 123 156055771216022636033105600875305143 123 133532257844637925677812008996395144 123 143185192146659944401509262658785145 123 183059549453324739044967538335915146 123 1224090207661795864688502686469952965147 123 1152783981972759212376551073665878035148 123 1271627691454486966229803761672669585149 123 1200321465765450313917852148868594655150 123 11992411764462614086353260819346129198105151 123 13156723586255100890853577403748666013455152 123 12458136493179608808153387453107143924245153 123 145000250644117466918097276566714048134287555154 125 1334120788125777515447019781882982445155 125 1271627691454486966229803761672669585156 125 1200321465765450313917852148868594655157 125 1152783981972759212376551073665878035158 125 1295396433350832517000454299274027895159 125 1224090207661795864688502686469952965160 125 11992411764462614086353260819346129198105161 125 13476009096148710674355726075347712191685162 125 12942305765608167677351538904046812698945163 126 172143995052726000572601023645955164 126 133532257844637925677812008996395165 126 1509315110417942473936309137686252685166 126 1200321465765450313917852148868594655167 126 1271627691454486966229803761672669585168 126 1152783981972759212376551073665878035169 126 1385931304169497030610010841373583705170 126 11992411764462614086353260819346129198105Continued on Next Page. . .

30

Page 31: Calculating cyclotomic polynomials - Simon Fraser University · algorithms were used to calculate cyclotomic polynomials of large height and length. In particular we find cyclotomic

Table 14 – Continueda k n

171 126 12458136493179608808153387453107143924245172 126 147710535702886017701613113511886273333059285173 126 139867498408927468089138080936033904837498615174 126 2007238469666518094547220599513022568322942623865175 129 1402785327460827475301586246268116645176 129 1561365646469433363598619808636062655177 129 133532257844637925677812008996395178 129 1411836562191356788191506371118884335179 129 1295396433350832517000454299274027895180 129 1152783981972759212376551073665878035181 129 1342933917143523618541755374476744515182 129 1271627691454486966229803761672669585183 129 13156723586255100890853577403748666013455184 129 12458136493179608808153387453107143924245185 129 13938311126032631636844879031694131321185186 129 153446867186493241690025273259920691714925665187 129 145000250644117466918097276566714048134287555188 130 11992411764462614086353260819346129198105189 130 168097635702472461648413656904774692969837785190 130 145000250644117466918097276566714048134287555191 130 2412369169966182297116384390240421618810142052535192 131 11992411764462614086353260819346129198105193 131 13444919581748290693947715172165135522205194 131 12690998857538106169053450769987651287315195 131 139867498408927468089138080936033904837498615196 131 171239647584761666539038211239443378819741295197 132 13228742874201027909688648532680781692755198 132 13970541540044076203689881160681573189545199 132 145000250644117466918097276566714048134287555200 132 162938425981534060763635083977029188109663335201 132 2007238469666518094547220599513022568322942623865202 135 1389136078357768340826278329589497185203 135 1152783981972759212376551073665878035204 135 1489555553901703401608900859439340355205 135 1224090207661795864688502686469952965206 135 1634172597969829945454425214724713205207 135 1200321465765450313917852148868594655208 135 15701405093677855556359423959350086682055209 135 13156723586255100890853577403748666013455210 135 17225813355199977455035096188413201893905211 135 13970541540044076203689881160681573189545212 135 189845688987658951531941795092501898072727005213 135 162938425981534060763635083977029188109663335Continued on Next Page. . .

31

Page 32: Calculating cyclotomic polynomials - Simon Fraser University · algorithms were used to calculate cyclotomic polynomials of large height and length. In particular we find cyclotomic

Table 14 – Continueda k n

214 136 174099019721489953731830847172515215 136 180860146700965291740833986868535216 136 1402785327460827475301586246268116645217 136 150435075293326270700319858236445218 136 133532257844637925677812008996395219 136 1470056626611618923787032407041312555220 136 1389136078357768340826278329589497185221 136 1443083110527002062800114381224040765222 136 1557386723242012127180321460924954885223 136 1200321465765450313917852148868594655224 136 1295396433350832517000454299274027895225 136 1224090207661795864688502686469952965226 136 1271627691454486966229803761672669585227 136 1385931304169497030610010841373583705228 136 13228742874201027909688648532680781692755229 136 1152783981972759212376551073665878035230 136 12690998857538106169053450769987651287315231 136 11992411764462614086353260819346129198105232 136 12458136493179608808153387453107143924245233 136 13444919581748290693947715172165135522205234 136 12704832265321779279601969382871641823735235 136 139867498408927468089138080936033904837498615236 136 156485419011968355386857456888830012342943995237 136 2070458578947353310123511012096109893309491997845238 137 13417252766180944472850677946397154449365239 137 1200321465765450313917852148868594655240 137 14513086842570059745580750331970177973605241 137 13156723586255100890853577403748666013455242 137 12458136493179608808153387453107143924245243 137 13228742874201027909688648532680781692755244 137 11992411764462614086353260819346129198105245 137 145000250644117466918097276566714048134287555246 137 139867498408927468089138080936033904837498615247 137 2007238469666518094547220599513022568322942623865248 137 2433554604816929017282913470206053910267638402385

32

Page 33: Calculating cyclotomic polynomials - Simon Fraser University · algorithms were used to calculate cyclotomic polynomials of large height and length. In particular we find cyclotomic

Table 15: Least k for which a occurs as an(k), −248 ≤ a < 0

a k n

-1 1 1-2 7 105-3 17 323323-4 23 1062347-5 35 20030010-6 39 340510170-7 43 65552121635-8 47 23473865415-9 47 75145115045

-10 53 2500145970-11 53 255887521890-12 53 5697832665630-13 53 583167662387310-14 59 319091739796830-15 59 884841394456609590-16 65 5697832665630-17 71 51450906416910-18 73 304250263527210-19 73 693386350578511590-20 73 614889782588491410-21 73 2379008568834873265290-22 75 16519177797940058010-23 77 23287042104429810-24 77 798048441231871830-25 77 1987938667108592728530-26 77 2513054541439164392670-27 79 794857523833903530-28 79 3704830918589824353330-29 83 2183473617971732996910-30 83 1987938667108592728530-31 83 2513054541439164392670-32 83 7858321551080267055879090-33 83 9723008020828127035240230-34 83 47613570277995338091571406310-35 87 9146570985683589524055990-36 87 8327475076517894939812170-37 89 30158628299179590-38 89 195940608059769796230-39 89 2313830251880493175830-40 89 2704900153606773712590-41 89 1922760350154212639070-42 89 2379008568834873265290

Continued on Next Page. . .

33

Page 34: Calculating cyclotomic polynomials - Simon Fraser University · algorithms were used to calculate cyclotomic polynomials of large height and length. In particular we find cyclotomic

Table 15 – Continueda k n

-43 89 2183473617971732996910-44 89 8562051839236708881778710-45 89 7858321551080267055879090-46 89 9404220872604254017691370-47 89 47613570277995338091571406310-48 89 45318940385079900111254712030-49 89 334771012624585222121838557765610-50 95 7858321551080267055879090-51 95 9265782127393150707678330-52 95 8562051839236708881778710-53 95 40729680599249024150621323470-54 95 48024548766278700117896784390-55 95 45318940385079900111254712030-56 99 9146570985683589524055990-57 99 10692470307207576485868270-58 99 59425271693986281137791767030-59 99 55419073602256868926255243410-60 99 389651506497468045420500616415710-61 101 10177170533366247498597510-62 101 40729680599249024150621323470-63 101 52748274874437260785230894330-64 101 44077325580009217916425815810-65 101 286370384293319888803018525317570-66 101 324982121501407963697807539967130-67 103 7858321551080267055879090-68 103 44077325580009217916425815810-69 103 40729680599249024150621323470-70 103 331417411036089309513605709075390-71 107 9404220872604254017691370-72 107 9734935652830778591611410-73 107 9265782127393150707678330-74 107 7858321551080267055879090-75 107 8562051839236708881778710-76 107 11469918501618987369929970-77 107 47613570277995338091571406310-78 107 8327475076517894939812170-79 107 49656733881276207526099969710-80 107 46309088900516013760295477370-81 107 44077325580009217916425815810-82 107 48024548766278700117896784390-83 107 40729680599249024150621323470-84 107 267064515689275851355624017992790-85 107 312111542432045272066211201750610

Continued on Next Page. . .

34

Page 35: Calculating cyclotomic polynomials - Simon Fraser University · algorithms were used to calculate cyclotomic polynomials of large height and length. In particular we find cyclotomic

Table 15 – Continueda k n

-86 107 2771862608338994061220021682747167410-87 109 410000453663817856306521379735410-88 113 10823725909978481039229690-89 113 11650004961584374380125130-90 113 10438665940987220417511030-91 113 9734935652830778591611410-92 113 8562051839236708881778710-93 113 9265782127393150707678330-94 113 8327475076517894939812170-95 113 9456624239435575609617210-96 113 7858321551080267055879090-97 113 50456171488621925440321938030-98 113 51055515117368495062046447730-99 113 47613570277995338091571406310

-100 113 49656733881276207526099969710-101 113 45318940385079900111254712030-102 113 40729680599249024150621323470-103 113 44077325580009217916425815810-104 113 325599204059528092748637501388470-105 113 286370384293319888803018525317570-106 113 267064515689275851355624017992790-107 113 312111542432045272066211201750610-108 113 2305567963945518424753102147331756070-109 113 2668241576251555030894039563765964890-110 113 26834505532361888945701355892794308898730-111 117 267064515689275851355624017992790-112 117 327914658504553893436652275256970-113 117 300870150586652541400639716472890-114 117 341436912463504569454658554649010-115 117 2947624865297434948102067302284903330-116 117 3251503717389954014916713415922522230-117 119 44077325580009217916425815810-118 119 54103605572136763423959668490-119 119 48024548766278700117896784390-120 119 58966851016823214068809975770-121 119 40729680599249024150621323470-122 119 324982121501407963697807539967130-123 119 50456171488621925440321938030-124 119 286370384293319888803018525317570-125 119 331417411036089309513605709075390-126 119 312111542432045272066211201750610-127 119 361720293401930583481667973737070-128 119 300870150586652541400639716472890Continued on Next Page. . .

35

Page 36: Calculating cyclotomic polynomials - Simon Fraser University · algorithms were used to calculate cyclotomic polynomials of large height and length. In particular we find cyclotomic

Table 15 – Continueda k n

-129 119 267064515689275851355624017992790-130 119 327914658504553893436652275256970-131 119 2590792866701665034000908598548055790-132 119 2448180415323591729377005372939905930-133 119 2305567963945518424753102147331756070-134 119 2668241576251555030894039563765964890-135 119 25409664530643558559203938765743283647470-136 119 25884611531216335354703077808093625397890-137 123 45318940385079900111254712030-138 123 51055515117368495062046447730-139 123 40729680599249024150621323470-140 123 364862789040278275795711686553530-141 123 331417411036089309513605709075390-142 123 312111542432045272066211201750610-143 123 267064515689275851355624017992790-144 123 286370384293319888803018525317570-145 123 366119098906649478089935076671830-146 123 2448180415323591729377005372939905930-147 123 2305567963945518424753102147331756070-148 123 2543255382908973932459607523345339170-149 123 2400642931530900627835704297737189310-150 123 23984823528925228172706521638692258396210-151 123 26313447172510201781707154807497332026910-152 123 24916272986359217616306774906214287848490-153 123 290000501288234933836194553133428096268575110-154 125 2668241576251555030894039563765964890-155 125 2543255382908973932459607523345339170-156 125 2400642931530900627835704297737189310-157 125 2305567963945518424753102147331756070-158 125 2590792866701665034000908598548055790-159 125 2448180415323591729377005372939905930-160 125 23984823528925228172706521638692258396210-161 125 26952018192297421348711452150695424383370-162 125 25884611531216335354703077808093625397890-163 129 45318940385079900111254712030-164 129 40729680599249024150621323470-165 129 411047952209933753744535950674230-166 129 391238412344394777660461928954990-167 129 351619332613316825492313885516510-168 129 325599204059528092748637501388470-169 129 386645642117309814649187011123890-170 129 354757341736500757770903546288930-171 129 327914658504553893436652275256970Continued on Next Page. . .

36

Page 37: Calculating cyclotomic polynomials - Simon Fraser University · algorithms were used to calculate cyclotomic polynomials of large height and length. In particular we find cyclotomic

Table 15 – Continueda k n

-172 129 300870150586652541400639716472890-173 129 286370384293319888803018525317570-174 129 344287990105452001145202047291910-175 129 2805570654921654950603172492536233290-176 129 3122731292938866727197239617272125310-177 129 267064515689275851355624017992790-178 129 2823673124382713576383012742237768670-179 129 2590792866701665034000908598548055790-180 129 2305567963945518424753102147331756070-181 129 2685867834287047237083510748953489030-182 129 2543255382908973932459607523345339170-183 129 26313447172510201781707154807497332026910-184 129 24916272986359217616306774906214287848490-185 129 27876622252065263273689758063388262642370-186 129 306893734372986483380050546519841383429851330-187 129 290000501288234933836194553133428096268575110-188 131 2400642931530900627835704297737189310-189 131 2823673124382713576383012742237768670-190 131 2305567963945518424753102147331756070-191 131 24916272986359217616306774906214287848490-192 131 23984823528925228172706521638692258396210-193 131 26889839163496581387895430344330271044410-194 131 25381997715076212338106901539975302574630-195 131 279734996817854936178276161872067809674997230-196 131 342479295169523333078076422478886757639482590-197 135 324982121501407963697807539967130-198 135 267064515689275851355624017992790-199 135 3387208519831270748864075926944253410-200 135 286370384293319888803018525317570-201 135 3425636542746341345338589278793517330-202 135 2778272156715536681652556659178994370-203 135 2305567963945518424753102147331756070-204 135 2979111107803406803217801718878680710-205 135 2448180415323591729377005372939905930-206 135 3268345195939659890908850429449426410-207 135 2400642931530900627835704297737189310-208 135 31402810187355711112718847918700173364110-209 135 26313447172510201781707154807497332026910-210 135 34451626710399954910070192376826403787810-211 135 27941083080088152407379762321363146379090-212 135 379691377975317903063883590185003796145454010-213 135 325876851963068121527270167954058376219326670-214 137 40729680599249024150621323470Continued on Next Page. . .

37

Page 38: Calculating cyclotomic polynomials - Simon Fraser University · algorithms were used to calculate cyclotomic polynomials of large height and length. In particular we find cyclotomic

Table 15 – Continueda k n

-215 137 387431621352048066051116533144470-216 137 399786364478154746792630856135210-217 137 391450728476061864315777670208610-218 137 334771012624585222121838557765610-219 137 376817056383498803967524299359690-220 137 361720293401930583481667973737070-221 137 327914658504553893436652275256970-222 137 325599204059528092748637501388470-223 137 344287990105452001145202047291910-224 137 312111542432045272066211201750610-225 137 300870150586652541400639716472890-226 137 366119098906649478089935076671830-227 137 267064515689275851355624017992790-228 137 286370384293319888803018525317570-229 137 2927294156470152606708994861218971190-230 137 2771862608338994061220021682747167410-231 137 2943318027411509157790332302298538590-232 137 2668241576251555030894039563765964890-233 137 2685867834287047237083510748953489030-234 137 2543255382908973932459607523345339170-235 137 2305567963945518424753102147331756070-236 137 2448180415323591729377005372939905930-237 137 2979111107803406803217801718878680710-238 137 26834505532361888945701355892794308898730-239 137 2400642931530900627835704297737189310-240 137 29026173685140119491161500663940355947210-241 137 26313447172510201781707154807497332026910-242 137 24916272986359217616306774906214287848490-243 137 26457485748402055819377297065361563385510-244 137 23984823528925228172706521638692258396210-245 137 290000501288234933836194553133428096268575110-246 137 279734996817854936178276161872067809674997230-247 137 4014476939333036189094441199026045136645885247730-248 137 4867109209633858034565826940412107820535276804770

38