プリンキピア

第4章数の表し方と計算

Conversion of Base 10 into Another Base10進法からほかの進法への変換

Converting from base 10 into another base uses repeated division, recording the remainder at each step. Then, the number in the new base is the remainder starting from the last remainder found. To be accurate in what we’re saying, we need to remind ourselves of some terminology associated with division. When integers are divided, the one being divided is the dividend, and the one that is dividing the dividend is the divisor. The quotient is the largest natural number that can be multiplied by the divisor where the product is less than the dividend.
英語のヒント
10進法からほかの進法への変換では、くり返し割り算をし、各段階で余りを書き留める。それから、新しい進法の数は、最後に見つけた余りから始まる余りの並びになる。言っていることを正確にするために、割り算にかかわる用語をいくつか確認しておく必要がある。整数を割るとき、割られる数を被除数、被除数を割る数を除数という。商とは、除数にかけたとき、その積が被除数より小さくなる最大の自然数である。
When the integer n is divided by the integer d, n is called the dividend and d is the divisor.
英語のヒント
整数nを整数dで割るとき、nを被除数、dを除数という。
To convert a base 10 number n into base d, we divide n by d, recording the remainder. Then we divide the quotient from that step by the base d, and record the remainder again. We continue this process until the quotient is 0. Then, the base d number has digits that start with the last remainder and use each remainder in reverse order.
英語のヒント
10進法の数nをd進法に変換するには、nをdで割り、余りを書き留める。それから、その段階の商を底dで割り、また余りを書き留める。商が0になるまでこの手順を続ける。すると、d進法の数の数字は、最後の余りから始まり、それぞれの余りを逆の順に使ったものになる。
Example 4.21例題 4.21

Converting from Base 10 into a Lower Base10進法からもっと小さい進法に変換する

Convert 298 to base 6.
英語のヒント
298を6進法に変換せよ。
Solution解答
We divide 298 by 6, and record the remainder. Then we divide the quotient from that step by 6, and record the remainder again. We continue this process until the quotient is 0. Then, the base 6 number has digits that start with the last remainder and use each remainder in reverse order.
英語のヒント
298を6で割り、余りを書き留める。それから、その段階の商を6で割り、また余りを書き留める。商が0になるまでこの手順を続ける。すると、6進法の数の数字は、最後の余りから始まり、それぞれの余りを逆の順に使ったものになる。
Step 1: When we divide 298 by 6, we get 49r46298. The quotient is 49 and the remainder is 4.
英語のヒント
手順1:298を6で割ると、49r46298となる。商は49で、余りは4である。
Step 2: Now we divide the quotient, 49, by 6. This gives 8r1649. The quotient is 8 and the remainder is 1.
英語のヒント
手順2:次に、商の49を6で割る。これで8r1649となる。商は8で、余りは1である。
Step 3: Repeating, we get 1r268. The quotient is 1 and the remainder is 2.
英語のヒント
手順3:くり返すと、1r268となる。商は1で、余りは2である。
Step 4: Finally, we perform the operation on the quotient 1, 0r161 giving us a quotient of 0 and a remainder of 1.
英語のヒント
手順4:最後に、商の1でこの演算を行うと、0r161となり、商は0で余りは1になる。
Step 5: The base 6 number has digits equal to the remainders in reverse order, 12146. So, 298 in base 10 when converted to base 6 is 12146.
英語のヒント
手順5:6進法の数の数字は、余りを逆の順に並べたもので、12146である。よって、10進法の298を6進法に変換すると12146である。
Example 4.22例題 4.22

Converting from Base 10 into a Higher Base10進法からもっと大きい進法に変換する

Convert 45,134 to base 13.
英語のヒント
45,134を13進法に変換せよ。
Solution解答
We divide 45,134 by 13, and record the remainder. Then we divide the quotient from that step by 13, and record the remainder again. We continue this process until the quotient is 0. Then, the base 13 number has digits that start with the last remainder and use each remainder in reverse order. It is at this step that we’ll convert to the base 13 digits, which are 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C.
英語のヒント
45,134を13で割り、余りを書き留める。それから、その段階の商を13で割り、また余りを書き留める。商が0になるまでこの手順を続ける。すると、13進法の数の数字は、最後の余りから始まり、それぞれの余りを逆の順に使ったものになる。13進法の数字0、1、2、3、4、5、6、7、8、9、A、B、Cに変換するのは、この段階である。
Step 1: When we divide 45,134 by 13, we get 3,471r111345,134. The quotient is 3,471 and the remainder is 11.
英語のヒント
手順1:45,134を13で割ると、3,471r111345,134となる。商は3,471で、余りは11である。
Step 2: Now we divide the quotient, 3,471, by 13. This gives 267r0133,471. The quotient is 267 and the remainder is 0.
英語のヒント
手順2:次に、商の3,471を13で割る。これで267r0133,471となる。商は267で、余りは0である。
Step 3: Repeating, we get 20r713267. The quotient is 20 and the remainder is 7.
英語のヒント
手順3:くり返すと、20r713267となる。商は20で、余りは7である。
Step 4: Again, and we get 1r71320. The quotient is 1 and the remainder is 7.
英語のヒント
手順4:もう一度行うと、1r71320となる。商は1で、余りは7である。
Step 5: Finally, we get 0r1131, with quotient 0 and a remainder 1.
英語のヒント
手順5:最後に、0r1131となり、商は0で余りは1である。
Step 6: The base 13 number has digits equal to the remainders in reverse order, which were 1, 7, 7, 0, and 11. The 11 is written as B in base 13. So, 45,134 in base 10 when converted to base 13 is 1770B13.
英語のヒント
手順6:13進法の数の数字は、余りを逆の順に並べたもので、それは1、7、7、0、11だった。11は13進法ではBと書く。よって、10進法の45,134を13進法に変換すると1770B13である。
Example 4.23例題 4.23

Converting from Base 10 into Base 210進法から2進法に変換する

Convert 100 to base 2.
英語のヒント
100を2進法に変換せよ。
Solution解答
Following the pattern above:
英語のヒント
上のパターンに従う:
Step 1: We divide 100 by 2, and record the remainder.
英語のヒント
手順1:100を2で割り、余りを書き留める。
Step 2: Then we divide the quotient from that step by 2, and record the remainder again.
英語のヒント
手順2:それから、その段階の商を2で割り、また余りを書き留める。
Step 3: We continue this process until the quotient is 0.
英語のヒント
手順3:商が0になるまでこの手順を続ける。
Step 4: Following this process, the remainders are, in order, 0, 0, 1, 0, 0, 1, 1. Writing those in reverse order gives the number in base 2, 11001002.
英語のヒント
手順4:この手順に従うと、余りは順に0、0、1、0、0、1、1である。それらを逆の順に書くと、2進法の数11001002が得られる。
Notice that 100 in base 2 took seven digits.
英語のヒント
100は2進法では7けたになったことに注意しよう。