Skip to content

Runnable code for solving Project Euler problems in Python

Notifications You must be signed in to change notification settings

hoshmandent/Project-Euler-solutions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 

Repository files navigation

Project Euler Solutions

This repository contains my solutions to the problems from Project Euler. Project Euler is a collection of challenging mathematical and computational problems that require creative problem-solving and programming skills.

About Project Euler

"Project Euler exists to encourage, challenge, and develop the skills and enjoyment of anyone with an interest in the fascinating world of mathematics."

For each problem I solved/will solve, I have provided a Python script that solves the problem. Please note that these solutions are meant for educational purposes and to showcase different problem-solving approaches. It's always recommended to solve the problems on your own before referring to the solutions.

Solutions

  1. Problem 1: Multiples of 3 and 5
  2. Problem 2: Even Fibonacci numbers
  3. Problem 3: Largest prime factor
  4. Problem 4: Largest palindrome product
  5. Problem 5: Smallest Multiple
  6. Problem 6: Sum Square Difference
  7. Problem 7: 10001st Prime
  8. Problem 8: Largest Product in a Series
  9. Problem 9: Special Pythagorean Triplet
  10. Problem 10: Summation of Primes
  11. Problem 11: Largest Product in a Grid
  12. Problem 12: Highly Divisible Triangular Number
  13. Problem 13: Large Sum
  14. Problem 14: Longest Collatz Sequence
  15. Problem 15: Lattice Paths
  16. Problem 16: Power Digit Sum
  17. Problem 17: Number Letter Counts
  18. Problem 18: Maximum Path Sum I
  19. Problem 19: Counting Sundays
  20. Problem 20: Factorial Digit Sum
  21. Problem 21: Amicable Numbers
  22. Problem 22: Names Scores
  23. Problem 23: Non-Abundant Sums
  24. Problem 24: Lexicographic Permutations
  25. Problem 25: 1000-digit Fibonacci Number
  26. Problem 26: Reciprocal Cycles
  27. Problem 27: Quadratic Primes
  28. Problem 28: Number Spiral Diagonals
  29. Problem 29: Distinct Powers
  30. Problem 30: Digit Fifth Powers
  31. Problem 31: Coin Sums
  32. Problem 32: Pandigital Products
  33. Problem 33: Digit Cancelling Fractions
  34. Problem 34: Digit Factorials
  35. Problem 35: Circular Primes
  36. Problem 36: Double-base Palindromes
  37. Problem 37: Truncatable Primes
  38. Problem 38: Pandigital Multiples
  39. Problem 39: Integer Right Triangles
  40. Problem 40: Champernowne's Constant
  41. Problem 41: Pandigital Prime
  42. Problem 42: Coded Triangle Numbers
  43. Problem 43: Sub-string Divisibility
  44. Problem 44: Pentagon Numbers
  45. Problem 45: Triangular, Pentagonal, and Hexagonal

301 - Problem 301: Nim

...

Contributing

Feel free to contribute to this repository by providing your own solutions, optimizations, or alternative approaches to the problems. Please create a pull request with your changes, and I'll be happy to review and merge them.

Disclaimer

The solutions provided in this repository are my own work unless otherwise specified. They are intended for personal learning and should not be used to gain an unfair advantage or violate the Project Euler terms of use.

If you haven't already, I highly recommend visiting the Project Euler website and attempting the problems on your own before exploring the solutions.

Happy coding!

About

Runnable code for solving Project Euler problems in Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages