Solve MAA Problem: Find 3-digit Number in Base 7 & 9

  • Thread starter DarrenM
  • Start date
In summary, a scientist shared their approach and thoughts on a problem they stumbled across in a Facebook group for the MAA. They rephrased the problem and came up with two approaches to finding the solution. They also discussed the possibility of there being three solutions and suggested using modular arithmetic as a potential approach.
  • #1
DarrenM
81
1
Not homework, but a really neat problem I stumbled across. MAA has a Facebook thing-- page? I don't know, I only use Facebook to share pictures with my family and read about the MAA stuff. They post problems often, some of which are very cool. Such as this one.

Homework Statement



A number of three digits in base 7 has the same three digits in reverse order when expressed in base 9. What is the number?

Homework Equations


I re-phrased the question as follows:

Let n be an integer in base 10 such that n = abc7 and n = cba9. What is n?

The Attempt at a Solution



I've got two approaches; a brute force approach that I used and another that a friend and I came up with. I'd love something a bit more generalized. Someone on Facebook said they had three distinct solutions. So...

i. I started by looking for some boundaries. By definition, the only integers we can use for base 7 are 0-6. So, 6667 = 34210 is our upper bound. But, 6009 = 48610. So, c cannot be 6. By the same argument c cannot be 5.

From the problem stating that both abc7 and cba9 are three digits, I don't think that a and c can be 0.

These are the restrictions I came up with:
1 < a < 6
0 < b < 6
1 < c < 4

I flailed around a bit, and decided to try this: Three number lines

Base 10 --------------------------------------
Base 7 ---------------------------------------
Base 9 ---------------------------------------

I had an upper and lower boundary, so I checked the base 10 value of 1007, 2007, 3007, 4007, 5007, and 6007. Then I checked 1009, 2009, 3009, and 4009. I was looking for base 10 values that appeared to converge. 5007 and 3009 were very close; 245 and 243 in base 10, respectively. Since the base 7 and base 9 numbers have to be inverted, I tried 5037 and 3059 and was successful: 24810.ii.
I kept the same restrictions in mind from approach (i).
1 < a < 6
0 < b < 6
1 < c < 4

Let n = abc7 and n = cba9. Then,
n = a72 + b71 + c70 = 49a + 7b + c and
n = c92 +b91 + c90 = 81c + 9b + a.

So, 49a +7b + c = 81c + 9b + a. Or,
48a -2b -80c = 0.

Then, b = 24a -40c = 8(3a-5c)
Then, b/8 = 3a-5c.

But, a, b, and c are all integers. So, 3a is an integer, 5c is an integer, and 3a-5c is an integer. So, b/8 must be an integer, and an integer divisible by 8. The only integer in the boundaries of b that meets that criteria is 0. Therefore, b = 0.

So,
3a-5c = 0
3a=5c

So, a = 5 and c=3. Comments: (i) is really ugly. It felt kind of like... well, like trying to get into a room and accomplishing that by kicking the door in. Sure, it works, but you feel a bit silly when someone walks up behind you with the key.
(ii) is the result of trying to find a solution that wasn't quite so ugly, and one that, perhaps, yielded a more generalized result. Am I correct in thinking that this solution is the only nontrivial answer to the problem? Someone claimed to have found three solutions, but I can't for the life of me see how.

Finally, is there a still better way of approaching this problem?
 
Physics news on Phys.org
  • #2


Dear scientist,

Thank you for sharing your approach and thoughts on this problem. I find it really interesting how you approached it from two different angles and came up with a solution. I agree that the first approach may seem a bit brute force, but I think it's still a valid and systematic way of finding the solution. As for the second approach, I think it's a clever way of looking at the problem and finding a more general solution.

Regarding the claim of finding three solutions, I'm not sure if there is a mistake or if there is indeed a way to find three solutions. Perhaps it would be helpful to ask the person who made the claim for their solution and see if it aligns with yours. It's always good to have multiple perspectives on a problem.

In terms of a better approach, I'm not sure if I have one, but I think it might be helpful to think about the problem in terms of modular arithmetic. Since we are dealing with different bases, perhaps there is a way to use modular arithmetic to find the solution more efficiently.

Thank you for sharing this problem and your thoughts on it. It's always interesting to see how different people approach and solve problems. Keep up the great work!
 

Related to Solve MAA Problem: Find 3-digit Number in Base 7 & 9

1. How do I solve the MAA problem of finding a 3-digit number in base 7 and 9?

To solve this problem, you will need to convert the base 7 number into its equivalent base 10 number, then convert the base 9 number into its equivalent base 10 number. Once you have both numbers in base 10, you can simply add them together to find the 3-digit number.

2. What is the formula for converting a base 7 number to base 10?

The formula for converting a base 7 number to base 10 is: (the 1st digit x 7^2) + (the 2nd digit x 7^1) + (the 3rd digit x 7^0).

3. How do I convert a base 9 number to base 10?

To convert a base 9 number to base 10, you can use the formula: (the 1st digit x 9^2) + (the 2nd digit x 9^1) + (the 3rd digit x 9^0).

4. Can I use a calculator to solve this problem?

Yes, you can use a calculator to convert the numbers to base 10 and to add them together. However, it is important to understand the concepts behind the conversions and not solely rely on a calculator.

5. Are there any other methods for solving this problem?

Yes, there are other methods for solving this problem such as using modular arithmetic or using a conversion chart. However, the most efficient and accurate method is to convert the numbers to base 10 and add them together.

Similar threads

  • Precalculus Mathematics Homework Help
Replies
6
Views
1K
  • Precalculus Mathematics Homework Help
Replies
13
Views
1K
  • Precalculus Mathematics Homework Help
Replies
11
Views
1K
  • Precalculus Mathematics Homework Help
Replies
3
Views
1K
  • Precalculus Mathematics Homework Help
Replies
1
Views
768
  • Precalculus Mathematics Homework Help
Replies
1
Views
1K
  • Precalculus Mathematics Homework Help
Replies
8
Views
766
  • Precalculus Mathematics Homework Help
Replies
6
Views
970
  • Precalculus Mathematics Homework Help
Replies
1
Views
1K
  • Precalculus Mathematics Homework Help
Replies
19
Views
2K
Back
Top