摘要: Sometimes it was Liz Norton who would call Espinoza and ask about Morini, whom she'd talked tothe day before and whom she'd thought seemed a little de... 阅读全文
posted @ 2014-11-05 18:34 dergum 阅读(155) 评论(0) 推荐(0) 编辑
摘要: # 145 is a curious number, as 1! + 4! + 5! = 1 + 24 + 120 = 145.# Find the sum of all numbers which are equal to the sum of the factorial of their dig... 阅读全文
posted @ 2014-10-30 17:16 dergum 阅读(121) 评论(0) 推荐(0) 编辑
摘要: # Surprisingly there are only three numbers that can be written as the sum of fourth powers of their digits:# 1634 = 14 + 64 + 34 + 44# 8208 = 84 + 24... 阅读全文
posted @ 2014-10-30 16:57 dergum 阅读(153) 评论(0) 推荐(0) 编辑
摘要: # This Python file uses the following encoding: utf-8# If the numbers 1 to 5 are written out in words: one, two, three, four, five, then there are 3 +... 阅读全文
posted @ 2014-10-29 21:13 dergum 阅读(137) 评论(0) 推荐(0) 编辑
摘要: # This Python file uses the following encoding: utf-8# Starting in the top left corner of a 2×2 grid, and only being able to move to the right and dow... 阅读全文
posted @ 2014-10-22 08:20 dergum 阅读(139) 评论(0) 推荐(0) 编辑
摘要: # This Python file uses the following encoding: utf-8# The Fibonacci sequence is defined by the recurrence relation:# Fn = Fn−1 + Fn−2, where F1 = 1 a... 阅读全文
posted @ 2014-10-21 22:38 dergum 阅读(116) 评论(0) 推荐(0) 编辑
摘要: # This Python file uses the following encoding: utf-8# 215 = 32768 and the sum of its digits is 3 + 2 + 7 + 6 + 8 = 26.# What is the sum of the digits... 阅读全文
posted @ 2014-10-21 22:20 dergum 阅读(135) 评论(0) 推荐(0) 编辑
摘要: # This Python file uses the following encoding: utf-8# The following iterative sequence is defined for the set of positive integers:# n → n/2 (n is ev... 阅读全文
posted @ 2014-10-20 09:40 dergum 阅读(144) 评论(0) 推荐(0) 编辑
摘要: # This python file uses the following encoding: utf-8# Consider all integer combinations of ab for 2 ≤ a ≤ 5 and 2 ≤ b ≤ 5:# 22=4, 23=8, 24=16, 25=32#... 阅读全文
posted @ 2014-10-19 20:42 dergum 阅读(117) 评论(0) 推荐(0) 编辑
摘要: # The series, 11 + 22 + 33 + ... + 1010 = 10405071317.# Find the last ten digits of the series, 11 + 22 + 33 + ... + 10001000.import timestart = time.... 阅读全文
posted @ 2014-10-19 20:40 dergum 阅读(87) 评论(0) 推荐(0) 编辑