Browse · MATH
Printjmc
number theory intermediate
Problem
What is the base-10 integer 340 when expressed in base 7?
Solution
If you notice that 340 is close to , then it makes the problem much easier. Since , that makes , or the largest three-digit number in base 7. To get 340, we subtract 2, which means subtracting 2 from the digit in the place. That leaves us with .
Alternatively, the largest power of 7 less than 340 is , and the largest multiple of 49 less than 340 is . That means there is a 6 in the place. We have left, which can be represented as . So, we get .
Alternatively, the largest power of 7 less than 340 is , and the largest multiple of 49 less than 340 is . That means there is a 6 in the place. We have left, which can be represented as . So, we get .
Final answer
664_7