mathlesstraveled.com
Finding prefix and repetend length
We interrupt your regularly scheduled primality testing to bring you something else fun I’ve been thinking about. It’s well-known that any rational number $latex a/b$ has a decimal expansion that e…