Problem 13：Large sum

Work out the first ten digits of the sum of the following one-hundred 50-digit numbers. 37107287533902102798797998220837590246510135740250 46376937677490009712648124896970078050...

2016/04/19 19:32
10
Problem 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,...

2016/04/18 08:45
5
Problem 11：Largest product in a grid

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 18 57 60 87 ...

2016/04/18 08:43
7
Problem 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. package main import (     "math"     "fmt" ) func test()int...

2016/04/18 08:41
3
Problem 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...

2016/04/17 09:51
5
Problem 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 969835203127745...

2016/04/17 09:50
15
Problem 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? package main import (     //"math...

2016/04/17 09:49
4
Problem 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...

2016/04/17 09:48
7
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 ? package main import (     "math"     "fmt" ) func Lar...

2016/04/17 09:46
7
Problem 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 o...

2016/04/17 04:05
8
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 palindrome made from the ...

2016/04/17 04:03
17
Problem 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, ....

2016/04/17 03:59
6
Problem 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 bel...

2016/04/17 03:48
9
ubuntu安装go1.5.3.linux-amd64

ubuntu安装go1.5.3.linux-amd64 说明：安装go1.5.3.linux-amd64首先安装go1.4rc1.linux-amd64因为go1.5之前go需要c编译器编译，之后go编译go 安装go1.4rc1.linux-amd64 安装gcc，go1.4rc1.li...

2016/02/28 11:41
12
split函数

2015/04/06 14:55
11
Django resources 