All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Numbers > Sequences
All rational numbers in (Posted on 2016-08-26) Difficulty: 3 of 5
The infinite sequence is defined as follows:
a1=1
for n ≥ 1, a2n= an+1
a2n+1=1/ a2n

Prove that every positive rational number occurs in the sequence exactly once.

No Solution Yet Submitted by Ady TZIDON    
No Rating

Comments: ( Back to comment list | You must be logged in to post comments.)
Solution re: From N/D to n | Comment 7 of 10 |
(In reply to From N/D to n by Jer)

That works for me.  


The only thing that remains to be proved is that Jer's reverse algorithm must terminate, and that is very clear,  as every subtraction makes the (numerator + denominator) smaller, the reciprocal leaves the (numerator + denominator) unchanged, and we cannot cannot do two reciprocal operations in a row.

It therefore follows that each rational number appears in the sequence.  And the fact that at each step there is only one option available (as the fraction must either be greater or less than 1) means that a given rational number can appear in the sequence only once.

  Posted by Steve Herman on 2016-08-29 07:35:27
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (9)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2017 by Animus Pactum Consulting. All rights reserved. Privacy Information