プリンキピア

第3章実数の体系と数論

Finding the Prime Factorization of Composite Numbers合成数の素因数分解を求める

Before we can start with prime factorization, let’s remind ourselves what it means to factor a number. We factor a number by identifying two (or more) numbers that, when multiplied, result in the original number. For instance, 3 and 24, when multiplied, give 72. So, 72 can be factored into 3×24. Notice that we could have factored the 72 differently, say as 72=6×12, or 72=2×36, or even as 72=3×4×6.
英語のヒント
素因数分解を始める前に、数を因数分解するとはどういうことかを思い出そう。数を因数分解するとは、掛け合わせるともとの数になる2つ(以上)の数を見つけることである。たとえば、3と24を掛けると72になる。よって、72は3×24と因数分解できる。72を違う形で、たとえば72=6×12や72=2×36、あるいは72=3×4×6のように因数分解することもできたことに注意しよう。
Finding the prime factorization of a composite number means writing the number as the product of all of its prime factors. For example, 80=2×2×2×2×5. Notice that all the numbers being multiplied on the right-hand side are prime numbers. Sometimes prime numbers repeat themselves in the factorization. When prime factors do repeat, we may write the prime factorization using exponents, as in 80=24×5. In that equation, the 2 is raised to the 4th power. The 4 is the exponent, and the 2 is the base. More generally, in the exponent notation ab, the number represented by a is the base, and the number represented by b is the exponent.
英語のヒント
合成数の素因数分解を求めるとは、その数を、すべての素因数の積として書くことである。たとえば80=2×2×2×2×5。右辺で掛け合わされている数はすべて素数であることに注意しよう。素因数分解では、同じ素数が繰り返し出てくることがある。素因数が繰り返し出てくるときは、80=24×5のように指数を使って素因数分解を書いてもよい。その式では、2が4乗されている。4が指数で、2が底である。もっと一般に、指数の記法abでは、aで表される数が底、bで表される数が指数である。
One has to wonder if finding the prime factorization could result in different factorizations. The Fundamental Theorem of Arithmetic tells us that there is only one prime factorization for a given natural number.
英語のヒント
素因数分解を求めると違う分解になることはあるのだろうかと思うかもしれない。算術の基本定理によれば、与えられた自然数の素因数分解はただ一つしかない。

Fundamental Theorem of Arithmetic算術の基本定理

Every natural number, other than 1, can be expressed in exactly one way, apart from the arrangement, as a product of primes.
英語のヒント
1以外のどの自然数も、並べ方の違いを除いて、ただ一通りに素数の積として表せる。
The process of finding the prime factorization of a number is iterative, which means we do a step, then repeat it until we cannot do the step any longer. The step we use is to identify one prime factor of the number, then write the number as the prime factor times another factor. We repeat this step on the other, newly found, factor. This step is repeated until no more primes can be factored from the remaining factor. This is easier to see and explain with an example.
英語のヒント
数の素因数分解を求める作業は反復的である。つまり、ある手順を行い、それをもうできなくなるまで繰り返す。使う手順は、数の素因数を一つ見つけ、その数をその素因数と別の因数の積として書くことである。この手順を、新しく見つかったもう一方の因数に対して繰り返す。この手順を、残った因数から素数をもう取り出せなくなるまで繰り返す。これは例で見て説明するほうがわかりやすい。
Example 3.11例題 3.11

Finding the Prime Factorization素因数分解を求める

Find the prime factorization of 140.
英語のヒント
140の素因数分解を求めよ。
Solution解答
Step 1: Identify a prime number that divides 140. Since 140 is even (the last digit is even), 2 divides 140. We then factor the 2 out of the 140, giving us 140=2×70.
英語のヒント
手順1:140を割り切る素数を見つける。140は偶数(一の位の数字が偶数)なので、2は140を割り切る。次に140から2をくくり出すと、140=2×70となる。
Step 2: With the other factor, 70, find a prime factor of 70. Since 70 is also even, 2 divides 70. We factor the 2 out of the 70 and the factorization is now 140=2×2×35=22×35.
英語のヒント
手順2:もう一方の因数70について、70の素因数を見つける。70も偶数なので、2は70を割り切る。70から2をくくり出すと、分解は140=2×2×35=22×35となる。
Notice that we expressed the two factors of 2 as 22.
英語のヒント
2つの因数2を22と表したことに注意しよう。
Step 3: Look to the remaining factor, 35. The last digit of 35 is 5, so 5 is a factor of 35. We factor the 5 out of the 35. The factorization is now 140=22×5×7.
英語のヒント
手順3:残った因数35を見る。35の一の位の数字は5なので、5は35の因数である。35から5をくくり出す。分解は140=22×5×7となる。
Step 4: Look to the remaining factor, 7. Since 7 is prime, the process is complete.
英語のヒント
手順4:残った因数7を見る。7は素数なので、作業は終わりである。
The prime factorization of 140 is 22×5×7.
英語のヒント
140の素因数分解は22×5×7である。

Factor Trees因数の木

A useful tool for helping with prime factorization is a factor tree. To create a factor tree for the natural number n (where n is not 1), perform the following steps:
英語のヒント
素因数分解に役立つ道具に、因数の木がある。自然数n(nは1ではない)の因数の木を作るには、次の手順を行う。
Step 1: If n is prime, you're done. If n is composite, continue to the next step.
英語のヒント
手順1:nが素数ならば、終わりである。nが合成数ならば、次の手順に進む。
Step 2: Identify two divisors of n, call them a and b.
英語のヒント
手順2:nの約数を2つ見つけ、aとbとする。
Step 3: Write the number n down, and draw two branches extending down (or to the right) of the number n.
英語のヒント
手順3:数nを書き、数nから下へ(または右へ)のびる2本の枝を描く。
Step 4: Label the end of one branch a, the other as b. See Figure 3.4.
英語のヒント
手順4:一方の枝の先にa、もう一方にbと書く。図3.4を見よ。
A tree diagram shows two branches extending down from a node labeled 66 to 2 and 33.
Figure 3.4図3.4
Step 5: If a and b are prime, the tree is complete. When a number at this step is a prime number, we refer to it as a leaf of the tree diagram.
英語のヒント
手順5:aとbが素数ならば、木は完成である。この手順で数が素数のとき、それを木の図の葉と呼ぶ。
Step 6: If either a or b are composite, repeat Steps 2 through 4 for a and b.
英語のヒント
手順6:aかbのどちらかが合成数ならば、aとbについて手順2から4を繰り返す。
Step 7: The process stops when the leaves are all prime.
英語のヒント
手順7:葉がすべて素数になったら作業は終わる。
Step 8: The prime factorization is then the product of all the leaves.
英語のヒント
手順8:素因数分解は、すべての葉の積である。
This is best seen in an example.
英語のヒント
これは例で見るのがいちばんよい。
Example 3.12例題 3.12
Finding the Prime Factorization素因数分解を求める
Find the prime factorization of 66.
英語のヒント
66の素因数分解を求めよ。
Solution解答
Since 66 is even, 2 is a factor.
英語のヒント
66は偶数なので、2は因数である。
Step 1: Factor out the 2. The factorization is 66=2×33. The factor tree is shown in Figure 3.5.
英語のヒント
手順1:2をくくり出す。分解は66=2×33である。因数の木を図3.5に示す。
A tree diagram shows two branches extending down from a node labeled 66 to 2 and 33. Two other branches are extending down from 33 to 3 and 11.
Figure 3.5図3.5
Since 2 is a factor, that branch is done, and 2 is a leaf.
英語のヒント
2は因数なので、その枝は終わりで、2は葉である。
Step 2: The 33, though, is divisible by 3, and is the product of 3 and 11. We attach that to the factor tree (Figure 3.6).
英語のヒント
手順2:しかし33は3で割り切れ、3と11の積である。これを因数の木に付け加える(図3.6)。
A tree diagram shows two branches extending down from a node labeled 135 to 3 and 45.
Figure 3.6図3.6
Since the 2, 3 and 11 are all prime, the factor tree is done.
英語のヒント
2、3、11はどれも素数なので、因数の木は完成である。
The prime factorization of 66 is the product of the leaves, so 66=2×3×11. The factorization is complete.
英語のヒント
66の素因数分解は葉の積なので、66=2×3×11である。分解は完了である。
Example 3.13例題 3.13
Finding the Prime Factorization素因数分解を求める
Find the prime factorization of 135.
英語のヒント
135の素因数分解を求めよ。
Solution解答
The number 135 is divisible by 3, and so 3 is a factor of 135.
英語のヒント
数135は3で割り切れるので、3は135の因数である。
Step 1: Factor out the 3. The factorization is 135=3×45. Using the factor tree (Figure 3.7),
英語のヒント
手順1:3をくくり出す。分解は135=3×45である。因数の木(図3.7)を使う。
A tree diagram shows two branches extending down from a node labeled 135 to 3 and 45.
Figure 3.7図3.7
45 is also divisible by 3.
英語のヒント
45も3で割り切れる。
Step 2: Factor out a 3 from 45. The other factor is 15. The factor tree is shown in Figure 3.8.
英語のヒント
手順2:45から3をくくり出す。もう一方の因数は15である。因数の木を図3.8に示す。
A tree diagram shows two branches extending down from a node labeled 135 to 3 and 45. Two other branches are extending down from 45 to 3 and 15.
Figure 3.8図3.8
15 is also divisible by 3.
英語のヒント
15も3で割り切れる。
Step 3: The factors of 15 are 3 and 5. The factor tree is shown in Figure 3.9.
英語のヒント
手順3:15の因数は3と5である。因数の木を図3.9に示す。
A tree diagram shows two branches extending down from a node labeled 135 to 3 and 45. Two other branches are extending down from 45 to 3 and 15. Two other branches are extending down from 15 to 3 and 5.
Figure 3.9図3.9
All the leaves are prime, so the process is complete. The prime factorization of 135 is 33×5.
英語のヒント
葉はすべて素数なので、作業は完了である。135の素因数分解は33×5である。
Example 3.14例題 3.14
Identifying Prime Factors素因数を見つける
How many different prime factors does 10,241 have?
英語のヒント
10,241には異なる素因数がいくつあるか。
Solution解答
To know how many different prime factors 10,241 has, we need the prime factorization of 10,241.
英語のヒント
10,241に異なる素因数がいくつあるかを知るには、10,241の素因数分解が必要である。
Step 1: Use divisibility rules, to see that the number 10,241 is not divisible by 2 or by 3 (the sum of the digits is 8), or by 5. However, it is divisible by 7.
英語のヒント
手順1:割り切れるかの判定法を使うと、数10,241は2でも、3でも(各位の数字の和は8)、5でも割り切れないことがわかる。しかし、7では割り切れる。
Step 2: After factoring the 7, the factorization is 10,241=7×1463; 1,463 is also divisible by 7.
英語のヒント
手順2:7をくくり出すと、分解は10,241=7×1463となる。1,463も7で割り切れる。
Step 3: After factoring the 7, the factorization is 10,241=7×7×209=72×209. The number 209 is not divisible by 7.
英語のヒント
手順3:7をくくり出すと、分解は10,241=7×7×209=72×209となる。数209は7で割り切れない。
Step 4: Check the next prime number: 11; 11 does divide 1,463.
英語のヒント
手順4:次の素数11を調べる。11は1,463を割り切る。
Step 5: After factoring the 11, the factorization is 10,241=72×11×19.
英語のヒント
手順5:11をくくり出すと、分解は10,241=72×11×19となる。
Since 19 is prime, the prime factorization of 10,241 is complete. We see that 10,241 has three different prime factors: 7, 11, and 19.
英語のヒント
19は素数なので、10,241の素因数分解は完了である。10,241には7、11、19という3つの異なる素因数があることがわかる。