# Post Profile

## Periods of fractions

Suppose you have a fraction a/b where 0 < a < b, and a and b are relatively prime integers. The decimal expansion of a/b either terminates or it has an initial non-repeating part followed by a repeating part. How long is the non-repeating part? How long is the period of the repeating part? The answer depends on the prime factorization […]

share

# Related Posts

### What do you mean by can’t?

You can’t subtract 4 from 3 (and stay inside the natural numbers, but you can inside the integers) You can’t divide 3 by 4 (inside the ring of integers, but you can inside its field of fractions, the rational numbers). You can’t tak...

### Convert Decimal to Fraction and Vice Versa in C#

Programming / Windows Development : CodeProject

Class for converting decimals and fractions (allows rounding to a decimal also)

### Cyclic fractions

Somewhere along the way you may have noticed that the digits in the decimal expansion of multiples of 1/7 are all rotations of the same digits: 1/7 = 0.142857142857… 2/7 = 0.285714285714… 3/7 = 0.428571428571… 4/7 = 0.571428571428… ...

### Odd periods in continued fractions

Academics / Mathematics : God Plays Dice

Here's a question. Why is the period of the quotients in the continued fraction of N1/2 "usually" even? For example, if N runs over the ninety non-squares less than 100, then only 20 times does the continued fraction expansion of N1...