Monday, 3 April 2017

algebra precalculus - Find the fraction that creates a repeating decimal that repeats certain digits



Is there any way to find the fraction $x/y$ that, when converted to a decimal, repeats a series of digits $z$? For example: ${x}/{y} = z.zzzzzzzz...$ or with actual numbers, $x/y = 234.234234234...$ (z is 234)



If this is impossible, is there a way that does the same but the value to the left of the decimal is not $z$?


Answer



There's a nice fact (derived from the expression demonstrated by TonyK): The repeating decimal $0.zzz\dots$ can be represented by
$$\frac{z}{10^{l(z)}-1}$$
where $l(z)$ here denotes the number of digits of $z$.




Now if we want instead $z.zzz\dots$, all we have to do is multiply the above expression by $10^{l(z)}$ (or as Joffan points out - simply add $z$), getting
$$\frac{10^{l(z)}z}{10^{l(z)}-1}$$


No comments:

Post a Comment

real analysis - How to find $lim_{hrightarrow 0}frac{sin(ha)}{h}$

How to find $\lim_{h\rightarrow 0}\frac{\sin(ha)}{h}$ without lhopital rule? I know when I use lhopital I easy get $$ \lim_{h\rightarrow 0}...