python
哒哒小窘
一个不愿意透露姓名的王姓网管
展开
-
project Eulert 学习笔记 之 problem 29
Distinct powers Problem 29 Consider all integer combinations of ab for 2 ≤ a ≤ 5 and 2 ≤ b ≤ 5: 22=4, 23=8, 24=16, 25=32 32=9, 33=27, 34=81, 35=243 42=16, 43=64, 44=256, 45=1024 52=25, 5原创 2017-11-28 14:18:00 · 222 阅读 · 0 评论 -
project Eulert 学习笔记 之 problem 25
The Fibonacci sequence is defined by the recurrence relation: Fn = Fn−1 + Fn−2, where F1 = 1 and F2 = 1. Hence the first 12 terms will be: F1 = 1 F2 = 1 F3 = 2 F4 = 3 F5 = 5 F6 = 8 F7 = 13 F原创 2017-11-28 14:25:19 · 192 阅读 · 0 评论 -
project Eulert 学习笔记 之 problem 8
The four adjacent digits in the 1000-digit number that have the greatest product are 9 × 9 × 8 × 9 = 5832. 73167176531330624919225119674426574742355349194934 9698352031277450632623957831801698480186原创 2017-11-28 14:32:45 · 199 阅读 · 0 评论 -
project Eulert 学习笔记 之 problem 22
Using names.txt (right click and 'Save Link/Target As...'), a 46K text file containing over five-thousand first names, begin by sorting it into alphabetical order. Then working out the alphabetical原创 2017-11-28 14:37:25 · 221 阅读 · 0 评论