ã¯ããã«
çªå·äœç³»ã¯ã çªå·ãèšé²ïŒè¡šçŸïŒããæ¹æ³ã§ãã
ããã¯ã©ãããæå³ã§ããïŒ ããšãã°ãç®ã®åã«ããã€ãã®æšããããŸãã ããªãã®ä»äºã¯ããããæ°ããããšã§ãã ãããè¡ãã«ã¯ã次ã®ããšãã§ããŸã-æãæ²ãããç³ã«å»ã¿ç®ãå ¥ããïŒ1æ¬ã®æš-1æ¬ã®æ/ãããïŒããŸãã¯10åã®ãªããžã§ã¯ããããã€ãã®æšïŒç³ãªã©ïŒã«å²ãåœãŠã1ã€ã®ã³ããŒ-ã¹ãã£ãã¯ãæ°ããŠãããããå°é¢ã«çœ®ããŸãã æåã®ã±ãŒã¹ã§ã¯ãçªå·ã¯æ²ãã£ãæãŸãã¯ããã¯ã®æååãšããŠè¡šããã2çªç®ã§ã¯-å·Šãç³ãå³ãæ£ã§ããç³ãšæ£ã®çµã¿åãã
çªå·äœç³»ã¯ãå®äœçœ®ãšéå®äœçœ®ã«åããããäœçœ®ã¯é çªã«åçš®ãšæ··åã«åããããŸãã
éå®äœçœ® -æãå€ãçªå·ã§ãæ°åã®åæ¡ã¯ãã®äœçœ®ïŒã©ã³ã¯ïŒã«äŸåããªãå€ãæã¡ãŸãã ã€ãŸããããã·ã¥ã5ã€ããå Žåãåããã·ã¥ã¯è¡å ã®äœçœ®ã«é¢ä¿ãªãã1ã€ã®åäžã¢ã€ãã ã®ã¿ã«å¯Ÿå¿ãããããæ°åã5ã«ãªããŸãã
äœçœ®ã·ã¹ãã -åæ¡ã®å€ã¯ãçªå·å ã®äœçœ®ïŒã©ã³ã¯ïŒã«äŸåããŸãã ããšãã°ãç§ãã¡ã«ãšã£ãŠéŠŽæã¿ã®ãã10çªç®ã®æ°å€ã·ã¹ãã ã¯å®äœçœ®ã§ãã æ°å€453ãæ€èšããŠãã ãããæ°å€4ã¯æ°çŸã®æ°ãè¡šããæ°å€400ã«å¯Ÿå¿ããŸãã5-æ°10ã§ãããå€50ã«äŒŒãŠããŸãã3-åäœãšå€3ã§ãã æçµçãªæ°ã¯ã400 + 50 + 3 = 453ã®åèšãšããŠè¡šãããšãã§ããŸãã
åçš®ã·ã¹ãã -æ°å€ã®ãã¹ãŠã®æ°åïŒäœçœ®ïŒã«ã€ããŠãæå¹ãªæåïŒæ°åïŒã®ã»ããã¯åãã§ãã äŸãšããŠãåè¿°ã®10çªç®ã®ã·ã¹ãã ãåãäžããŸãã åçš®ã®10çªç®ã®ã·ã¹ãã ã§æ°å€ãèšè¿°ããå Žåãåæ¡ã§äœ¿çšã§ããã®ã¯0ã9ã®1æ¡ã®ã¿ã§ãããããæ°å€450ãèš±å¯ãããŸãïŒ1æ¡ç®-0ã2æ¡ç®-5ã3æ¡ç®-4ïŒã 4F5ã¯ããã§ã¯ãããŸãããããã¯ãæåFã0ãã9ãŸã§ã®æ°åã®ã»ããã«å«ãŸããŠããªãããã§ãã
æ··åã·ã¹ãã -æ°åã®åæ¡ïŒäœçœ®ïŒã§ãæå¹ãªæåïŒæ°åïŒã®ã»ãããä»ã®æ°åã®ã»ãããšç°ãªãå ŽåããããŸãã é®®ãããªäŸã¯ãæé枬å®ã·ã¹ãã ã§ãã ç§ãšåã®ã«ããŽãªã§ã¯ã60ã®ç°ãªãæåïŒã00ãããã59ãïŒãæéã®ã«ããŽãªã§ã¯-24ã®ç°ãªãæåïŒã00ãããã23ãïŒãææ¥ã®ã«ããŽãªã§ã¯-365ãªã©ãå¯èœã§ãã
éäœçœ®æ±ºãã·ã¹ãã
人ã ãæ°ããããšãåŠã¶ãšããã«ãæ°åãæžãå¿ èŠããããŸããã åãã¯ããã¹ãŠãåçŽã§ãã-è¡šé¢äžã®ããããŸãã¯ããã·ã¥ã¯ã1ã€ã®ãªããžã§ã¯ããããšãã°1ã€ã®æç©ã«å¯Ÿå¿ããŠããŸããã ããã§æåã®æ°åã·ã¹ãã ãç»å ŽããŸãã-ã·ã³ã°ã«ã
ã·ã³ã°ã«ãã³ããŒã·ã¹ãã
ãã®çªå·äœç³»ã®çªå·ã¯ããã·ã¥ïŒã¹ãã£ãã¯ïŒã®æååã§ããã®çªå·ã¯ãã®çªå·ã®å€ã«çãããªããŸãã ãããã£ãŠã100åã®æ¥ä»ã®ã¯ãããã¯ã100åã®ããã·ã¥ã§æ§æãããæ°ã«çãããªããŸãã
ãããããã®ã·ã¹ãã ã«ã¯æãããªäžéœåããããŸã-æ°åã倧ããã»ã©ãã¹ãã£ãã¯ã®åãé·ããªããŸãã ããã«ã誀ã£ãŠäœåãªã¹ãã£ãã¯ãè¿œå ããããéã«è¿œå ããªãããšã§ãæ°åãæžããšãã«ééããç¯ãããããªããŸãã
䟿å®äžã人ã ã¯ã¹ãã£ãã¯ã3ã5ã10åã«ã°ã«ãŒãåãå§ããŸããã åæã«ãåã°ã«ãŒãã¯ç¹å®ã®èšå·ãŸãã¯ãªããžã§ã¯ãã«å¯Ÿå¿ããŠããŸããã æåã¯ãæãã«ãŠã³ãã«äœ¿çšããããããæåã®å åã¯5åãš10åã®ã°ã«ãŒãïŒãŠãããïŒã«çŸããŸããã ããã«ããããã䟿å©ãªçªå·èšé²ã·ã¹ãã ãäœæããããšãã§ããŸããã
å€ä»£ãšãžããã®åé²æ³
å€ä»£ãšãžããã§ã¯ãæ°å1ã10ã10 2ã10 3ã10 4ã10 5ã10 6ã10 7ã瀺ãããã«ç¹æ®æåïŒæ°åïŒã䜿çšãããŠããŸããã ãããã®ããã€ãã次ã«ç€ºããŸãã
ãªãå°æ°ãšåŒã°ããŸããïŒ åè¿°ã®ããã«ã人ã ã¯ã·ã³ãã«ãã°ã«ãŒãåãå§ããŸããã ãšãžããã§ã¯ã10ã®ã°ã«ãŒããéžæããæ°åã®ã1ãã¯å€æŽããŸããã ãã®å Žåãæ°å€10ã¯10é²æ°ã·ã¹ãã ã®åºæ°ãšåŒã°ããåæåã¯æ°å€10ãããçšåºŠè¡šçŸãããã®ã§ãã
å€ä»£ãšãžããã®æ°åäœç³»ã®æ°åã¯ããããã®çµã¿åãããšããŠæžãããŠããŸãã
åæåã¯9åãŸã§ç¹°ãè¿ãããŸãã åèšå€ã¯ãæ°å€ã®èŠçŽ ã®åèšã«çãããªããŸããã å€ãååŸãããã®æ¹æ³ã¯ãåéäœçœ®çªå·ã·ã¹ãã ã®ç¹æ§ã§ããããšã¯æ³šç®ã«å€ããŸãã äŸã¯çªå·345ã§ãïŒ
ããããã¢ã®6é²æ³
ãšãžãããšã¯å¯Ÿç §çã«ãããããã¢ã®ã·ã¹ãã ã§ã¯ã2ã€ã®ã·ã³ãã«ã®ã¿ã䜿çšãããŸããããŠãããã瀺ãããŸã£ãããªããŠã§ããžãšãæ°åã®ã暪ãããããŠã§ããžã§ãã æ°å€ã®å€ã決å®ããã«ã¯ãæ°å€ã®ç»åãå³ããå·Šã«æ°åã«åå²ããå¿ èŠããããŸãã æ°ããéé¢ã¯ã暪umbäœã®åŸã«çŽæ¥ããã³ãçŸããããšããå§ãŸããŸãã äŸãšããŠ32ãåãäžããŸãã
æ°åã®60ãšãã®ãã¹ãŠã®è§åºŠã¯ãã1ããšããŠçŽç·ã®ããã³ã§ã瀺ãããŸãã ãããã£ãŠãããããã¢ã®æ°äœç³»ã¯6é²æ°ãšåŒã°ããŠããŸããã
1ãã59ãŸã§ã®ãã¹ãŠã®æ°åã¯ã10é²æ°ã®éå®äœã·ã¹ãã ã§ããããã¢äººã«ãã£ãŠæžããã倧ããªå€-60ãåºæ°ãšããå®äœçœ®ã§æžãããŸããã
ãŒããè¡šãæ°åããªãã£ããããçªå·ã®èšé²ã¯ãããŸãã§ããã æ°å€92ã®è¡šçŸã¯ã92 = 60 + 32ã ãã§ãªããããšãã°3632 = 3600 + 32ãæå³ããŸãã æ°åã®çµ¶å¯Ÿå€ã決å®ããããã«ãæ¬ èœããŠãã6æ¡ã®æ°åã瀺ãç¹æ®æåãå°å ¥ãããŸãããããã¯ã10é²æ°ã¬ã³ãŒãã®æ°å0ã®åºçŸã«å¯Ÿå¿ããŸãã
ããã§ãçªå·3632ã¯æ¬¡ã®ããã«èšè¿°ãããŸãã
6æ¡ã®10é²æ°ã®ããããã¢ã·ã¹ãã ã¯ãäœçœ®ã®åçã«éšåçã«åºã¥ããæåã®æ°å€ã·ã¹ãã ã§ãã ãã®æ°å€ã·ã¹ãã ã¯ãããšãã°ãæå»ã決å®ãããšãã«äœ¿çšãããŸãã1æéã¯60åã§æ§æããã1åã¯60ç§ã§ãã
ããŒãç³»
ããŒãã®ã·ã¹ãã ã¯ãšãžããã®ã·ã¹ãã ãšå€§å·®ãããŸããã ãã®äžã§ãæ°å1ã5ã10ã50ã100ã500ãããã³1000ã瀺ãããã«ãã©ãã³ã¢ã«ãã¡ãããã®å€§æåã¯ãããããIãVãXãLãCãDãããã³Mã§ãã ããŒãæ°åã·ã¹ãã ã®æ°åã¯ãé£ç¶ããæ°åã®ã»ããã§ãã
æ°å€ã®å€ã決å®ããæ¹æ³ïŒ
- æ°å€ã®å€ã¯ããã®æ°åã®å€ã®åèšã«çãããªããŸãã ããšãã°ãããŒãæ°åã·ã¹ãã ã®æ°å€32ã¯ãXXXII =ïŒX + X + XïŒ+ïŒI + IïŒ= 30 + 2 = 32ãšãã圢åŒã§ãã
- å°ããæ°åã倧ããæ°åã®å·ŠåŽã«ããå Žåãå€ã¯å€§ããæ°åãšå°ããæ°åã®å·®ã«çãããªããŸãã åæã«ãå·Šã®æ¡ã¯å³ã®æ¡ãã1æ¡å°ããããšããããŸãããããã£ãŠããè¥ããã ãã®LïŒ50ïŒãšCïŒ100ïŒã®åã«XïŒ10ïŒãç«ã€ããšãã§ããDïŒ500ïŒãšMïŒ1000ïŒã®åã«ã®ã¿- CïŒ100ïŒãVïŒ5ïŒã®å-IïŒ1ïŒã®ã¿ã èæ ®ãããçªå·äœç³»ã®çªå·444ã¯ãCDXLIV =ïŒDCïŒ+ïŒLXïŒ+ïŒVIïŒ= 400 + 40 + 4 = 444ã®åœ¢åŒã§èšè¿°ãããŸãã
- å€ã¯ã1ãã€ã³ããš2ãã€ã³ãã«åãŸããªãã°ã«ãŒããšæ°å€ã®å€ã®åèšã«çãããªããŸãã
ããžã¿ã«ã«å ããŠãã¢ã«ãã¡ãããïŒæ°åïŒã®æ°å€ã·ã¹ãã ããããŸãããã®äžéšã次ã«ç€ºããŸãã
1ïŒã¹ã©ã
2ïŒã®ãªã·ã£èªïŒã€ãªãã¢èªïŒ
äœçœ®çªå·ã·ã¹ãã
äžèšã®ããã«ãäœçœ®ã·ã¹ãã ã®åºçŸã®ããã®æåã®åææ¡ä»¶ã¯å€ä»£ãããã³ã§çããŸããã ã€ã³ãã§ã¯ãã·ã¹ãã ã¯ãŒãã䜿çšããäœçœ®10é²æ°ã®åœ¢åŒããšããã€ã³ã人ã¯ãã®ã·ã¹ãã ãã¢ã©ã人ããåçšãããããããšãŒããã人ãæ¡çšããŸããã äœããã®çç±ã§ããšãŒãããã§ã¯ããã®ã·ã¹ãã ã«ãã¢ã©ãããšããååãå²ãåœãŠãããŸããã
10é²æ°ã·ã¹ãã
ããã¯æãäžè¬çãªçªå·ã·ã¹ãã ã®1ã€ã§ãã ååã®äŸ¡æ ŒãåŒã³åºãããã¹ã®çªå·ãçºé³ãããšãã«äœ¿çšããŸãã åã«ããŽãªïŒäœçœ®ïŒã§ã¯ã0ã9ã®ç¯å²ã§1æ¡ãã䜿çšã§ããŸãããã·ã¹ãã ã®åºæ°ã¯10ã§ãã
ããšãã°ãæ°å€503ãååŸããŸãããã®æ°å€ãéå®äœã·ã¹ãã ã§èšè¿°ãããå Žåããã®å€ã¯5 + 0 + 3 = 8ã§ãããããããäœçœ®ã·ã¹ãã ããããããæ°å€ã®åæ¡ã«ã·ã¹ãã ã®åºããã®å Žåã¯æ°å€ã 10âãæŸé»æ°ã«çããé»åã«äžããããŸãã å€ã¯5 * 10 2 + 0 * 10 1 + 3 * 10 0 = 500 + 0 + 3 = 503ã§ããããšãããããŸããè€æ°ã®æ°å€ã·ã¹ãã ãåæã«æäœããéã®æ··ä¹±ãé¿ãããããããŒã¹ã¯äžä»ãæåã§ç€ºãããŠããŸãã ãããã£ãŠã503 = 503 10ã§ãã
10é²æ°ã·ã¹ãã ã«å ããŠã2çªç®ã8çªç®ãããã³16çªç®ã®ã·ã¹ãã ã«ã¯ç¹å¥ãªæ³šæãå¿ èŠã§ãã
2é²æ°ã·ã¹ãã
ãã®ã·ã¹ãã ã¯ãäž»ã«ã³ã³ãã¥ãŒã¿ãŒæè¡ã§äœ¿çšãããŸãã ãªãã¿ã®ãã10çªç®ã®ãã®ã䜿çšããªãã£ãã®ã¯ãªãã§ããïŒ æåã®ã³ã³ãã¥ãŒãã£ã³ã°ãã·ã³ã¯Blaise Pascalã«ãã£ãŠäœæãããŸãããã10é²æ³ã䜿çšããŠããŸãããã10å·ã§åäœå¯èœãªããã€ã¹ã®çç£ãå¿ èŠã«ãªããäŸ¡æ Œãšãã·ã³ã®åèšãµã€ãºãå¢å ãããããçŸä»£ã®é»åãã·ã³ã§ã¯äžäŸ¿ã§ããã ãããã®æ¬ ç¹ã¯ã2çªç®ã®ã·ã¹ãã ã§æ©èœããèŠçŽ ã奪ãããŠããŸãã ããã§ããåé¡ã®ã·ã¹ãã ã¯ã³ã³ãã¥ãŒã¿ãŒã®çºæããããã£ãšåã«äœæãããã€ã³ã«ææã«ããã®ãŒããŸããã€ã³ã«ææã§ã¯ãè€éãªããŒãã®æãšçµã³ç®ã䜿çšãããŠããŸããã
2é²æ°ã®äœçœ®çªå·ã·ã¹ãã ã®åºæ°ã¯2ã§ããã2æåïŒæ°åïŒã䜿çšããŠæ°å2ãæžã蟌ã¿ãŸãïŒ0ããã³1ãåæ°åã§ã¯ã1æ¡ã®ã¿ïŒ0ãŸãã¯1ïŒãèš±å¯ãããŸãã
äŸã¯101ã§ããããã¯ã10é²æ°ã·ã¹ãã ã®çªå·5ã«äŒŒãŠããŸãã 2çªç®ãã10çªç®ã«è»¢éããã«ã¯ã2é²æ°ã®åæ¡ã«ããŒã¹ã2ããæããŠãã«ããŽãªã«çãã环ä¹ã«ããå¿ èŠããããŸãã ãããã£ãŠãæ°å€101 2 = 1 * 2 2 + 0 * 2 1 + 1 * 2 0 = 4 + 0 + 1 = 5 10 ã
ãã·ã³ã§ã¯ã2çªç®ã®æ°å€ã·ã¹ãã ã®æ¹ã䟿å©ã§ãããããèŠãããããã«ãã³ã³ãã¥ãŒã¿ãŒã®10çªç®ã®ã·ã¹ãã ã§æ°å€ã䜿çšããŸãã 次ã«ããŠãŒã¶ãŒãå ¥åããæ°åããã·ã³ãã©ã®ããã«å€æããŸããïŒ 0ãš1ã®2æåãã䜿çšã§ããªããããããã·ã¹ãã ããå¥ã®ã·ã¹ãã ã«æ°åã¯ã©ã®ããã«å€æãããŸããïŒ
ã³ã³ãã¥ãŒã¿ãŒã2é²æ°ïŒã³ãŒãïŒãåŠçããã«ã¯ãããããã©ããã«ä¿åããå¿ èŠããããŸãã åã ã®æ°åãæ ŒçŽããããã«ãé»ååè·¯ã§ããããªã¬ãŒã䜿çšãããŸãã 2ã€ã®ç¶æ ãããã1ã€ã¯ãŒãã«å¯Ÿå¿ãããã1ã€ã¯çµ±äžã«å¯Ÿå¿ããŸãã åäžã®æ°å€ãèšæ¶ããããã«ãã¬ãžã¹ã¿ãŒã䜿çšãããŸããããªã¬ãŒã®ã°ã«ãŒãã¯ã2é²æ°ã®ãããæ°ã«å¯Ÿå¿ããŸãã ãããŠãã¬ãžã¹ã¿ã®ã»ããã¯RAMã§ãã ã¬ãžã¹ã¿ã«å«ãŸããçªå·ã¯æ©æ¢°èªã§ãã ã¯ãŒãã䜿çšããç®è¡ããã³è«çæŒç®ã¯ãç®è¡è«çããã€ã¹ïŒALUïŒã«ãã£ãŠå®è¡ãããŸãã ã¬ãžã¹ã¿ãžã®ã¢ã¯ã»ã¹ãç°¡åã«ããããã«ãçªå·ãä»ããããŠããŸãã ãã®çªå·ã¯ã¬ãžã¹ã¿ã¢ãã¬ã¹ãšåŒã°ããŸãã ããšãã°ã2ã€ã®æ°åãè¿œå ããå¿ èŠãããå Žåã¯ãæ°åèªäœã§ã¯ãªããããããé 眮ãããŠããã»ã«ïŒã¬ãžã¹ã¿ïŒã®çªå·ã瀺ãã ãã§ååã§ãã ã¢ãã¬ã¹ã¯8é²ããã³16é²ã·ã¹ãã ã§èšè¿°ãããŸãïŒä»¥äžã§èª¬æããŸãïŒãã¢ãã¬ã¹ãããã€ããªã·ã¹ãã ãžã®ç§»è¡ããã³ãã®éã®ç§»è¡ã¯éåžžã«ç°¡åã ããã§ãã 2çªç®ãã8çªç®ã«è»¢éããã«ã¯ã3æ¡ã®ã°ã«ãŒãã«å³ããå·Šã«åå²ãã16ãã4ã«ç§»åããå¿ èŠããããŸãã巊端ã®ã°ã«ãŒãã«æ°åããªãå Žåã¯ãå·ŠåŽã«ãŒããåã蟌ãŸããŸãããªãŒãã äŸãšããŠãçªå·101100 2ã䜿çšããŸãã 8é²æ°ã§ã¯101 100 = 54 8ã§ããã16é²æ°ã§ã¯0010 1100 =216ã§ãã ãã°ãããã§ããããªãç»é¢ã«10é²æ°ãšæåã衚瀺ãããã®ã§ããïŒ ããŒãæŒããããšãé»æ°ã€ã³ãã«ã¹ã®ç¹å®ã®ã·ãŒã±ã³ã¹ãã³ã³ãã¥ãŒã¿ãŒã«éä¿¡ãããåã·ã³ãã«ã«ã¯ç¬èªã®é»æ°ã€ã³ãã«ã¹ã®ã·ãŒã±ã³ã¹ïŒãŒããš1ïŒããããŸãã ããŒããŒãããã³ã¹ã¯ãªãŒã³ãã©ã€ããŒããã°ã©ã ã¯ãæåã³ãŒãããŒãã«ïŒããšãã°ã65536æåããšã³ã³ãŒãã§ããUnicodeïŒã«ã¢ã¯ã»ã¹ããåä¿¡ããã³ãŒããã©ã®æåã«å¯Ÿå¿ããããå€æããç»é¢ã«è¡šç€ºããŸãã ãããã£ãŠãããã¹ããšæ°åã¯ã³ã³ãã¥ãŒã¿ãŒã®ã¡ã¢ãªã®ãã€ããªã¡ã¢ãªã«ä¿åãããããã°ã©ã ã§ç»é¢äžã®ç»åã«å€æãããŸãã
8é²æ°ã·ã¹ãã
ãã€ããªã®ãããª8çªç®ã®æ°å€ã·ã¹ãã ã¯ãããžã¿ã«ãã¯ãããžãŒã§ãã䜿çšãããŸãã åºæ°ã¯8ã§ã0ã7ã®æ°åã䜿çšããŠçªå·ãèšé²ããŸãã
8é²æ°ã®äŸïŒ254ã10çªç®ã®ã·ã¹ãã ã«è»¢éããã«ã¯ãå ã®æ°å€ã®åãããã«8 nãä¹ç®ããå¿ èŠããããŸãïŒnã¯ãããã®æ°ïŒã 254 8 = 2 * 8 2 + 5 * 8 1 + 4 * 8 0 = 128 + 40 + 4 = 172 10ã§ãã
16é²è¡šèš
16é²æ°ã·ã¹ãã ã¯ãçŸä»£ã®ã³ã³ãã¥ãŒã¿ãŒã§åºã䜿çšãããŠããŸããããšãã°ãïŒFFFFFF-çœãè²ã䜿çšãããŠããŸãã åé¡ã®ã·ã¹ãã ã®åºæ°ã¯16ã§ãæ°åã®æžã蟌ã¿ã«äœ¿çšããŸãïŒ0ã1ã2ã3ã4ã5ã6ã7ã8ã9ãAãBãCãDãEãFãæåã¯10ã11ã§ãããããã12ã13ã14ã15ã
äŸãšããŠ4F5 16ãåãäžããŸãã 8é²æ°ã«å€æããã«ã¯ãæåã«16é²æ°ã2é²æ°ã«å€æããŠããã3æ¡ã®ã°ã«ãŒãã«åããŠ8é²æ°ã«å€æããŸãã æ°å€ã2çªç®ã«å€æããã«ã¯ãåæ¡ã4ãããã®2é²æ°ãšããŠè¡šãå¿ èŠããããŸãã 4F5 16 =ïŒ100 1111 101ïŒ 2 ã ããããã°ã«ãŒã1ãš3ã«ã¯æŸé»ããªãã®ã§ãå é ã«0100 1111 0101ãããããåããŸãã次ã«ãçµæã®æ°å€ãå³ããå·Šãž3æ¡ã®ã°ã«ãŒãã«åå²ããå¿ èŠããããŸãã01001111 0101 = 010 011 110101ãåãã€ããªã°ã«ãŒãã8é²ã·ã¹ãã ã«å€æããŸããåæ¡ã«2 nãä¹ç®ããŸããããã§ãnã¯æ¡çªå·ã§ãïŒïŒ0 * 2 2 + 1 * 2 1 + 0 * 2 0 ïŒïŒ0 * 2 2 + 1 * 2 1 + 1 * 2 0 ïŒïŒ1 * 2 2 + 1 * 2 1 + 0 * 2 0 ïŒïŒ1 * 2 2 + 0 * 2 1 + 1 * 2 0 ïŒ= 2365 8 ã
æ€èšäžã®äœçœ®çªå·ã·ã¹ãã ã«å ããŠãä»ã«ã次ã®ãããªãã®ããããŸãã
1ïŒäžäœäžäœ
2ïŒç¬¬åçŽ
3ïŒåäºæè ž
äœçœ®ã·ã¹ãã ã¯åçš®ãšæ··åã«åããããŸãã
åçš®ã®äœçœ®çªå·ã·ã¹ãã
èšäºã®åé ã«ç€ºããå®çŸ©ã¯åçš®ã®ã·ã¹ãã ãé©åã«èª¬æããŠãããããæ¹è¯ã¯äžèŠã§ãã
æ··åæ°ã·ã¹ãã
äžèšã®å®çŸ©ã«å®çãè¿œå ã§ããŸãããP = Q n ïŒPãQãnãæ£ã®æŽæ°ã§ãPãšQãåºïŒã®å Žåãæ··åïŒPQïŒæ°äœç³»ã®ä»»æã®æ°ã®è¡šèšã¯åºæ°Qã®çªå·äœç³»ã«åãçªå·ãæžãããšã«ãããã
å®çã«åºã¥ããŠãPthã·ã¹ãã ããQthã·ã¹ãã ãžãããã³ãã®éã®è»¢éã®ã«ãŒã«ãå®åŒåã§ããŸãã
- QthããPthã«è»¢éããã«ã¯ãQthã·ã¹ãã ã§æ°å€ãå¿ èŠãšããå³æ¡ã§å§ãŸãnæ¡ã®ã°ã«ãŒãã«åå²ããPthã·ã¹ãã ã§åã°ã«ãŒãã1æ¡ã«çœ®ãæããŸãã
- PthããQthã«è»¢éããã«ã¯ãPthã·ã¹ãã ã®æ°å€ã®åæ¡ãQthã«å€æããå·Šã®æ¡ãé€ããŠæ¬ èœããŠããæ¡ãå è¡ãŒãã§åããå¿ èŠããããŸããããã«ãããããŒã¹Qã®ã·ã¹ãã ã®åæ°å€ã¯næ¡ã§æ§æãããŸãã
é¡èãªäŸã¯ããã€ããªãã8é²æ°ãžã®å€æã§ãã 2é²æ°10011110 2ãååŸããŠ8é²æ°ã«å€æããå³ããå·Šã«3æ¡ã®ã°ã«ãŒãã«åå²ããŸãïŒ010 011 110ãåæ¡ã«2 nãæããŸããããã§nã¯æ¡çªå·ã010 011 110 =ïŒ0 * 2 2 +1 * 2 1 + 0 * 2 0 ïŒïŒ0 * 2 2 + 1 * 2 1 + 1 * 2 0 ïŒïŒ1 * 2 2 + 1 * 2 1 + 0 * 2 0 ïŒ= 236 8 ã 10011110 2 = 236 8ã§ããããšãããããŸãã æ確ã«ããããã«ã2é²æ°ã®8é²æ°ã®ç»åã¯ã236 8 =ïŒ10 011 110ïŒ 2-8ã®ããªãã«ã«åå²ãããŸãã
æ··åçªå·ã·ã¹ãã ããããšãã°æ¬¡ã®ãšããã§ãã
1ïŒéä¹
2ïŒãã£ãããã
ããçªå·ã·ã¹ãã ããå¥ã®çªå·ã·ã¹ãã ãžã®è»¢é
ããçªå·ã·ã¹ãã ããå¥ã®çªå·ã·ã¹ãã ã«çªå·ãå€æããå¿ èŠãããå Žåããããããç°ãªãã·ã¹ãã éã®è»¢éæ¹æ³ãæ€èšããŸãã
10é²æ°ã«å€æ
åºæ°bã®æ°äœç³»ã«ã¯æ°a 1 a 2 a 3ããããŸãã 10çªç®ã®ã·ã¹ãã ã«è»¢éããã«ã¯ãæ°å€ã®åãããã«b nãä¹ç®ããå¿ èŠããããŸããããã§ãnã¯ãããã®æ°å€ã§ãã ãããã£ãŠãïŒa 1 a 2 a 3 ïŒ b =ïŒa 1 * b 2 + a 2 * b 1 + a 3 * b 0 ïŒ 10 ã
äŸïŒ101 2 = 1 * 2 2 + 0 * 2 1 + 1 * 2 0 = 4 + 0 + 1 = 5 10
å°æ°ããä»ãžã®å€æ
å šäœïŒ
- 10é²æ°ã®æŽæ°éšãã10é²æ°ããŒãã«ãªããŸã§å€æããã·ã¹ãã ã®ããŒã¹ã§é 次åå²ããŸãã
- é€ç®ã«ãã£ãŠåŸãããæ®åºã¯ãç®çã®æ°ã®æ°åã§ãã æ°ããã·ã¹ãã ã®çªå·ã¯ãæåŸã®æ®ãããéå§ããŠæžã蟌ãŸããŸãã
å°æ°éšïŒ
- 10é²æ°ã®å°æ°éšã«ã¯ãå€æå ã®ã·ã¹ãã ã®åºæ°ãä¹ç®ãããŸãã éšåå šäœãåé¢ããŸãã 0ã«çãããªããŸã§ãå°æ°éšã«æ°ããã·ã¹ãã ã®åºãæãç¶ããŸãã
- æ°ããã·ã¹ãã ã®æ°åã¯ãåä¿¡ã«å¯Ÿå¿ããé åºã§ã®ä¹ç®çµæã®éšåã§ãã
äŸïŒ15 10ã8é²æ°ã«å€æããŸãã
15 \ 8 = 1ãå°äœ7
1 \ 8 = 0ãå°äœ1
äžããäžã«ãã¹ãŠã®æ®å·®ãæžãçãããšãæçµçãªæ°å€17ãåŸãããŸãããããã£ãŠã15 10 = 17 8ã§ãã
2é²æ°ãã8é²æ°ããã³16é²æ°ãžã®å€æ
8é²æ°ã«å€æããã«ã¯ã2é²æ°ãå³ããå·Šã«3æ¡ã®ã°ã«ãŒãã«åå²ããæ¬ èœããŠãã極端ãªæ¡ãå è¡ãŒãã§åããŸãã 次ã«ãæ°åã«2 nãé çªã«æããŠåã°ã«ãŒããå€æããŸããããã§ãnã¯æ°åã§ãã
äŸãšããŠãçªå·1001 2ã䜿çšããŸãïŒ1001 2 = 001 001 =ïŒ0 * 2 2 + 0 * 2 1 + 1 * 2 0 ïŒïŒ0 * 2 2 + 0 * 2 1 + 1 * 2 0 ïŒ=ïŒ0+ 0 + 1ïŒïŒ0 + 0 + 1ïŒ= 11 8
16é²æ°ã«å€æããã«ã¯ã2é²æ°ãå³ããå·Šã«4æ¡ã®ã°ã«ãŒãã«åå²ãã2çªç®ãã8çªç®ãžã®å€æãšåæ§ã«è¡ããŸãã
8é²æ°ããã³16é²æ°ãã2é²æ°ã«å€æãã
8é²æ°ãã2é²æ°ãžã®å€æ-8é²æ°ã®åæ¡ã2ã§é€ç®ããŠ2é²æ°ã®3æ¡ã®æ°å€ã«å€æããŸãïŒé€ç®ã®è©³çŽ°ã«ã€ããŠã¯ãäžèšã®ã10é²æ°ã·ã¹ãã ããä»ã®ã·ã¹ãã ãžã®å€æãã»ã¯ã·ã§ã³ãåç §ïŒãæ¬ èœããŠãã極端ãªæ¡ãå è¡ãŒãã§åããŸãã
ããšãã°ãæ°å45 8ãèããŠã¿ãŸãããïŒ45 =ïŒ100ïŒïŒ101ïŒ= 100 101 2
16çªç®ãã2çªç®ãžã®å€æ-16é²æ°ã®åæ¡ã2ã§å²ã£ãŠ4æ¡ã®2é²æ°ã«å€æããæ¬ èœããŠãã極端ãªæ¡ãå è¡ãŒãã§åããŸãã
ä»»æã®æ°å€ã·ã¹ãã ã®å°æ°éšåã10é²æ°ã«å€æããŸã
å€æã¯ãå šäœã®å Žåãšåãæ¹æ³ã§å®è¡ãããŸãããæ°åã®æ¡ã«ã-nãã®çŽ¯ä¹ãä¹ç®ãããŸããnã¯1ããå§ãŸããŸãã
äŸïŒ101.011 2 =ïŒ1 * 2 2 + 0 * 2 1 + 1 * 2 0 ïŒãïŒ0 * 2 -1 + 1 * 2 -2 + 1 * 2 -3 ïŒ=ïŒ5ïŒãïŒ0 + 0 ã25 + 0.125ïŒ= 5.375 10
ãã€ããªã·ã¹ãã ã®å°æ°éšåã8çªç®ãš16çªç®ã«å€æãã
å°æ°éšåã¯ãæ°åã®æŽæ°éšåãšåãæ¹æ³ã§å€æãããŸãããã ãã3æ¡ãš4æ¡ã®ã°ã«ãŒããžã®åé¡ã¯å°æ°ç¹ã®å³åŽã«ãªããæ¬ èœããŠããæ¡ã¯å³åŽã«ãŒããè¿œå ãããŸãã
äŸïŒ1001.01 2 = 001 001ã010 =ïŒ0 * 2 2 + 0 * 2 1 + 1 * 2 0 ïŒïŒ0 * 2 2 + 0 * 2 1 + 1 * 2 0 ïŒãïŒ0 * 2 2 + 1 * 2 1 + 0 * 2 0 ïŒ=ïŒ0 + 0 + 1ïŒïŒ0 + 0 + 1ïŒãïŒ0 + 2 + 0ïŒ= 11.2 8
10é²æ°ã·ã¹ãã ã®å°æ°éšãä»ã®ã·ã¹ãã ã«å€æããŸã
æ°å€ã®å°æ°éšåãä»ã®æ°å€ã·ã¹ãã ã«å€æããã«ã¯ãæŽæ°éšåããŒãã«å€æããçµæã®æ°å€ã«å€æå ã®ã·ã¹ãã ã®åºæ°ãæãå§ããå¿ èŠããããŸãã ä¹ç®ã®çµæãæŽæ°éšåãåã³è¡šç€ºãããå Žåãçµæã®æŽæ°éšåã®å€ã以åã«èšæ¶ïŒæžãçãïŒããŠããŒãã«æ»ãå¿ èŠããããŸãã å°æ°éšåãå®å šã«æ¶ãããšãæäœã¯çµäºããŸãã
ããšãã°ã10.625 10ããã€ããªã·ã¹ãã ã«å€æããŸãã
0.625 * 2 = 1.25
0.250 * 2 = 0.5
0.5 * 2 = 1.0
äžããäžã«ãã¹ãŠã®æ®é«ãæžããåŸã10.625 10 =ïŒ1010ïŒãïŒ101ïŒ= 1010.101 2ãååŸããŸã