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

Home > Numbers
Shifting the digit (Posted on 2019-03-11) Difficulty: 3 of 5
A1A2A3...An-1An/A2A3...An-1AnA1 = 12/17

What is the smallest value of n such that there exists solutions to the above equation?

No Solution Yet Submitted by Danish Ahmed Khan    
No Rating

Comments: ( Back to comment list | You must be logged in to post comments.)
Solution Analytic Solution Comment 5 of 5 |
I'm going to start by multiplying the numerator and denominator by 1/999...999 (n 9s) on the left side.  Then we have 
A1A2A3....An/999...999   12
---------------------- = --
A2A3....AnA1/999...999 17
When expanded in decimal form the numerator and denominator of the left fraction are repeating decimals of n digits.

Let the numerator be x, note that 0<x<1. Then the denominator can be written as 10*x-A1.  Then x/(10*x-A1) = 12/17.

Now solve for x gives us x=12*A1/103 where A1 is a digit.  A1=0 is degenerate and must be discarded and A1=9 also needs to be discarded as it makes x=108/103 which is greater than the upper bound of 1.

The smallest occurs at A1=1, x=12/103.  When written as decimal it has a 34 digit repeating block, that block is then A1A2A3....An.  Checking the other digits 2-8 also all have 34 digit blocks. So we can conclude that answer to the problem is n=34.

  Posted by Brian Smith on 2022-09-18 12:14:08
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 (0)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

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