Re: Rational Numbers/Irrational Numbers
- From: Bart Goddard <goddardbe@xxxxxxxxxxxx>
- Date: 27 Jan 2007 21:24:42 GMT
dta@xxxxxxxx wrote:
1/1, 1/2, 2/1, 3/1, 2/2, 1/3, 1/4, 2/3, ...
I'm not seeing the algorithm behind the sequence above. Could you
state it explicitly?
The concept I understand (the mapping), just I don't see how the
sequence above is generated.
It's not really an "algorithm" but an ordering. The ordering
is given, on the set of (positive) rational numbers in reduced
form h/k with (h,k)=1) by declaring that h1/k1 preceeds h2/k2
if h1+k1 < h2+k2. In the case h1+k1 = h2+k2,then we declare
that h1/k1 preceeds h2/k2 if h1<h2.
In other words, we first sort first on the sum of the numerator
and denominator and then sort by numerators. (This is taken
from Ivan Niven's monograph.)
Bart
--
The man without a .sig
.
- References:
- Rational Numbers/Irrational Numbers
- From: Leo
- Re: Rational Numbers/Irrational Numbers
- From: David T. Ashley
- Re: Rational Numbers/Irrational Numbers
- From: davidmarcus
- Re: Rational Numbers/Irrational Numbers
- From: David T. Ashley
- Re: Rational Numbers/Irrational Numbers
- From: Dave Seaman
- Re: Rational Numbers/Irrational Numbers
- From: David T. Ashley
- Rational Numbers/Irrational Numbers
- Prev by Date: Re: Plotting points around a circle
- Next by Date: Re: An interesting question about analytical geometry and calculus
- Previous by thread: Re: Rational Numbers/Irrational Numbers
- Next by thread: Re: Rational Numbers/Irrational Numbers
- Index(es):
Relevant Pages
|