Project Euler Problem 21
摘要:
Let d(n) be defined as the sum of proper divisors ofn(numbers less thannwhich divide evenly inton).If d(a) =band d(b) =a, whereab, thenaandbare an amicable pair and each ofaandbare called amicable numbers.For example, the proper divisors of 220 are 1, 2, 4, 5, 10, 11, 20, 22, 44, 55 and 110; therefo 阅读全文
posted @ 2011-03-11 22:40 Ray Z 阅读(194) 评论(0) 推荐(0) 编辑