ABBABB

The product of six consecutive prime numbers is equal to A B B A B B \overline{ABBABB} where A A and B B are two distinct positive digits. What is the value of A + B A+B ?

Note: A B B A B B \overline{ABBABB} is in base 10 10 .

12 5 7 8 11 9 6 10

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

Áron Bán-Szabó
Jul 13, 2017

A B B A B B = 100000 A + 10000 B + 1000 B + 100 A + 10 B + B = 100100 A + 11011 B = 1001 ( 100 A + 11 B ) = 7 11 13 ( 100 A + 11 B ) \begin{aligned} \overline{ABBABB} & = 100000A+10000B+1000B+100A+10B+B \\ & = 100100A+11011B \\ & =1001*(100A+11B) \\ & = 7*11*13*(100A+11B) \end{aligned}

Since this number is equal to the product of six consecutive prime numbers and 2 3 5 = 30 < 100 A + 11 B < 17 19 23 = 7429 2*3*5=30<100A+11B<17*19*23=7429 , both of the 5 5 and 17 17 is a divisor of ( 100 A + 11 B ) (100A+11B) . The 5 17 = 85 5*17=85 has only one multiple which can be expressed in a A B B \overline{ABB} formula, the 255 255 , so A = 2 A=2 and B = 5 B=5 , and 255255 = 3 5 7 11 13 17 255255=3*5*7*11*13*17 .

Therefore the answer is 2 + 5 = 7 2+5=\boxed{7} .

It would be easier to just say "Since 7, 11, 13 are 3 of the prime factors, we just have to check the values of 2 × 3 × 5 , 3 × 5 × 17 , 5 × 17 × 19 , 17 × 19 × 23 , 2 \times 3 \times 5, 3 \times 5 \times 17, 5 \times 17 \times 19, 17 \times 19 \times 23, \ldots .

Calvin Lin Staff - 3 years, 11 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...