Added solution for Project Euler problem 125#3073
Conversation
|
Hey, this looks perfect. |
|
Oh sorry to be ambiguous but I meant to put the reference part in the description and not in the title. |
|
Gotcha, will do |
@dhruvmanila sure thing! At first glance it looks like someone's mixed up 2 different problems - the docstring description is problem 234 as required, but the code itself seems to be related to problem 230 (completely unrelated problem). My guess is that the original poster make a typo in their commit, and then some automated tool added the docstrings? Just a guess. |
|
As per the history of the file, it was submitted as a solution to problem 234 so it being a solution for problem 230 is quite unlikely. I will most likely open an issue regarding this to change or remove the solution. If you've solved this problem then you can open a PR but AFTER I open the issue. I also see that you have submitted a lot of solutions which is really good but if possible can you slow down a bit, as the number of PRs is increasing a lot due to Hacktoberfest and one of our main maintainers is busy in some other work. |
Sure thing. Please let me know when you open the new issue.
Of course, sorry for the increased workload! I'll be away from a computer for the next 4 or 5 days anyway. |
* Added solution for Project Euler problem 125 * Fixed typos
* Added solution for Project Euler problem 125 * Fixed typos
Name: Palindromic sums
The palindromic number 595 is interesting because it can be written as the sum of consecutive squares: 6^2 + 7^2 + 8^2 + 9^2 + 10^2 + 11^2 + 12^2.
There are exactly eleven palindromes below one-thousand that can be written as consecutive square sums, and the sum of these palindromes is 4164. Note that 1 = 0^2 + 1^2 has not been included as this problem is concerned with the squares of positive integers.
Find the sum of all the numbers less than 10^8 that are both palindromic and can be written as the sum of consecutive squares.
Reference: https://projecteuler.net/problem=125
Reference: #2695
Checklist:
Fixes: #{$ISSUE_NO}.