From: "Allan G. Schrum/Theresa C. Schrum" Subject: Re: continued fraction of (a+SQR(b))/c Date: Wed, 17 May 2000 19:53:22 -0400 Newsgroups: sci.math Summary: URL A description of how to perform simple math operations on CFs is found at http://www.ippi.com/rwg/cfup.htm . It includes a simple way to handle your question. You'll need to code it, but the ideas are simple enough. -Allan Allen JKeirstead wrote: > A puzzle.- The value (a+SQR(b))/c where a,b and c are integer and c > doesn't equal 0.This represents any solution value for the quadratic > equation. The problem- create > a simple algorythm that will genenate the continued fraction for this > value-Imaginary and real continued fractions for complex number > solutions (b<0). The catch-no irrationals allowed in the algorythm in > fact no fractions whatsoever. The algorythm must be an entirely integer > solution. I've worked this one out and haven't seen any reference to it > in any book on CF's. If you know of any references please post them. > Otherwise clues to follow in the weeks to come. Allen Keirstead > mathmusical@netidea.com