10 2014 档案
摘要:# 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...
阅读全文
摘要:# 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...
阅读全文
摘要:# 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 +...
阅读全文
摘要:# 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...
阅读全文
摘要:# 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...
阅读全文
摘要:# 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...
阅读全文
摘要:# 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...
阅读全文
摘要:# 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#...
阅读全文
摘要:# The series, 11 + 22 + 33 + ... + 1010 = 10405071317.# Find the last ten digits of the series, 11 + 22 + 33 + ... + 10001000.import timestart = time....
阅读全文
摘要:# This python file uses the following encoding: utf-8# In England the currency is made up of pound, £, and pence, p, and there are eight coins in gene...
阅读全文
摘要:......1.包含元素#wrapper {overflow:hidden;}(包含元素内的内容overflow时,无法显示)2.包含元素跟所包含的内容同时#wrapper {float:left;}(影响同包含元素同一层的元素的布局)3.包含元素#wrapper {display:table;}(...
阅读全文
摘要:只含一层的菜单abcde一层纵向菜单 li {list-style:none;}(默认圆点不美观) 列表项之间设置border a {text-textdecoration:none;}(默认下划线不美观) a:hover也要重新设置 a {display:block;}把a的区域扩充到父...
阅读全文
摘要:你要对自己诚实尤其不要无情装有情对爱情不要玩世不恭在这干旱,没有希望的土地上它是一片四季常青的绿洲.你要吸取流水年华的经验从容地向青春时光告别你要培养自己的精神力量以抗衡突如其来的不幸的打击但你千万不要用想象使自己苦恼,忧伤有很多恐惧产生于疲劳和孤独除去有益于身心健康的原则之外你要善待自己你和树木,...
阅读全文
摘要:# Each new term in the Fibonacci sequence is generated by adding the previous two terms. By starting with 1 and 2, the first 10 terms will be: 1, 2, 3...
阅读全文
摘要:# if we list all natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6, and 9. The sum of these multiples is 23. Find the sum of all t...
阅读全文