Project Euler

2018-12-11 Thijs

Project Euler Badge

For fun I have started again solving projecteuler.net problems. With these problems, varying amounts of mathematics and programming are needed. Some examples of problems I solved recently are:

  • [#86] Find all cuboids where the shortest path between two opposite corners is a whole (integer) number.
  • [#84] Calculate the probabilities to end up in every Monopoly square.
  • [#100] In a box containing at least 10^12 discs, how many red and blue discs should the box contain for the probability of taking two random discs and having them be blue to be exactly 50%?
  • [#77] What is the first number that can be written as a sum of primes in over 5,000 different ways?