My notation which I was using is called "Countinued Fraction". It is a topic in Number Theory. It is a truly remarkable topic in how to express any real number in terms of repeating nest of fraction. It is a theory that grew just because out of human fasination of expressing "ugly" irrationals as a beautiful patterns.
Go to this link
http://en.wikipedia.org/wiki/Continued_fractions