欧拉计划
赵卓不凡
公众号:AI算法之道
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
欧拉计划(2)Even Fibonacci numbers
【题目】 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, 5, 8, 13, 21, 34, 55, 89, ... By consi原创 2015-05-09 10:16:37 · 800 阅读 · 0 评论 -
欧拉计划(5) Smallest multiple
【题目】 2520 is the smallest number that can be divided by each of the numbers from 1 to 10 without any remainder. What is the smallest positive number that is evenly divisible by all of the numbers原创 2015-05-09 16:09:09 · 830 阅读 · 0 评论 -
欧拉计划(3)Largest prime factord
【题目】 The prime factors of 13195 are 5, 7, 13 and 29. What is the largest prime factor of the number 600851475143 ? 【翻译】 13195的质数因子有5,7,13和29. 600851475143的最大质数因子是多少? 【思路】求一个数分解质因数,要从最小原创 2015-05-09 13:29:05 · 810 阅读 · 0 评论 -
欧拉计划(7)10001st prime
【题目】 By listing the first six prime numbers: 2, 3, 5, 7, 11, and 13, we can see that the 6th prime is 13. What is the 10 001st prime number? 【翻译】 前六个质数是2,3,5,7,11和13,其中第6个是13. 第10001个质数是多少?原创 2015-05-09 16:33:56 · 719 阅读 · 0 评论 -
欧拉计划(8)Largest product in a series
【题目】 The four adjacent digits in the 1000-digit number that have the greatest product are 9 × 9 × 8 × 9 = 5832. 73167176531330624919225119674426574742355349194934 96983520312774506326239578318016原创 2015-05-09 17:01:32 · 1085 阅读 · 0 评论 -
欧拉计划(9)Special Pythagorean triplet
【题目】 A Pythagorean triplet is a set of three natural numbers, a b c, for which, a2 + b2 = c2 For example, 32 + 42 = 9 + 16 = 25 = 52. There exists exactly one Pythagorean triplet for which a +原创 2015-05-09 17:23:30 · 773 阅读 · 0 评论 -
欧拉计划(1)Multiples of 3 and 5
【题目一】If we list all the 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 the multiples of 3 or 5 below 1000. 【翻译】10以原创 2015-05-09 10:03:39 · 1933 阅读 · 0 评论 -
欧拉计划(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 palindrome made from the product of two原创 2015-05-09 14:57:19 · 904 阅读 · 0 评论 -
欧拉计划(6)Sum square difference
【题目】 The sum of the squares of the first ten natural numbers is, 12 + 22 + ... + 102 = 385 The square of the sum of the first ten natural numbers is, (1 + 2 + ... + 10)2 = 552 = 3025 Hence th原创 2015-05-09 16:22:00 · 1020 阅读 · 0 评论 -
欧拉计划(10)Summation of primes
【题目】 The sum of the primes below 10 is 2 + 3 + 5 + 7 = 17. Find the sum of all the primes below two million. 【翻译】 10以下的质数的和是2 + 3 + 5 + 7 = 17. 找出两百万以下所有质数的和。 【思路】依旧暴力法 【代码】 bool isPr原创 2015-05-09 17:28:07 · 623 阅读 · 0 评论 -
欧拉计划(11)Largest product in a grid
【题目】在20X20的网格中同一直线上四个数的最大乘积是多少? In the 20×20 grid below, four numbers along a diagonal line have been marked in red. 08 02 22 97 38 15 00 40 00 75 04 05 07 78 52 12 50 77 91 08 49 49 99 40 17 81原创 2015-05-11 21:17:57 · 1671 阅读 · 0 评论 -
欧拉计划(14)Longest Collatz sequence
【题目】 The following iterative sequence is defined for the set of positive integers: n → n/2 (n is even) n → 3n + 1 (n is odd) Using the rule above and starting with 13, we generate the followin原创 2015-06-19 10:21:42 · 790 阅读 · 0 评论 -
欧拉计划(12)Highly divisible triangular number
【题目】 The sequence of triangle numbers is generated by adding the natural numbers. So the 7th triangle number would be 1 + 2 + 3 + 4 + 5 + 6 + 7 = 28. The first ten terms would be: 1, 3, 6, 10, 1原创 2015-06-07 21:14:55 · 723 阅读 · 0 评论 -
欧拉计划(13)Large sum
【题目】 Work out the first ten digits of the sum of the following one-hundred 50-digit numbers. 37107287533902102798797998220837590246510135740250 46376937677490009712648124896970078050417018260538 7原创 2015-06-07 21:23:24 · 861 阅读 · 0 评论
分享