Added a solution for Project Euler Problem 203 "Squarefree Binomial C… · coderjack/algorithms-in-python@ff00bfa · GitHub
Skip to content

Commit ff00bfa

Browse files
Added a solution for Project Euler Problem 203 "Squarefree Binomial Coefficients" (TheAlgorithms#3513)
* Added a solution for Project Euler Problem 203 (https://projecteuler.net/problem=203) * Simplified loop that calculates the coefficients of the Pascal's Triangle. Changes based on review suggestion. * Moved get_squared_primes_to_use function outside the get_squarefree function and fixed a failing doctest with the former.
1 parent eaa7ef4 commit ff00bfa

2 files changed

Lines changed: 188 additions & 0 deletions

File tree

project_euler/problem_203/__init__.py

Whitespace-only changes.

project_euler/problem_203/sol1.py

Lines changed: 188 additions & 0 deletions

0 commit comments

Comments
 (0)