﻿ Formulas for Coefficients of Hundred Cyclotomics and Numbers Battle

American Journal of Computational Mathematics
Vol.09 No.02(2019), Article ID:93241,19 pages
10.4236/ajcm.2019.92008

Formulas for Coefficients of Hundred Cyclotomics and Numbers Battle

Superior Normal School of Casablanca, Casablanca, Morocco Copyright © 2019 by author(s) and Scientific Research Publishing Inc.   Received: April 16, 2019; Accepted: June 23, 2019; Published: June 26, 2019

ABSTRACT

In this paper, we will establish a formula for calculating the 3144 coefficients $coe\left(n,i\right)$ of the first hundred cyclotomic of index n in ${x}^{i}$ . We will only determine 1003 for an index n odd and a degree $i\le \frac{\phi \left(n\right)}{2}$ . The others will be deduced, we’ll see how. The formula is $coe\left(n;i\right)=-\mu \left(\frac{n}{gcd\left(n,i\right)}\right)$ , without exception if $\mu \left(n\right)=-1$ or if 4 doesn’t divide $\phi \left(n\right)$ and with its 165 exceptions of which 7 when $\mu \left(n\right)=0$ and 158 when $\mu \left(n\right)=1$ that will be shared in 154 and 4 pairs $\left(n,i\right)$ , which we will specify the conditions and values of the coefficients. According to $\mu \left(n\right)$ , according to the class of i modulo p, the first factor of the prime factor decomposition of n when $\mu \left(n\right)=1$ and according to $gcd\left(n,i\right)$ , the formula will or will not be valid and replaced otherwise by the good value that will be 0 for 152 pairs $\left(n,i\right)$ or 1 in the 13 other exceptions.

Keywords:

Cyclotomic Polynomial, Coefficient, Euler, Mobius, Maple, GCD, Prime Number 1. History

Since Viete  (1540-1603) developed the literal calculus, represented the unknowns by vowels and the parameters by consonants and introduced the notation of the sum, the product, the quotient, and the power. And since “B in A quadratum, plus D in A, aequari C” is replaced, in the works of Descartes by $b\cdot {x}^{2}+d\cdot x=c$ , everything is then in place for the general study of polynomials to develop. Greek mathematics was essentially arithmetical and geometric. among the Arabs, mathematics is progressively detached from the geometric constraint. It’s the birth of the algebra traditionally attributed to Al Khawarizmi in his work Abstract of computation by restoration and comparison. Carl Friedrich Gauss uses in his writings, published in 1801, the cyclotomic polynomials  . The polynomial cyclotomic index 4 allows the construction of a new set of algebraic numbers, that of integers of Gauss. A mathematical branch is born: the algebraic theory of numbers, it simplifies the resolution of Diophantine equations and allows to solve new ones. This approach is innovative and fore shadows modern algebra.

2. Introduction

Note that formula numbers will be in parentheses (x), while bibliographic references will be enclosed in square brackets [y].

.Ah! This cyclotomic world and this “cyclotomic” word that one does not even find in a normal dictionary (You need an encyclopedia) and which recalls cycling and filming, but which also inspires this apparatus which emits light rays of which the rays are reduced and enlarged and stun the voyeur, the observer and the contemplator. Thus is this theory of cyclotomic polynomials with its descents and ascents, in their degrees, their coefficients, their numbers, their real and complex values, their roots, etc.

Yes finally formulas for cyclotomics and their coefficients, as indicated by the title. Formulas that we will try to demonstrate and verify by examples and scripts with maple 12 in principle for the first hundred, except indication and precision for a higher index.

The main objective of this article is to establish the formula of the theorem 3.9, the theorem 3.13 and its corollary 3.15.

Like parraph 6 which will make it possible to determine all the cyclotomics thanks to those of prime indices whose expression is known (formula (6)). The goal is also to find practical and easy formulas applicable to the hand and without data processing, for the cyclotomics and their coefficients, until nowadays nonexistent. All we know today is that the first distinct coefficient of −1, 0 and 1 is at the degree i = 7 and degree j = 41 of cyclotomic index n = 105.  . In short, what we want is: A formula for calculating the coefficients. An easy method to designate cyclotomic polynomials. Develop the cyclotomic theory, spread it and make it more touchable, more ready and more popular among mathematicians.

The article, its presentation and the demonstrations of the results are not always classical, they are sometimes done by checking with Maple scripts, especially that these results concern in general only the first hundred cyclotomics, but which will be able to inspire generalization in the future. It is the case in this article for the proposition 3.3 and the theorem 3.13 that we have extended up to 1000 only (but the formula is still true) because the script would require a big delay and could block execution if it is extended more. we know that today there are no formulas for these coefficients, not even for a finite number of them. This article is unpublished, new and never published.

We will adopt in the text and with maple 12, the notation $\phi$ for the indicator of Euler phi and $cy\left(n\right)$ to designate the cyclotomic polynomial of index n of indefinite x by default, otherwise we will specify another indeterminate y we want to assign to x by $cyc\left(n,y\right)$ , (y can be $-x$ , ${x}^{2}$ , ${x}^{3}$ or any other power of x). We will denote by $coe\left(n,i\right)$ the coefficient of $cy\left(n\right)$ in ${x}^{i}$ , All this after having downloaded the “numtheory” package.

Thus we will have for example:

$cy\left(6\right)={x}^{2}-x+1$ , $coe\left(6,1\right)=-1$ , $cyc\left(6,2\right)=3$ because when x is replaced by 2 in $cy\left(6\right)$ , it gives 3.

And then we have the following properties:

Property 2.1. If n is even: $cy\left(2n\right)=cyc\left(n,{x}^{2}\right)$ . (1)

Property 2.2. If n is odd: $cy\left(2n\right)=cyc\left(n,-x\right)$ . (2)

In polynomial theory, the nth cyclotomic polynomial is the unit polynomial whose roots are the primitive roots nth of the unit. It is of degree $\phi \left(n\right)$  (See Serge Lang  ), indicator function of Euler $\phi$ that we will define, It is with integer coefficients and is irreducible on $ℚ$ . For any integer m, the polynomial ${X}^{m-1}$ is the product of the cyclotomic polynomials associated with the divisors of m (see  ). A root nth of 1 is primitive if it generates the group (multiplicative) ${G}_{n}$ , roots nth of 1. Now a root nth of 1 is of the form ${\text{e}}^{\frac{2ik\text{π}}{n}},\left(0\le k , image k by group isomorphism (  ):

$\left(ℤ/nℤ,+\right)↦\left({G}_{n},x\right)$ , which at k associates ${\text{e}}^{\frac{2ik\text{π}}{n}}$ . So a root nth, ${\text{e}}^{\frac{2ik\cdot \Pi }{n}}$ will generate ${G}_{n}$ (that is, its powers will cover ${G}_{n}$ ) if and only if k generates the additive group $ℤ/n\cdot ℤ$ (that is, its multiples will encompass $ℤ/n\cdot ℤ$ ), which equals k first with n  (see  ).

The number of non-zero k integers strictly less than k is $\phi \left(n\right)$ , which is why the degree of $\phi \left(n,x\right)$ , the nth cyclotomic polynomial in x is $\phi \left(n\right)$ , this Euler’s indicator, whose properties will be studied, which will involve others on cyclotomic polynomials. With maple, and to simplify the notations, we will define the function cy which at an integer n will associate the nth cyclotomic noted in maple by $cyclotomic\left(n,x\right)$ .

We thus have $cy\left(n\right)=\left(n,x\right)={\prod }_{k=0,k\wedge n=1}^{n-1}\left(x-{\text{e}}^{\frac{2ik\text{π}}{n}}\right)$ (3)

where $k\wedge n=1$ denotes the $gcd\left(k,n\right)$ .

The analysis of these polynomials allows the resolution of many problems. As an example of cyclotomic polynomials: $cy\left(2\right)=1+x$ , $cy\left(5\right)={x}^{4}+{x}^{3}+{x}^{2}+x+1$ and $cy\left(6\right)=1-x+{x}^{2}$

Definition 2.3. The function $\phi$ , indicator of Euler is the one which to an integer n associates the number of primes with n strictly lower than n.

Remark 2.4. This is also the number of generators of ${G}_{n}$ , the multiplicative group of nth roots of 1.

Definition 2.5. The cyclotomic polynomial of index n is the polynomial whose roots are the generators of Gn.

Property 2.6. $coe\left(n,i\right)=coe\left(n,\phi \left(n\right)-i\right)$ . (4)

That is, we have a symmetry of the coefficients of $cy\left(n\right)$ with respect to that of ${x}^{\phi \left(n\right)/2}$ .

Definition 2.7. We call function of Mobius $\mu$ , the function which at a positive integer n associates $\mu \left(n\right)$ with $\mu \left(n\right)=0$ if n is with square factor, that is, if it is divisible by the square of a prime number, otherwise it’s 1 if n is divisible by the even of a prime numbers; or −1 if the number of prime numbers that divide it is odd.

Recall that $gcd\left(n,i\right)$ denotes with maple the gcd of n and i.

We will define in the same way that cy and cyc the function $coe\left(n,i\right)$ which at $\left(n,i\right)$ will associate the coefficient of ${x}^{i}$ of the cyclotomic polynomial of index n.

Finally we will also define $mob\left(n,i\right)$ and $mobi\left(n,i\right)$ for the values

$-\mu \left(\frac{n}{gcd\left(n,i\right)}\right)$ and $-\mu \left(\frac{n}{gcd\left(n,\phi \left(n\right)-i\right)}\right)$ (because the function mob is not symmetric and these last two quantities are not always equal) and we will designate by $mob1\left(n,i\right)$ the value of $-\frac{1}{2}\cdot \left(\mu \left(\frac{n}{gcd\left(n,i\right)}\right)+\mu \left(\frac{n}{gcd\left(n,\phi \left(n\right)-i\right)}\right)\right)$ , values that will be used to set conditions of validity or not of certain formulas. And for the last paragraphs we will also need $mob2\left(n,i\right)$ which will express the largest of $mob\left(n,i\right)$ and $mobi\left(n,i\right)$ to reduce the number of exceptions to certain formulas and some conditions for applying these formulas. With maple it will be > $mob2\left(n,i\right):=\mathrm{max}\left(-mobius\left(n/gcd\left(n,i\right)\right),-mobius\left(n/gcd\left(n,phi\left(n\right)-i\right)\right)\right)$ .

Formulas and conditions that will be applied directly to the odd $n\ne 1$ cyclotomic indexes ( $gcd\left(n,2\right)=1$ ) and degrees i less than or equal to $\frac{\phi \left(n\right)}{2}$ , except for 0 since $cy\left(1\right)$ is known (It is $x-1$ ) and we know that the constant coefficient of a cyclotom polynomial is 1. This will avoid us to specify (“from 0”), since without this precision, maple starts by default the variation of a parameter starting from 1, when one does not specify the first value. By against it is necessary to him to specify the last one with the help of to “ $\frac{\phi \left(n\right)}{2}$ ”.

We will deduce the ones for the n pairs by the formulas we will recall linking the $cy\left(n\right)$ to the $cy\left(2\cdot n\right)$ when n is even $\left(cy\left(2\cdot n\right)=cyc\left(n,{x}^{2}\right)\right)$ or when n is odd $\left(cy\left(2\cdot n\right)=cyc\left(n,-x\right)\right)$  after defining the largest integer k such that ${2}^{k}$ divides n. And for degrees greater than $\frac{\phi \left(n\right)}{2}$ , we will deduce the coefficients by symetry with respect to $\frac{\phi \left(n\right)}{2}$  .

We can even deduce the coefficients of $cy\left(n\right)$ if $n={2}^{k}\cdot m$ with m odd less than 100, thanks to the relations ente $cy\left(2\cdot n\right)$ and $cy\left(n\right)$ when n is odd or even. as well as for n when the part without square factor n is less than 100, using the formula

$cy\left(n\right)=cyc\left(psfc\left(n\right),{x}^{\frac{n}{psfc\left(n\right)}}\right)$ (5)

see  , where $psfc\left(n\right)$ is the non-square part of n, which is the product of prime numbers that divide n.

The total number of coefficients of the first 100 cyclotomics is 3144, with maple 12 one has to calculate:

> $add\left(\phi \left(n\right)+1,n=1,\cdots ,100\right)$

which gives:

3144

If we take the 100 constant terms, there will remain 3044. If we only want to count for the odd n indices up to the degree i less than or equal to $\frac{\phi \left(n\right)}{2}$ , we must assume $\phi \left(n\right)$ even, that is to say start n to 3 (because $\phi \left(1\right)=\phi \left(2\right)=1$ ), assuming that $cy\left(1\right)$ and $cy\left(2\right)$ are known and are respectively, $x-1$ and $x+1$ , be

> $add\left(\frac{\phi \left(2\cdot n+1\right)}{2},n=1,\cdots ,49\right)$

which gives:

1003

First note that among these 1003 coefficients, there is 517 with $\mu \left(n\right)=-1$ and all have for all value i, $coe\left(n,i\right)=mob1\left(n,i\right)=mob\left(n,i\right)$ .

We have 150 coefficients, which are $\mu \left(n\right)=0$ , and 141 of which have $coe\left(n,i\right)=mob1\left(n,i\right)=mob\left(n,i\right)$ , 6 with $coe\left(n,i\right)=mob1\left(n,i\right)\ne mob\left(n,i\right)$ , and which are (45, 6), (63, 15), (75, 10), (99, 6), (99, 15) and (99, 24); 2 with the opposite, ie with $coe\left(n,i\right)$ being $mob\left(n,i\right)$ and not $mob1\left(n,i\right)$ and which are (99, 9) and (99, 18); and finally only one of the 150 that is (63, 6) and has a zero coefficient that is neither $mob\left(63,6\right)$ nor $mob1\left(63,6\right)$ . (This is the seventh for which $coe\left(n;i\right)\ne mob\left(n,i\right)$ ).

3. Formula for the Coefficients

First, remember the following properties: 

1) $cy\left(n\right)$ is always irreducible on $ℚ$ .

2) on $ℚ$ two cyclotomic polynomials are prime between them. In this article, we will try to solve the riddle of the cyclotomic coefficients, knowing that we have the following remarks and comments:

a) If n is prime then the nth cyclotomic polynomial is

$cy\left(n\right)={x}^{n-1}+\cdots +x+1$ . (6)

b) If p is prime and does not divide n, then

$cy\left(pn\right)=\frac{cyc\left(n,{x}^{p}\right)}{cy\left(n\right)}$ . (7)

c) If n is odd then

$cy\left(2n\right)=cyc\left(n,-x\right)$ . (8)

d) If p is prime and does not divide m then

$cy\left(m{p}^{k}\right)=cyc\left(mp,{x}^{{p}^{k-1}}\right)$ . (9)

e) If p is prime and divide n, then

$cy\left(p\cdot n\right)=cyc\left(n,{x}^{p}\right)$ . (10)

f) We always have:

$cy\left(n\right)=cyc\left(psfc\left(n\right),{x}^{n/psfc\left(n\right)}\right)$  (11)

g) The coefficients of $cy\left(n\right)$ have a symmetry around the monomial ${x}^{\frac{\phi \left(n\right)}{2}}$ , i.e. the coefficient is the same in ${x}^{i}$ and in ${x}^{\phi \left(n\right)-i}$

To see the difference between the formulas of (2) and (5) when p is prime and divide or not divide n we have as an example for $cy\left(pn\right)$ :

$6=2×3$ with $p=2$ not dividing $n=3$ , then according to the formula (2), $cy\left(6\right)$ will be $\frac{cyc\left(2,{x}^{3}\right)}{cy\left(2\right)}$ , that is $\frac{{x}^{3}+1}{x+1}$ which is equal to ${x}^{2}-x+1$ which is none other than $cy\left(6\right)$ .

Whereas 3 divides 27, so $cy\left(3×27\right)=cy\left(81\right)$ , is ${x}^{54}+{x}^{27}+1=cyc\left(27,{x}^{3}\right)$ as wants the formula 5.

Example 3.1. $cy\left({2}^{3}×{3}^{2}×4\right)=cy\left(288\right)$ and it’s $cyc\left(24,{x}^{\frac{288}{24}}\right)$ with 24

being the part without square factor of 288 since c is $2×3×4$ : with maple:

> $cy\left(288\right)$

${x}^{96}-{x}^{48}+1$

> $cyc\left(24,{x}^{\frac{288}{24}}\right)$

${x}^{96}-{x}^{48}+1$

For symmetry, we have for example:

Example 3.2. > $cy\left(105\right)$

$\begin{array}{l}{x}^{48}+{x}^{47}+{x}^{46}-{x}^{43}-{x}^{42}-2\cdot {x}^{41}-{x}^{40}-{x}^{39}+{x}^{36}+{x}^{35}+{x}^{34}+{x}^{33}\\ \text{ }+{x}^{32}+{x}^{31}-{x}^{28}-{x}^{26}-{x}^{24}-{x}^{22}-{x}^{20}+{x}^{17}+{x}^{16}+{x}^{15}+{x}^{14}+{x}^{13}\\ \text{ }+{x}^{12}-{x}^{9}-{x}^{8}-2\cdot {x}^{7}-{x}^{6}-{x}^{5}+{x}^{2}+x+1\end{array}$

We have a symmetry around ${x}^{24}$ , since $\mu \left(105\right)=48$ .

−2 is for example coefficient of ${x}^{7}$ and of ${x}^{48-7}={x}^{41}$ .

Proposition 3.3. For all $n\ne 1$ , the coefficient of $cy\left(n\right)$ in x is $-\mu \left(n\right)$ . We’ll just make this proposal using a maple script for n up to 1000. For us it would have been enough to check it up to 100

> for n to 1000 if $\left(n,1\right)\ne -mobius\left(n\right)$ then print (n) end if od

1

We obtain that $coe\left(n,i\right)\ne -\mu \left(n\right)$ is only for $n=1$ .

Remark 3.4. For these $coe\left(n,1\right)$ , the following formula is therefore satisfied since $gcd\left(n,1\right)=1$ and therefore $mob\left(n,1\right)=-\mu \left(n\right)=coe\left(n,1\right)$ as the famous following formula generalizes this rule:

Remark 3.5. If $n\le 100$ and if $\mu \left(n\right)=1$ , then $n=p\cdot q$ , with $p prime and distinct.

Recall that $mod\left(i,p\right)$ , denotes the class of i modulo p.

If $\left(n,i\right)$ denotes the pair (index n of a cyclotomic, degree i of a monomial), then

Lemme 3.6. For 14 pairs $\left(n,i\right)$ for which $\mu \left(n\right)=1$ , $mod\left(i,p\right)\ne 1$ and $gcd\left(n,i\right)=1$ ; for 78 with $\mu \left(n\right)=1$ , $mod\left(i,p\right)\ne 1$ and $gcd\left(n,i\right)\ne 1$ ; when $\mu \left(n\right)=1$ and $mod\left(i,p\right)=1$ except for 4 pairs and when $\mu \left(n\right)=0$ except for 7 pairs $\left(n,i\right)$ ; the coefficients $\left(coe\left(n,i\right)\right)$ when n is odd and $i\le \frac{\phi \left(n\right)}{2}$ , of the first 100 cyclotomic polynomials satisfy the following formula:

$coe\left(n,i\right)=mob\left(n,i\right)=-mu\left(\frac{n}{gcd\left(n,i\right)}\right)$ (12)

The 14 pairs are (see script 2):

(35, 8) (55, 12) (55, 17) (65, 14) (65, 19) (65, 24) (77, 12) (77, 19) (77, 23) (77, 26) (77, 30) (85, 18) (85, 23) (85, 28).

Lemme 3.7. For the following 19 $\left(n,i\right)$ (4, 7 and 8) the coefficient is 0:

(55, 11) (55, 16) (77, 22) (77, 29)

(45, 6), (63, 6), (63, 15), (75, 10), (99, 6), (99, 15), (99, 24)

(91, 14), (91, 21), (91, 28), (91, 35), (95, 20),(95, 25), (95, 30) and (95, 35).

Lemme 3.8. For the following 13, the coefficient is 1 and are the only ones with non-zero coefficients distinct from $mob\left(n,i\right)$ :

(35, 12) (65, 18) (65, 23) (77, 18) (77, 25) (85, 22)

(85, 27) (85, 32) (91, 20) (91, 33) (95, 24)

(95, 29) and (95, 34).

Theoreme 3.9. For n less than or equal to 100, if $\mu \left(n\right)=1$ , $mod\left(i,p\right)\ne 1$ , $gcd\left(n,i\right)=1$ and if $\left(n,i\right)$ is not among the 27 previous ones ( $27=13+14$ ), Then $coe\left(n,i\right)=0$ .

If $\left(n,i\right)$ is not among the $32=19+13$ and if one of the conditions above is not verified, That is, when $\mu \left(n\right)\ne 1$ , $mod\left(i,p\right)=1$ or $gcd\left(n,i\right)\ne 1$ , then:

$coe\left(n,i\right)=mob\left(n,i\right)=-\mu \left(\frac{n}{gcd\left(n,i\right)}\right)$

This is the formula (12) above.

Example 3.10. $coe\left(39,11\right)=0$ because it is not among the 27, and since $39=3×13$ so $p=3$ and $mod\left(11,3\right)=2$ and is not 1.

On the other hand:

Example 3.11. $coe\left(39,10\right)=mob\left(39,10\right)=-1$ , we have equality because $mod\left(10,3\right)=1$ .

Example 3.12. (39, 6) also checks the formula because although $mobius\left(39\right)=1$ , $mod\left(6,3\right)=0\ne 1$ but $gcd\left(39,6\right)\ne 1$ (39 and 6 are not prime between them.), indeed: $coe\left(39,6\right)=mob\left(39,6\right)=1$ .

Note that we have $0=coe\left(n,i\right)=mob\left(n,i\right)$ in 118 case, $coe\left(n,i\right)$ is zero without $mob\left(n,i\right)$ in 152 and we never have the opposite. Verification scripts will not be prepared for this, but they are similar to those that will be established. Theoreme 3.13. If $\phi \left(n\right)$ is not multiple of 4, then except for $n=i=1$ , if $i\le \phi \left(n\right)$ then $coe\left(n,i\right)=mob\left(n,i\right)$ , for $n\le 1000$ . There are 16 to 100 and 98 until 1000.

Let’s check with the following maple script and its counter k which will count the number of $\left(n,i\right)$ that do not check the equality and that will give 1 at the end of the process.

> $k:=0$ : for n to 1000 do for i to $phi\left(n\right)$ do if $gcd\left(phi\left(n\right),4\right)\ne 4$ then if $coe\left(n,i\right)\ne mob\left(n,i\right)$ then $k:=k+1$ , print $\left(n,i\right)$ fi fi od od; print (k)

1, 1

1

This script gives 3 times the value 1: for the index n = 1 of the only cyclotomic and for the degree i = 1 of the single dgre of x to which the quoted formula (In fact it is the formula (12)) is not verified when $\phi \left(n\right)$ is not divisible by 4.It also gives the value of the counter k of all the pairs $\left(n,i\right)$ that do not satisfy the formula which is of course k = 1. All that because it was asked to returner $\left(n,i\right)$ by print $\left(n,i\right)$ and return k by print (k).

Example 3.14. $cy\left(22\right)$ has all its coefficients that check the formula because $\phi \left(22\right)=10$ which is not multiple of 4.

> $k:=0$ ; for i to $\phi \left(22\right)$ do if $coe\left(22,i\right)\ne mob\left(22,i\right)$ then $k:=k+1$ end if end do; print (k)

0

Corollaire 3.15. If $\phi \left(n\right)$ is not multiple of 4, then except for $n=i=1$ , if $i\le \phi \left(2\cdot n\right)$ then $coe\left(2\cdot n,i\right)=mob\left(2\cdot n,i\right)$ , and this for n ≤ 1000

proof. If n is odd, $\phi \left(2\cdot n\right)=\phi \left(n\right)$ , so $\phi \left(2\cdot n\right)$ is not multiple of 4 and we have the formula for $2\cdot n$ .

If n is even, $\frac{n}{2}$ cannot be, except for $n=4$ , because then n would be multiple of 4 and $\phi \left(n\right)$ also, for $n=4$ , we have $2\cdot n=8$ and the formula is checked for all the coefficients of $cy\left(8\right)$ . since n is even, then

$coe\left(2\cdot n,i\right)=coe\left(n,2\cdot i\right)=coe\left(\frac{n}{2},4\cdot i\right)=mob\left(\frac{n}{2},4\cdot i\right)=mob\left(n,2\cdot i\right)=coe\left(n,2\cdot i\right)$ because $\phi \left(n\right)$ is not multiple of 4, or $coe\left(n,2\cdot i\right)=coe\left(2\cdot n,i\right)$ because n is even. +

As for theorem, 3.13 we will set 9 numbered Maple scripts, to check all that precedes and to see what are the 4 (script1), 14 (script2) and 7 (script5) of the theorem. But first a script just for the 165 (script9) number of pairs that are exceptions to the formula among which the 4, the 7 and 154 (script8) others with $\mu \left(n\right)=1$ and $mod\left(i,p\right)\ne 1$ , for which we are going anyway, establish a script to describe 13 pairs (script7) exceptions of this exception with $coe\left(n,i\right)=1$ instead of 0 for all other exceptions.

A script3 to verify that we have 78 pairs $\left(n,i\right)$ with $\mu \left(n\right)=1$ , $mod\left(i,p\right)\ne 1$ and $coe\left(n,i\right)=mob\left(n,i\right)$ ); a script4 for the 8 which under the same conditions of the 78 but with $coe\left(n,i\right)\ne mob\left(n,i\right)$ and a script6 to see if $\mu \left(n\right)=-1$ , we always have $coe\left(n,i\right)=mob\left(n,i\right)$ .

A hashtag (#) will be followed by a comment of the script, to explain it.

SCRIPT 1

> $k:=1$ ; for n to 100 do for i to $\left(1/2\right)\cdot phi\left(n\right)$ do for p to 50 do for q to 50 do if isprime(p) = true then if isprime(q) = true then if $p then if $n=p\ast q$ then if $mod\left(i,p\right)=1$ then if $coeff\left(cyclotomic\left(n,x\right),x,i\right)\ne -mobius\left(n/gcd\left(n,i\right)\right)$ then $k:=k+1$ , print(n, i, $coeff\left(cyclotomic\left(n,x\right),x,i\right)$ , $-mobius\left(n/gcd\left(n,i\right)\right)$ , k) end if end if end if end if end if end if end do end do end do end do # This script will give the 4 exceptions when $\mu \left(n\right)=1$ and $mod\left(i,p\right)=1$

#The four exceptions are of 0 coefficient and will be among the 21 of the following theorem.

55, 11, 0, 1, 1

55, 16, 0, −1, 2

77, 22, 0, 1, 3

77, 29, 0, −1, 4

The 14 pairs for which the formula is good when $gcd\left(n,i\right)=1$ , despite that $mod\left(i,p\right)\ne 1$ are given by:

SCRIPT 2

> $k:=1$ ; for n to 100 do for i to $\left(1/2\right)\cdot phi\left(n\right)$ do for p to 50 do for q to 50 do if isprime(p) = true then if isprime(q) = true then if $p then if $n=p\ast q$ then if $mod\left(i,p\right)=1$ then if $coeff\left(cyclotomic\left(n,x\right),x,i\right)=-mobius\left(n/gcd\left(n,i\right)\right)$ then if $gcd\left(n,i\right)=1$ then $k:=k+1$ , print(n, i, k, $coeff\left(cyclotomic\left(n,x\right),x,i\right)$ , $-mobius\left(n/gcd\left(n,i\right)\right)$ ) end if end if end if end if end if end if end if end do end do end do end do

35, 8, 1

55, 12, 2

55, 17, 3

65, 14, 4

65, 19, 5

65, 24, 6

77, 12, 7

77, 19, 8

77, 23, 9

77, 26, 10

77, 30, 11

85, 18, 12

85, 23, 13

85, 28, 14

The 78 couples for which the formula is good when $mod\left(i,p\right)\ne 1$ and when $gcd\left(n,i\right)\ne 1$ are given by:

SCRIPT 3

> $k:=1$ ; for n to 100 do for i to $\left(1/2\right)\cdot phi\left(n\right)$ do for p to 50 do for q to 50 do if isprime(p) = true then if isprime(q) = true then if $p then if $n=p\ast q$ then if $mod\left(i,p\right)=1$ then if $coeff\left(cyclotomic\left(n,x\right),x,i\right)=-mobius\left(n/gcd\left(n,i\right)\right)$ then if $gcd\left(n,i\right)\ne 1$ then $k:=k+1$ , print(k) end if end if end if end if end if end if end if end do end do end do end do # The number is 78 when $gcd\left(n,i\right)\ne 1$

78

Remark 3.16. Note that there is 8, under the same conditions that do not check the formula and which will be among the 19 of the theorem, indeed we have the following script.

SCRIPT 4

> $k:=1$ ; for n to 100 do for i to $\left(1/2\right)\cdot phi\left(n\right)$ do for p to 50 do for q to 50 do if isprime(p) = true then if isprime(q) = true then if $p then if $n=p\ast q$ then if $mod\left(i,p\right)\ne 1$ then if $coeff\left(cyclotomic\left(n,x\right),x,i\right)\ne -mobius\left(n/gcd\left(n,i\right)\right)$ then if $gcd\left(n,i\right)\ne 1$ then $k:=k+1$ , print(n, i, $coeff\left(cyclotomic\left(n,x\right),x,i\right)$ , $-mobius\left(\frac{n}{gcd\left(n,i\right)}\right)$ , k) end if end if end if end if end if end if end if end do end do end do end do # The number is 78 when $gcd\left(n,i\right)\ne 1$ # For the 8, the coefficient is 0 and will be counted among the 21 of the following theorem.

91, 14, 0, 1, 1

91, 21, 0, 1, 2

91, 28, 0, 1, 3

91, 35, 0, 1, 4

95, 20, 0, 1, 5

95, 25, 0, 1, 6

95, 30, 0, 1, 7

95, 35, 0, 1, 8

For the case $\mu \left(n\right)$ = 0:

SCRIPT 5

> $k:=1$ ; for n to 100 do for i to $\left(1/2\right)\cdot phi\left(n\right)$ do if $gcd\left(n,2\right)=1$ then if $mobius\left(n\right)=0$ then if $gcd\left(n,i\right)\ne 1$ then if $coeff\left(cyclotomic\left(n,x\right),x,i\right)\ne -mobius\left(n/gcd\left(n,i\right)\right)$ then $k:=k+1$ , print(n, i, $coeff\left(cyclotomic\left(n,x\right),x,i\right)$ , $-mobius\left(n/gcd\left(n,i\right)\right)$ , k) end if end if end if end if end do end do # The exceptions are 7, all of them are 0 and among the 21 of the theorem.

45, 6, 0, −1, 1

63, 6, 0, −1, 2

63, 15, 0, −1, 3

75, 10, 0, −1, 4

99, 6, 0, −1, 5

99, 15, 0, −1, 6

99, 24, 0, −1, 7

On the other hand for $\mu \left(n\right)=-1$ , there is no exception:

SCRIPT 6

> $k:=0$ ; for n to 100 do for i to $\left(1/2\right)\cdot phi\left(n\right)$ do if $gcd\left(n,2\right)=1$ then if $mobius\left(n\right)=-1$ then if $gcd\left(n,i\right)\ne 1$ then if $coeff\left(cyclotomic\left(n,x\right),x,i\right)\ne -mobius\left(n/gcd\left(n,i\right)\right)$ then $k:=k+1$ , print(n, i, $coeff\left(cyclotomic\left(n,x\right),x,i\right)$ , $-mobius\left(n/gcd\left(n,i\right)\right)$ , k) end if end if end if end if end do end do;print(k) # since there is no exception, you have to ask k after the script and start it at 0

0

And for the 13 who are with coefficient 1 distinct from $mob\left(n,i\right)$ when $\mu \left(n\right)=1$ and $mod\left(i,p\right)\ne 1$ :

SCRIPT 7

> $k:=1$ ; for n to 100 do for i to $\left(1/2\right)\ast phi\left(n\right)$ do if $gcd\left(n,2\right)=1$ then if $mobius\left(n\right)=1$ then if $gcd\left(n,i\right)=1$ then if $1=coeff\left(cyclotomic\left(n,x\right),x,i\right)$ and $coeff\left(cyclotomic\left(n,x\right),x,i\right)\ne -mobius\left(n/gcd\left(n,i\right)\right)$ then $k:=k+1$ , print(n, i, $coeff\left(cyclotomic\left(n,x\right),x,i\right)$ , $-mobius\left(n/gcd\left(n,i\right)\right)$ , k) end if end if end if end if end do end do

35, 12, 1, −1, 1

65, 18, 1, −1, 2

65, 23, 1, −1, 3

77, 18, 1, −1, 4

77, 25, 1, −1, 5

85, 22, 1, −1, 6

85, 27, 1, −1, 7

85, 32, 1, −1, 8

91, 20, 1, −1, 9

91, 33, 1, −1, 10

95, 24, 1, −1, 11

95, 29, 1, −1, 12

95, 34, 1, −1, 13

The total number of exceptions when $\mu \left(n\right)=1$ and $mod\left(i,p\right)\ne 1$ is:

SCRIPT 8

> $k:=1$ ; for n to 100 do for i to $\left(1/2\right)\ast phi\left(n\right)$ do for p to 50 do for q to 50 do if isprime(p) = true then if isprime(q) = true then if $p then if $n=p\cdot q$ then if $mod\left(i,p\right)\ne 1$ then if $coeff\left(cyclotomic\left(n,x\right),x,i\right)\ne -mobius\left(n/gcd\left(n,i\right)\right)$ then $k:=k+1$ , print(k) end if end if end if end if end if end if end do end do end do end do

154

Let’s recap a bit: The number of pairs that do not satisfy the formula $coeff\left(cyclotomic\left(n,x\right),x,i\right)=-\mu \left(\frac{n}{gcd\left(n,i\right)}\right)$ , is $154+7+4=165$

Let’s check this number:

SCRIPT 9

> $k:=1$ ; for n to 100 do for i to $\left(1/2\right)\ast phi\left(n\right)$ do if $gcd\left(n,2\right)=1$ then if $coeff\left(cyclotomic\left(n,x\right),x,i\right)\ne -mobius\left(n/gcd\left(n,i\right)\right)$ then $k:=k+1$ , print(k) end if end if end do end do

165

!! It’s won!!

4. Euler Indicator Properties



1) For $n\ne 1$ and $n\ne 2$ , $\phi \left(n\right)$ is always even.

2) If m is odd then $\phi \left(2m\right)=\phi \left(m\right)$ (13)

3) If $k\ne 0$ , $\phi \left({2}^{k}\right)={2}^{k-1}$ (14)

4) If m and n are prime between them, then $\phi \left(mn\right)=\phi \left(m\right)\cdot \phi \left(n\right)$ (15)

5) If p is prime, then $\phi \left(p\right)=p-1$ (16)

6) In general, for $k\ne 0$ , $\phi \left({i}^{n}\right)={i}^{nk}\phi \left({i}^{k}\right)$ (and by the way, we’ll see that $cy\left({i}^{n}\right)=cyc\left({i}^{k},{x}^{{i}^{nk}}\right)$ (17).

7) We can also define the inverse of $\phi$ , which is the function $invphi\left(n\right)$ , which gives the set of values for which $\phi$ is worth n. It can be empty, in which case there would be no cyclotomic of degree n, ${\phi }^{-1}\left(n\right)$ can in return contain several values that maple gives in the form of an ordered sequence, for example ${\phi }^{-1}\left(2\right)=\left[3,4,6\right]$ .

5. Other Properties of Cyclotomic Coefficients

1) Up to $n=104$ , the coefficients of $cy\left(n\right)$ are always −1, 0 or 1, and it is only from 105 that the first coefficient appears-2  (see  ). with maple we will also check.

2) Up to 384, a coefficient of $cy\left(n\right)$ is never an absolute value strictly greater than 2, with maple, we can see that, as well as the following properties.

3) For $n<1365$ , the absolute value of a coefficient of $cy\left(n\right)$ is a maximum of 3.

4) Before 1785, we can not find a coefficient of $cy\left(n\right)$ with an absolute value strictly greater than 4.

5) If $n<2805$ , then $|coeffs\left(cy\left(n\right)\right)|\le 5$ .

6) All absolute values of all coefficients of $cy\left(n\right)$ , with ( $n\le 3134$ ), are less than or equal to 6.

7) Note that there is an increasing dependence of the maximum values of the absolute values of the coefficients of a cyclotomic, that the limit values are all of a unit number 5.

And with maple 12 we get:(the hashtag # is followed by a comment)

> $coeffs\left(cyclotomic\left(5,x\right)\right)$ # It will give the sequence of coefficients with repetition:

1, 1, 1, 1, 1

> $\left\{coeffs\left(cyclotomic\left(5,x\right)\right)\right\}$ # it will give the set of coefficients, here reduced to a single element without repetition.

$\left\{1\right\}$

> $E:=\left\{1\right\}$ ; for k to 104 do $E:=union\left(E,\left\{coeffs\left(cyclotomic\left(k,x\right)\right)\right\}\right)$ end do; print(E) # we only have −1 and 1

$\left\{-1,1\right\}$

> $E:=\left\{1\right\}$ ; for k to 105 do $E:=union\left(E,\left\{coeffs\left(cyclotomic\left(k,x\right)\right)\right\}\right)$ end do; print(E). # We have −2 more, hence the absolute value 2 more

$\left\{-2,-1,1\right\}$

> $E:=\left\{1\right\}$ ; for k to 384 do $E:=union\left(E,\left\{coeffs\left(cyclotomic\left(k,x\right)\right)\right\}\right)$ end do; print(E) # (2 extra)

$\left\{-2,-1,1,2\right\}$

> $E:=\left\{1\right\}$ ; for k to 385 do $E:=union\left(E,\left\{coeffs\left(cyclotomic\left(k,x\right)\right)\right\}\right)$ end do; print(E) # the absolute value 3]

$\left\{-3,-2,-1,1,2\right\}$

> $E:=\left\{1\right\}$ ; for k to 1364 do $E:=union\left(E,\left\{coeffs\left(cyclotomic\left(k,x\right)\right)\right\}\right)$ end do; print(E) # (not new)

$\left\{-3,-2,-1,1,2\right\}$

> $E:=\left\{1\right\}$ ; for k to 1365 do $E:=union\left(E,\left\{coeffs\left(cyclotomic\left(k,x\right)\right)\right\}\right)$ end do; print(E) # (−4 and 3 more and the absolute value 4)

$\left\{-4,-3,-2,-1,1,2,3\right\}$

> $E:=\left\{1\right\}$ ; for k to 1785 do $E:=union\left(E,\left\{coeffs\left(cyclotomic\left(k,x\right)\right)\right\}\right)$ end do; print(E)

> $E:=\left\{1\right\}$ ; for k to 1785 do $E:=union\left(E,\left\{coeffs\left(cyclotomic\left(k,x\right)\right)\right\}\right)$ end do; print(E) # (4 and 5 more and the 5 absolute value)

$\left\{-4,-3,-2,-1,1,2,3,4,5\right\}$

> $E:=\left\{1\right\}$ ; for k to 2804 do $E:=union\left(E,\left\{coeffs\left(cyclotomic\left(k,x\right)\right)\right\}\right)$ end do; print(E) # (the −5 extra)

$\left\{-5,-4,-3,-2,-1,1,2,3,4,5\right\}$

> $E:=\left\{1\right\}$ ; for k to 2805 do $E:=union\left(E,\left\{coeffs\left(cyclotomic\left(k,x\right)\right)\right\}\right)$ end do; print(E) # (−6 and 6 more and the absolute value 6);

$\left\{-6,-5,-4,-3,-2,-1,1,2,3,4,5,6\right\}$

> $E:=\left\{1\right\}$ ; for k to 3134 do $E:=union\left(E,\left\{coeffs\left(cyclotomic\left(k,x\right)\right)\right\}\right)$ end do; print(E) # (Always the same set, the 7 absolute value will only appear in the 3135 index)

$\left\{-6,-5,-4,-3,-2,-1,1,2,3,4,5,6\right\}$

> $E:=\left\{1\right\}$ ; for k to 3135 do $E:=union\left(E,\left\{coeffs\left(cyclotomic\left(k,x\right)\right)\right\}\right)$ end do; print(E) # (we get −7 and 7 more)

$\left\{-7,-6,-5,-4,-3,-2,-1,1,2,3,4,5,6,7\right\}$

8) By factoring these limit values, for absolute values using maple, we will see that they are all without square factor, ie they are of non-zero mobius, and that their indicators of Euler do not have a separate divisor of 2, 3 or 5.

9) The numbers 105, 385, 1365, 1785, 2805 and 3135 are multiples of 5 by numbers that are not multiples, and 5 being prime, we can apply to the $cy\left(n\right)$ for these values of n, the property ${\Phi }_{pn}=\frac{{\Phi }_{n}\left({x}^{p}\right)}{{\Phi }_{n}\left(x\right)}$ . The Euclidean divisions will give coefficients for these cyclotomics, sometimes with absolute values greater than 1. $\left({\Phi }_{n}\left(x\right)=cy\left(n\right)\right)$

10) For all $n\in ℕ$ , $cy\left(n\right)$ has all its coefficients in $ℤ$ and it is irreducible on $ℤ$ , so on $ℚ$ (see  ). And on a nonzero characteristic field, if $cy\left(n\right)$ is irreducible, then $cy\left(d\right)$ is for all d divisor of n (see  ). We also have that for all $m\in ℕ$ , there exists n such that m or -m is coefficient of $cy\left(n\right)$ (see  ), for all $n>1$ there is a symmetry of the coefficients of $cy\left(n\right)$ around $\phi \left(n\right)/2$ see  , and if n is prime, then $cy\left(n\right)$ is ${x}^{n-1}+{x}^{n-2}+\cdots +1$ (see Example 5.1); that if p is prime and does not divide n then $cy\left(pn\right)=\frac{cyc\left(n,{x}^{p}\right)}{cy\left(n\right)}$ (see Example 5.2)

If n is odd, $cy\left(2n\right)=cyc\left(n,-x\right)$ (see Example 5.3); If p is prime and does not divide m, then $cy\left(m{p}^{k}\right)=cyc\left(mp,{x}^{{p}^{k-1}}\right)$ (see Example 5.4 example 4). But if p is prime and divide n, we have $cy\left(np\right)=cyc\left(n,{x}^{p}\right)$ (see Example 5.5).

Finally, if m is the no-factor part of n (the product of prime factors that divide n), then $cy\left(n\right)=cyc\left(m,{x}^{n/m}\right)$ . (see Example 5.6)

And as examples illustrating these properties we have with maple:

Example 5.1. with $n=7$

> $cyclotomic\left(7,x\right)$ ;

${x}^{6}+{x}^{5}+{x}^{4}+{x}^{3}+{x}^{2}+x+1$

Example 5.2. with $p=2$ and $n=3$ .

> $cyclotomic\left(6,x\right)$ , simplify ( $\frac{cyclotomic\left(2,{x}^{3}\right)}{cyclotomic\left(2,x\right)}$ );

${x}^{2}-x+1$ , ${x}^{2}-x+1$

Example 5.3. with $n=7$

> $cyclotomic\left(7,x\right)$ , $cyclotomic\left(14,x\right)$

${x}^{6}+{x}^{5}+{x}^{4}+{x}^{3}+{x}^{2}+x+1$ , ${x}^{6}-{x}^{5}+{x}^{4}-{x}^{3}+{x}^{2}-x+1$

Example 5.4. with $p=2$ , $k=2$ and $m=7$ .

> $cyclotomic\left(28,x\right)$ , $cyclotomic\left(14,{x}^{2}\right)$

${x}^{12}-{x}^{10}+{x}^{8}-{x}^{6}+{x}^{4}-{x}^{2}+1$ , ${x}^{12}-{x}^{10}+{x}^{8}-{x}^{6}+{x}^{4}-{x}^{2}+1$

For the examples 5 and 6, one recalls the definition of the function $cyc$ :

> $cyc\left(a,b\right):=cyclotomic\left(a,b\right)$

> $cyc:=\left(a,b\right)->numtheory:-cyclotomic\left(a,b\right)$

Example 5.5. with $p=3$ and $n=27$

> $cyc\left(81,x\right)$ , $cyc\left(27,{x}^{3}\right)$

${x}^{54}+{x}^{27}+1$ , ${x}^{54}+{x}^{27}+1$

Example 5.6. with $n={2}^{3}×{3}^{2}×4$ and the part without a square factor of n is $m=2×3×4$

> $cy\left({2}^{3}×{3}^{2}×4\right)$ , $cyc\left(2×3×4,{x}^{{2}^{3}×{3}^{2}×4/2×3×4}\right)$

${x}^{96}-{x}^{48}+1$ , ${x}^{96}-{x}^{48}+1$

6. Prime Indices and Determination of a Cyclotomic with All Its Coefficients

Again and again cyclotomics. This time for the direct calculation of cyclotomics. For that, let’s remember that we will adopt the notations in maple 12 that follow, after loading the package “with (numtheory)” (mul is the product):

$cy:=n->cyclotomic\left(n,x\right)$ ; $cyc:=\left(n,x\right)->cyclotomic\left(n,x\right)$

$fpsfc:=\left(n,i\right)->piecewise\left(gcd\left(n,i\right)=i\text{\hspace{0.17em}}\text{and}\text{\hspace{0.17em}}nops\left(divisors\left(i\right)=2,i,1\right)\right)$ .

$psfc\left(n\right):=mul\left(fpsfc\left(n,i\right),i\text{\hspace{0.17em}}\text{in}\text{\hspace{0.17em}}divisors\left(n\right)\right)$ .

$rpsfc\left(n\right):=\frac{n}{psfc\left(n\right)}$

The piecewise function is a part-by-part function defined with maple, with one condition and one value if the condition is true and another value otherwise. For the summary calculation of cyclotomics we will apply the 7 properties of paragraph 3:

Thus the formal calculation of all cyclotomics is reduced to the determination of the cyclotomics with prime indices. So:

If p is prime then the index cyclotomic p is $sum\left({x}^{i},i=0,\cdots ,p-1\right)$ .

The first need of a cyclotomic of index a prime number p, to calculate another is to calculate its square.

The second need is to calculate the one of index its product by the first number which follows it, if one does not want to use that of index that which follows it, and if one wants always to use the smallest possible ones.

For example in the following scripts, we will use $cy\left(5\right)$ only until $cy\left(25\right)=cy\left({5}^{2}\right)$ , then for $cy\left(35\right)=cy\left(5×7\right)$ , knowing that 5 is the prime number that precedes 7.

If we wanted to go further, we would have needed the index 11, that when we arrived at 112, i.e. 121, then for $11×13=143$ . So we will only use 2th and 3‘em cyclotomic up to $cy\left(24\right)$ .

-we will only use the 2th, 3th and 5th cyclotomics up to $cy\left(48\right)$ .

we will only need 2nd, 3th, 5th and 7th for all our first 100 cyclotomics, and we could have advanced up to to 120, since the next prime number 7 is 11, and since ${\left(11\right)}^{2}=121$ .

So let’s go for some examples:

> $cy\left(4\right)$ , $cyc\left(2,{x}^{2}\right)$

${x}^{2}+1$ , ${x}^{2}+1$

> $cy\left(6\right)$ , simplify $\left(cyc\left(2,{x}^{3}\right)/cy\left(2\right)\right)$

${x}^{2}-x+1$ , ${x}^{2}-x+1$

> $cy\left(8\right)$ , $cyc\left(2,{x}^{4}\right)$

${x}^{4}+1$ , ${x}^{4}+1$

> $cy\left(9\right)$ , $cyc\left(3,{x}^{3}\right)$

${x}^{6}+{x}^{3}+1$ , ${x}^{6}+{x}^{3}+1$

> $cy\left(10\right)$ , $cyc\left(5,-x\right)$ ; simplify $\left(cyc\left(2,{x}^{5}\right)/cy\left(2\right)\right)$

${x}^{4}-{x}^{3}+{x}^{2}-x+1$ , ${x}^{4}-{x}^{3}+{x}^{2}-x+1$

${x}^{4}-{x}^{3}+{x}^{2}-x+1$

And with similar scripts we get:

$cy\left(12\right)=cyc\left(6,{x}^{2}\right)=simplify\left(cyc\left(2,{x}^{6}\right)/cyc\left(2,{x}^{2}\right)\right)$

Let ${x}^{4}-{x}^{2}+1,{x}^{4}-{x}^{2}+1$ .

$cy\left(24\right),cyc\left(6,{x}^{4}\right)=simplify\left(cyc\left(2,{x}^{12}\right)/cyc\left(2,{x}^{4}\right)\right)={x}^{8}-{x}^{4}+1$ .

And from ${5}^{2}=25$ , we will need $cy\left(5\right)$

$cy\left(25\right)=cyc\left(5,{x}^{5}\right)={x}^{20}+{x}^{15}+{x}^{10}+{x}^{5}+1$ .

Then you will need $cy\left(5\right)$ only for the product of 5 by the first that follows it i.e. $5×7=35$ .

$\begin{array}{c}cy\left(35\right)=simplify\left(cyc\left(5,{x}^{7}\right)/cy\left(5\right)\right)\\ ={x}^{24}-{x}^{23}+{x}^{19}-{x}^{18}+{x}^{17}-{x}^{16}+{x}^{14}-{x}^{13}+{x}^{12}\\ \text{\hspace{0.17em}}\text{\hspace{0.17em}}-{x}^{11}+{x}^{10}-{x}^{8}+{x}^{7}-{x}^{6}+{x}^{5}-x+1\end{array}$

Until cy (48) we have no problem:

$\begin{array}{c}cy\left(48\right)=simplify\left(cyc\left(16,{x}^{3}\right)/cy\left(16\right)\right)=simplify\left(cyc\left(2,{x}^{24}\right)/cyc\left(2,{x}^{8}\right)\right)\\ ={x}^{16}-{x}^{8}+1\end{array}$

From $cy\left(49\right)$ we will need $cy\left(7\right)$ :

$cy\left(49\right)=cyc\left(7,{x}^{7}\right)={x}^{42}+{x}^{35}+{x}^{28}+{x}^{21}+{x}^{14}+{x}^{7}+1$

And that goes well up to $cy\left(100\right)$ without difficulty.

Before starting the calculation of the coefficients, let us first note that for a cyclotomic of index n which is of degree $\phi \left(n\right)$ and which denotes the number of prime numbers with n strictly inferior to n, the coefficients are drawn by symmetry with respect to $\phi \left(n\right)/2$ (see  ). For example:

The coefficient of $cy\left(93\right)$ in 47 is, the one in 13 since $\phi \left(93\right)=60$ , the half is 30 of which 47 and 13 are for same distance. And it’s −1. Indeed:

> $sort\left(cy\left(93\right)\right)$

$\begin{array}{l}{x}^{60}-{x}^{59}+{x}^{57}-{x}^{56}+{x}^{54}-{x}^{53}+{x}^{51}-{x}^{50}+{x}^{48}-{x}^{47}+{x}^{45}\\ \text{ }-{x}^{44}+{x}^{42}-{x}^{41}+{x}^{39}-{x}^{38}+{x}^{36}-{x}^{35}+{x}^{33}-{x}^{32}+{x}^{30}-{x}^{28}\\ \text{ }+{x}^{27}-{x}^{25}+{x}^{24}-{x}^{22}+{x}^{21}-{x}^{19}+{x}^{18}-{x}^{16}+{x}^{15}-{x}^{13}+{x}^{12}\\ \text{ }-{x}^{10}+{x}^{9}-{x}^{7}+{x}^{6}-{x}^{4}+{x}^{3}-x+1\end{array}$

Whereas for cy(105) (resp. cy(385)), the first product of three distinct prime numbers two to two, we find the first coefficients of absolute value strictly greater than 1, in degrees 7 and 41, symmetrically compared to $48=\phi \left(105\right)$ (resp.strictly greater than 2, in 119, 120 and 121, which is $\phi \left(385\right)-1$ , $\phi \left(385\right)$ and $\phi \left(385\right)+1$ ).

> $coe\left(105,7\right)$ , $coe\left(105,41\right)$ , $coe\left(385,119\right)$ , $coe\left(385,121\right)$

−2, −2, −3, −3

7. Examples

We will give two examples of cyclotomics with indices greater than 100 to determine and to determine their coefficients, to see how we reduce ourselves to a cyclotomic index less than 100. It will be cy(225) and cy(120).

For cy(225), we have $\phi \left(225\right)=120$ and $cy\left(225\right)=cyc\left(15,{x}^{15}\right)$ , based on the properties of the cyclotomics in the paragraph 3. 225) has zero coefficients in ${x}^{i}$ if i is not multiple of 15. Its coefficients in 0, 15, 30, 45, 60, 75, 90, 105 and 120 are those of cy(15) in 0, 1, 2, 3, 4, 5, 6, 7 and 8. If we call the ( ${a}_{i}$ ) the coefficients of cy(15) and ( ${b}_{i}$ ) those of cy(225) then:

${b}_{15i}={a}_{i}$ .

We know that ${a}_{0}={b}_{0}=1$ . ${b}_{15}={a}_{1}=-\mu \left(15\right)=-1$

Since $\phi \left(15\right)=8$ and $\phi \left(225\right)=120$ , then we have the following equalities:

${b}_{30}={b}_{90}={a}_{6}={a}_{2}$ , ${b}_{45}={b}_{75}={a}_{5}={a}_{3}$ and ${b}_{60}={a}_{4}$ .

Applying our formulas to $cy\left(15\right)$ , we find

$cy\left(15\right)=1-x+{x}^{3}-{x}^{4}+{x}^{5}-{x}^{7}+{x}^{8}$

and so $cy\left(225\right)=1-{x}^{15}+{x}^{45}-{x}^{60}+{x}^{75}-{x}^{105}+{x}^{120}$

All this while noting that ${a}_{3}$ is not an exception since $gcd\left(15,3\right)=3\ne 1$ , ${a}_{4}$ not because $gcd\left(\phi \left(\phi \left(15\right)\right),\phi \left(4\right)\right)=gcd\left(4,2\right)=2\ne 1$ , so the coefficients y are respectively $-\mu \left(\frac{15}{gcd\left(15,3\right)}\right)$ and $-\mu \left(\frac{15}{gcd\left(15,4\right)}\right)$ , which is 1 and −1.

However, for ${a}_{2}$ which is part of the 53, the coefficient is 0 because $\mu \left(15\right)=1$ , $gcd\left(15,2\right)=1$ , $mob\left(15,2\right)=-1$ and $gcd\left(\phi \left(\phi \left(15\right)\right),\phi \left(2\right)\right)=1$ , so there are exceptions, and since $gcd\left(\phi \left(15\right),2\right)=2$ , so is one of 53 and ${a}_{2}=0$ . By symmetry ${a}_{6}$ is zero too.

We then deduce from ( ${a}_{i}$ ) the ${b}_{15i}$ and hence $cy\left(225\right)$ .

With the Euclidean division and expressing it with the help of cyclotomic indices, we have: $cy\left(225\right)=cyc\left(15,{x}^{15}\right)=\frac{cyc\left(3,{x}^{75}\right)}{cyc\left(3,{x}^{15}\right)}$ , indeed with maple 12, the following script shows this equality:

> $simplify\left(cy\left(225\right)-cyc\left(3,{x}^{75}\right)/cyc\left(3,{x}^{15}\right)\right)$

0

We know that:

$\frac{cyc\left(3,{x}^{75}\right)}{cyc\left(3,{x}^{15}\right)}=\frac{{x}^{150}+{x}^{75}+1}{{x}^{30}+{x}^{15}+1}={x}^{120}-{x}^{105}+{x}^{75}-{x}^{60}+{x}^{45}-{x}^{15}+1$

So, we find our $cy\left(225\right)$ .

Now for $cy\left(120\right)=cy\left({2}^{3}×15\right)=cyc\left({2}^{2}×15,{x}^{2}\right)=cyc\left(2×15,{x}^{4}\right)=cyc\left(15,{x}^{4}\right)$ , and this by applying the paragraph 7 formulas on the properties of cyclotomics. Now, according to the previous example, $cy\left(15\right)={x}^{8}-{x}^{7}+{x}^{5}-{x}^{4}+{x}^{3}-x+1$ , thus keeping for the pair powers their signs and by inverting those odd powers and multiplying them by 4 we get $cy\left(120\right)=1+{x}^{4}-{x}^{12}-{x}^{16}-{x}^{20}+{x}^{28}+{x}^{32}$ .

By the way $cy\left(120\right)=cyc\left(60,{x}^{2}\right)$ because 2 divides 60, and like 2 divides 30 so this is $cyc\left(30,{x}^{4}\right)$ , but 2 does not divide 15, then $cyc\left(30,{x}^{4}\right)=cyc\left(15,-{x}^{4}\right)$ . or $15=3×5$ and 3 does not divide 5, hence $cy\left(15\right)=\frac{cyc\left(3,{x}^{5}\right)}{cy\left(3\right)}$ and $cy\left(120\right)=cyc\left(15,-{x}^{4}\right)=\frac{cyc\left(3,-{x}^{20}\right)}{cyc\left(3,-{x}^{4}\right)}$ , that is $\frac{{x}^{40}-{x}^{20}+1}{{x}^{8}+{x}^{4}+1}$ which is by Euclidean division $1+{x}^{4}-{x}^{12}-{x}^{16}-{x}^{20}+{x}^{28}+{x}^{32}$ which is none other than $cy\left(120\right)$ .

8. Conclusion

We hope to have raised some riddles of cyclotomic polynomials and their coefficients, and the enigma that has pained many mathematicians and researchers, this by the formula F12 and by means of prime numbers as in the examples of paragraph 6. Maple, Euler and Mobius helped us a lot. It’s not rocket science. We will advance in future articles.

Conflicts of Interest

The author declares no conflicts of interest regarding the publication of this paper.

Cite this paper

Squalli, J. (2019) Formulas for Coefficients of Hundred Cyclotomics and Numbers Battle. American Journal of Computational Mathematics, 9, 97-115. https://doi.org/10.4236/ajcm.2019.92008

References

1. 1. Histoire des polynomes. https://fr.wikipedia.org/wiki/Polynome

2. 2. Polynome Cyclotomique. https://fr.wikipedia.org/wiki/Polyn

3. 3. Lang, S. (2002) Algebra. In Graduate Texts in Mathematics, Series Vol. 211, Springer-Verlag, New-York. https://doi.org/10.1007/978-1-4613-0041-0

4. 4. Ferrand, D. Sur l’irréductibilité des polynomes cyclotomiques. https://webusers.imj-prg.fr/~daniel.ferrand/Cyclotomiques.pdf

5. 5. L’incroyable histoire des polynomes cyclotomiques (niveau 3th année de licence) sur le site. http://tanopah.jo.free.fr/epilogues/cyclo.pdf