Find this number

Find the largest number of the form A A B B \overline {AABB} which is the product of three distinct prime numbers and both the numbers of the form A A B \overline {AAB} and A B B \overline {ABB} are primes


The answer is 9911.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

Joshua Lowrance
May 2, 2019

We want A A B B AABB to be as big as possible, so we will start testing values that make A A B B AABB as large as possible. The three requirements are: A A B AAB is prime, A A B AAB is prime, A A B B AABB is product of three primes. (If one of the requirements is not met, I will skip the rest, because it won't matter). We can immediately skip all of the scenarios where B B is even, because A A B AAB or A B B ABB will never be prime.

A = ? A=? B = ? B=? A A B = ? AAB=? A B B = ? ABB=? A A B B = ? AABB=?
A = 9 A=9 B = 9 B=9 A A B = 999 AAB=999 ; not prime N/A N/A
A = 9 A=9 B = 7 B=7 A A B = 997 AAB=997 ; prime A B B = 997 ABB=997 ; prime A A B B = 9977 = 11 × 907 AABB=9977=11 \times 907 ; not product of 3 3 primes
A = 9 A=9 B = 5 B=5 A A B = 995 AAB=995 ; not prime N/A N/A
A = 9 A=9 B = 3 B=3 A A B = 993 AAB=993 ; not prime N/A N/A
A = 9 A=9 B = 1 B=1 A A B = 991 AAB=991 ; prime A B B = 991 ABB=991 ; prime A A B B = 9911 = 11 × 17 × 53 AABB=9911=11 \times 17 \times 53 ; product of 3 3 primes

Therefore, the largest number that fits all three requirements is 9911 9911 .

I messed up the values of the A B B ABB 's. It should be 977 977 and 911 911 respectively. Both are still prime, so the answer is still the same. I would edit the solution directly, but whenever I do, all my Latex goes away...

Joshua Lowrance - 2 years, 1 month ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...