We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cb57da9 commit 15e9bdeCopy full SHA for 15e9bde
project_euler/problem_686/sol1.py
@@ -61,7 +61,7 @@ def solution(number: int = 678910) -> int:
61
lowerbound = log(1.23), upperbound = log(1.24)
62
because we need to find the powers that yield 123 as starting digits.
63
64
- log(1.23) = 0.08990511143939792, log(1,24) = 0.09342168516223506.
+ log(1.23) = 0.08990511143939792, log(1.24) = 0.09342168516223506.
65
We use 1.23 and not 12.3 or 123, because log(1.23) yields only decimal value
66
which is less than 1.
67
log(12.3) will be same decimal vale but 1 added to it
0 commit comments