I used to try to solve Project Euler problems in order to practice and extend my math and programming skills (and having fun at the same time!). This repository lists all of my Project Euler solution code.
Just Python 3.6.9
File | Stmts | Miss | Branch | BrPart | Cover |
---|---|---|---|---|---|
FibonacciProblem02.py | 20 | 6 | 6 | 1 | 73% |
FibonacciProblem02_test.py | 13 | 1 | 4 | 1 | 88% |
HighlyDivisibleTriangularNr12.py | 24 | 5 | 10 | 1 | 82% |
HighlyDivisibleTriangularNr12_test.py | 16 | 1 | 4 | 1 | 90% |
LargeSum13_test.py | 11 | 1 | 4 | 1 | 87% |
LargestPrimeNumber03.py | 15 | 5 | 6 | 1 | 71% |
LargestPrimeNumber03_test.py | 12 | 0 | 4 | 0 | 100% |
LargestProduct08.py | 22 | 7 | 8 | 1 | 73% |
LargestProduct08_test.py | 29 | 1 | 4 | 1 | 94% |
LargestProductInGrid11.py | 64 | 12 | 34 | 3 | 81% |
LargestProductInGrid11_test.py | 35 | 0 | 2 | 0 | 100% |
LatticePaths15.py | 11 | 6 | 2 | 1 | 46% |
LatticePaths15_test.py | 11 | 1 | 4 | 1 | 87% |
LongestCollatzSequence14.py | 24 | 4 | 10 | 1 | 85% |
LongestCollatzSequence14_test.py | 10 | 1 | 4 | 1 | 86% |
Nr10001stPrime07.py | 23 | 5 | 10 | 1 | 82% |
Nr10001stPrime07_test.py | 7 | 1 | 4 | 1 | 82% |
NumberLetterCounts_17.py | 44 | 10 | 26 | 4 | 77% |
NumberLetterCounts_17_test.py | 61 | 1 | 4 | 1 | 97% |
Palindrome4Digits04.py | 20 | 4 | 12 | 1 | 84% |
Palindrome4Digits04_test.py | 11 | 1 | 4 | 1 | 87% |
PowerDigitSum16.py | 14 | 5 | 4 | 1 | 67% |
PowerDigitSum16_test.py | 13 | 1 | 4 | 1 | 88% |
PythagoreanTriplet09.py | 20 | 3 | 8 | 1 | 86% |
PythagoreanTriplet09_test.py | 9 | 1 | 4 | 1 | 85% |
SmallestMultiple05.py | 18 | 4 | 8 | 1 | 81% |
SmallestMultiple05_test.py | 7 | 1 | 4 | 1 | 82% |
SumOfPrimes10.py | 14 | 4 | 8 | 2 | 73% |
SumOfPrimes10_test.py | 13 | 1 | 4 | 1 | 88% |
SumSquareDifference06.py | 13 | 4 | 4 | 1 | 71% |
SumSquareDifference06_test.py | 7 | 1 | 4 | 1 | 82% |
problemSpecialNumbers01.py | 16 | 7 | 6 | 1 | 64% |
problemSpecialNumbers01_test.py | 9 | 0 | 2 | 0 | 100% |
TOTAL | 636 | 105 | 226 | 36 | 83% |
This project is licensed under the MIT License - see the LICENSE.md file for details