
Home > Just Math
Digit Reversal And Subtraction (Posted on 2008-09-10) |
|
N is a 3-digit positive integer (with no leading zeroes) divisible by 3, such that by reversing the digits of N/3 and subtracting 1 from the result, we will obtain N.
Determine all possible value(s) of N.
Bonus Question:
If the number of digits in N is > 3, with all the other conditions remaining the same, what is the minimum value of N?
Note: While a solution is trivial with the aid of a computer program, show how to derive it without one.
|
Submitted by K Sengupta
|
No Rating
|
|
Solution:
|
(Hide)
|
The required value of N is 741.
For the bonus question, the required minimum value is 7425741
EXPLANATION:
Refer to the respective analytic methodologies of Dej Mar and pcbouhid in the comments.
I solved the original problem in the following manner:
Let R(x) = The number obtained by reversing the digits of x.
Then, by the problem:
N = R(N/3) -1
-> R(N+1) = N/3
-> N+1 = 3*R(N+1) +1
-> abc = 3*cba + 1, where N = abc-1
-> abc – cba = 2*cba + 1
-> 99(a-c) = 2*cba +1 ………(i)
From (i), it follows that: 2*cba + 1 is equal to an at most three digit odd multiple of 99, so that: 2*cba + 1 = 99, 297, 495, 693, 891
-> cba = 049, 148, 247, 346, 445
Checking the five values, we observe that only cba = 247 satisfies (i).
Thus, R(N+1) = 247, so that: N = 742 – 1 = 741
Consequently, the required value of N is 741.
Bonus Question:
For the bonus question, we denote the number of digits in N by d.
No facile analytic methodology seem to exist for solving this, apart from checking separately the cases arising out of d= 4,5,6,7; whereby we will obtain the minimum value of N as 7425741.
|
Comments: (
You must be logged in to post comments.)
|
 |
Please log in:
Forums (0)
Newest Problems
Random Problem
FAQ |
About This Site
Site Statistics
New Comments (3)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On
Chatterbox:
|