We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2dc17c4 commit 01fa04aCopy full SHA for 01fa04a
problem_026/problem26.md
@@ -0,0 +1,17 @@
1
+# Reciprocal cycles
2
+## Problem 26
3
+A unit fraction contains 1 in the numerator. The decimal representation of the unit fractions with denominators 2 to 10 are given:
4
+
5
+1/2 = 0.5<br/>
6
+1/3 = 0.(3)<br/>
7
+1/4 = 0.25<br/>
8
+1/5 = 0.2<br/>
9
+1/6 = 0.1(6)<br/>
10
+1/7 = 0.(142857)<br/>
11
+1/8 = 0.125<br/>
12
+1/9 = 0.(1)<br/>
13
+1/10 = 0.1<br/>
14
15
+Where 0.1(6) means 0.166666..., and has a 1-digit recurring cycle. It can be seen that 1/7 has a 6-digit recurring cycle.
16
17
+Find the value of d < 1000 for which 1/d contains the longest recurring cycle in its decimal fraction part.
0 commit comments