2016年7月12日 星期二

ITSA 42 [Problem1] 完美數


http://e-tutor.itsa.org.tw/e-Tutor/mod/programming/view.php?id=25957


古希臘數學家歐幾里得是通過 的表達式發現前四個完全數的。
  1. 6(1位)
  2. 28(2位)
  3. 496(3位)
  4. 8128(4位)
  5. 33550336(8位)
  6. 8589869056(10位)
  7. 137438691328(12位)
  8. 2305843008139952128(19位)
  9. 2658455991569831744654692615953842176(37位)
  10. 191561942608236107294793378084303638130997321548169216(54位)

沒有留言:

張貼留言