Difference between revisions of "2017 AIME I Problems/Problem 5"
(→Solution 2) |
(→Solution 2) |
||
Line 22: | Line 22: | ||
==Solution 2== | ==Solution 2== | ||
− | The parts before the decimal points must be equal as must the parts after. Therefore 8<math>a</math> + <math>b</math> = 12<math>b</math> + <math>b</math> and <math>c</math>/8 + <math>d</math>/64 = <math>b</math>/12 + <math>a</math>/144. Simplifying the first equation gives: <math>a</math> = 3/2<math>b</math>. Plugging this into the second equation gives 3<math>b</math>/32 = <math>c</math>/8 + <math>d</math>/64. Multiply by 64: 6<math>b</math> = 8<math>c</math> + <math>d</math>. <math>a</math> and <math>b</math> are both digits between 1 and 7 (they must be a single digit in base eight) so using <math>a</math> = 3/2<math>b</math>, <math>a</math>,<math>b</math> = (3,2) or (6,4). Testing these gives that (6,4) doesn't work, and (3,2) gives <math>a</math> = 3, <math>b</math> = 2, <math>c</math> = 1, and <math>d</math> = 4. Therefore <math>abc</math> = <math>\boxed{321}</math> | + | The parts before the decimal points must be equal as must the parts after. Therefore 8<math>a</math> + <math>b</math> = 12<math>b</math> + <math>b</math> and <math>c</math>/8 + <math>d</math>/64 = <math>b</math>/12 + <math>a</math>/144. Simplifying the first equation gives: <math>a</math> = 3/2<math>b</math>. Plugging this into the second equation gives 3<math>b</math>/32 = <math>c</math>/8 + <math>d</math>/64. Multiply by 64: 6<math>b</math> = 8<math>c</math> + <math>d</math>. <math>a</math> and <math>b</math> are both digits between 1 and 7 (they must be a single non-zero digit in base eight) so using <math>a</math> = 3/2<math>b</math>, <math>a</math>,<math>b</math> = (3,2) or (6,4). Testing these gives that (6,4) doesn't work, and (3,2) gives <math>a</math> = 3, <math>b</math> = 2, <math>c</math> = 1, and <math>d</math> = 4. Therefore <math>abc</math> = <math>\boxed{321}</math> |
Revision as of 18:25, 8 March 2017
Problem 5
A rational number written in base eight is , where all digits are nonzero. The same number in base twelve is . Find the base-ten number .
Solution 1
First, note that the first two digits will always be a positive number. We will start with base twelve because of its repetition. List all the positive numbers in base twelve that have equal twelves and ones digits in base 8.
We stop because we only can have two-digit numbers in base 8 and 101 is not a 2 digit number. Compare the ones places to check if they are equal. We find that they are equal if or . Evaluating the places to the right side of the decimal point gives us or . When the numbers are converted into base 8, we get and . Since , the first value is correct. Compiling the necessary digits leaves us a final answer of
Solution 2
The parts before the decimal points must be equal as must the parts after. Therefore 8 + = 12 + and /8 + /64 = /12 + /144. Simplifying the first equation gives: = 3/2. Plugging this into the second equation gives 3/32 = /8 + /64. Multiply by 64: 6 = 8 + . and are both digits between 1 and 7 (they must be a single non-zero digit in base eight) so using = 3/2, , = (3,2) or (6,4). Testing these gives that (6,4) doesn't work, and (3,2) gives = 3, = 2, = 1, and = 4. Therefore =