2017年3月30日

Project Euler Problem 27 Quadratic primes

摘要: Quadratic primesProblem 27Euler discovered the remarkable quadratic formula:n2+n+41It turns out that the formula will produce 40 prime... 阅读全文

posted @ 2017-03-30 19:47 海岛Blog 阅读(143) 评论(0) 推荐(0) 编辑

Project Euler Problem 118 Pandigital prime sets

摘要: Pandigital prime setsProblem 118Using all of the digits 1 through 9 and concatenating them freely to form decimal integers, different ... 阅读全文

posted @ 2017-03-30 18:52 海岛Blog 阅读(359) 评论(0) 推荐(0) 编辑

Project Euler Problem 36 Double-base palindromes

摘要: Double-base palindromesProblem 36The decimal number, 585 = 10010010012 (binary), is palindromic in both bases.Find the sum of all numb... 阅读全文

posted @ 2017-03-30 01:00 海岛Blog 阅读(234) 评论(0) 推荐(0) 编辑

导航