进阶之路

导航

2017年11月28日 #

Problem 4: Largest palindrome product

摘要: A palindromic number reads the same both ways. The largest palindrome made from the product of two 2-digit numbers is 9009 = 91 × 99. Find the largest 阅读全文

posted @ 2017-11-28 11:42 中年小Q 阅读(166) 评论(0) 推荐(0) 编辑

Problem 3: Largest prime factor

摘要: The prime factors of 13195 are 5, 7, 13 and 29. What is the largest prime factor of the number 600851475143 ? 欧拉题里很多是关于求质数,求质数的方法很多,我推荐的是筛选法,效率高,也很好理解 阅读全文

posted @ 2017-11-28 11:27 中年小Q 阅读(185) 评论(0) 推荐(0) 编辑