2008-09-01ãã1ã¶æéã®è¨äºä¸è¦§
Problem 16 - Project Euler http://projecteuler.net/index.php?section=problems&id=16 2^15 = 32768 and the sum of its digits is 3 + 2 + 7 + 6 + 8 = 26.What is the sum of the digits of the number 2^1000? ãã¾ãã¾è¦ãããåé¡ã # ã°ã°ã£ã¦ã¿ãâ¦
ç´ 2å¹´ã¶ãã®ãã¤ãã³ã°ã§ããã 殿æ§ãã¤ãã ã£ãã§ãæ©æã®ã»ããã£ã³ã°ãªã©ã®åã¯å¾®å¦ãªã¾ã¾ã§ããããæ½ãã®æè¦ã¯åãæ»ããæ°ããã¾ããåæ¥ã¯ãã¯ã¿ã³å³¶ä»è¿ãæ½ããäºæ¥ç®ã¯ã¡ãã£ã¨è¶³ã伸ã°ãã¦ã«ãã©ãªå³¶ã¾ã§è¡ããã¨æã£ãã®ã§ãããåãã風ãå¼·â¦
ã¡ãã£ã¨é ãã®å¤ä¼ã¿ã§ãã£ãªãã³ã®ã»ã島ã«è¡ã£ã¦ãã¾ããã ç®çã¯ãã¤ãã³ã°ã§ããããããã¯å¥ã¨ã³ããªã«ãã¦ãããã§ã¯ãã以å¤ã®ãã¿ãã é£è¡æ©ã®ãã©ãã« ãã½ã¯ç©ºæ¸¯ã®ä¸¡æ¿æã§ãã¤ãã£ã¦ãªããã ã...ãªã©ã¨æãã¤ã¤æä¹ã²ã¼ãã«ãããã®ã®ãåºçº3â¦