Hello all, I have recently been wondering whether there is a way to determine a fraction for which the decimal expansion is a cycle of n numbers?(adsbygoogle = window.adsbygoogle || []).push({});

I would like to be able to work this out myself, but I can't wait until I start my mathematics degree. So any help would be greatly appreciated.

For example, if I wanted a rational number with a repeated 500 digit sequence, is there a way to efficiently work out an example of such a number?

Penny for your thoughts guys.

Cheers.

**Physics Forums | Science Articles, Homework Help, Discussion**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Arbitrary cycle of digits in rational number?

**Physics Forums | Science Articles, Homework Help, Discussion**