Développeur Drupal

Project Euler

Le projet Euler est un site très amusant et pédagogique qui propose de résoudre des problèmes mathématiques en écrivant des programmes dans le langage de son choix. J'essaye de venir à bout des plus de 200 exercices proposés en utilisant Python.

Voici la liste des problèmes que j'ai résolus pour le moment. Cette page est dédiée à Monsieur T. et Monsieur L., professeurs qui on tout fait pour me dégoûter des mathématiques au lycée, ainsi qu'à Madame X., conseillère d'orientation qui failli me convaincre que mes mauvaises notes dans cette matière me fermeraient à jamais le métier de programmeur.
Ma page de profil (compte requis)

Numéro de l'exerciceicone de tri Titre Date de résolution
1 Add all the natural numbers below one thousand that are multiples of 3 or 5. Di, 2008-11-16
2 Find the sum of all the even-valued terms in the Fibonacci sequence which do not exceed four million. Di, 2008-11-16
3 Find the largest prime factor of a composite number. Me, 2008-11-19
4 Find the largest palindrome made from the product of two 3-digit numbers. Ve, 2008-11-21
5 What is the smallest number divisible by each of the numbers 1 to 20? Me, 2008-11-19
6 What is the difference between the sum of the squares and the square of the sums? Me, 2008-11-19
7 Find the 10001st prime. Ve, 2008-11-21
8 Discover the largest product of five consecutive digits in the 1000-digit number. Di, 2008-11-23
9 Find the only Pythagorean triplet, {a, b, c}, for which a + b + c = 1000. Di, 2008-11-23
10 Calculate the sum of all the primes below two million. Ma, 2008-11-18
11 What is the greatest product of four numbers on the same straight line in the 20 by 20 grid? Di, 2008-11-23
12 What is the value of the first triangle number to have over five hundred divisors? Sa, 2008-12-27
13 Find the first ten digits of the sum of one-hundred 50-digit numbers. Sa, 2008-12-27
14 Find the longest sequence using a starting number under one million. Sa, 2008-12-27
15 Starting in the top left corner in a 20 by 20 grid, how many routes are there to the bottom right corner? Sa, 2008-12-27
16 What is the sum of the digits of the number 2^1000? Sa, 2008-12-27
17 How many letters would be needed to write all the numbers in words from 1 to 1000? Sa, 2008-12-27
18 Find the maximum sum travelling from the top of the triangle to the base. Sa, 2008-12-27
19 How many Sundays fell on the first of the month during the twentieth century? Di, 2008-12-28
20 Find the sum of digits in 100! Di, 2008-12-28
21 Evaluate the sum of all amicable pairs under 10000. Lu, 2009-05-04
22 What is the total of all the name scores in the file of first names? Lu, 2009-05-04
23 Find the sum of all the positive integers which cannot be written as the sum of two abundant numbers. Me, 2009-05-06
24 What is the millionth lexicographic permutation of the digits 0, 1, 2, 3, 4, 5, 6, 7, 8 and 9? Di, 2009-08-23
25 What is the first term in the Fibonacci sequence to contain 1000 digits? Di, 2009-08-30
67 Using an efficient algorithm find the maximal sum in the triangle? Sa, 2008-12-27