Skip to content

Commit 28c8601

Browse files
Update sol1.py
1 parent d14f6b8 commit 28c8601

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

Diff for: project_euler/problem_136/sol1.py

+5-3
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,12 @@
44
Singleton Difference
55
66
The positive integers, x, y, and z, are consecutive terms of an arithmetic progression.
7-
Given that n is a positive integer, the equation, x^2 - y^2 - z^2 = n, has exactly one solution when n = 20:
8-
13^2 - 10^2 - 7^2 = 20.
7+
Given that n is a positive integer, the equation, x^2 - y^2 - z^2 = n,
8+
has exactly one solution when n = 20:
9+
13^2 - 10^2 - 7^2 = 20.
910
10-
In fact there are twenty-five values of n below one hundred for which the equation has a unique solution.
11+
In fact there are twenty-five values of n below one hundred for which
12+
the equation has a unique solution.
1113
1214
How many values of n less than fifty million have exactly one solution?
1315

0 commit comments

Comments
 (0)