A number theory cryptogram

Logic Level 2

C A T × C A T B O B C A T \large \begin{array}{rr} & C \ A \ T \\ \times & C \ A \ T \\ \hline & B \ O \ B \ C \ A \ T \end{array}

The above shows a cryptogram such that each letter represents a distinct single non-negative integer.

Find B + O + C + A + T B+O+C+A+T .


The answer is 21.

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.

4 solutions

In this solution, the equivalence \equiv means modulo 10 unless otherwise stated.

Last digit: T 2 T T^2 \equiv T . This requires T = 0 , 1 , 5 , 6 T = 0, 1, 5, 6 .

Cross product of last two digits: 2 A T A + 2AT \equiv A +\ tens digit of T 2 T^2 . Split out the cases:

  • If T = 0 T = 0 , the product should end in two zeroes, but this is impossible since A T A \not= T .

  • If T = 1 T = 1 , the cross product 2 A A 2A \equiv A . This means A = 0 A = 0 . Now C A T 2 = C 0 1 2 200 C + 1 CAT^2 = C01^2 \equiv 200C + 1 modulo 10000, requiring B = 0 B = 0 . But this is impossible since A B A \not= B .

  • If T = 5 T = 5 , the second last digit must be A = 2 A = 2 . We get C A T 2 = C 2 5 2 625 + 5000 C CAT^2 = C25^2 \equiv 625 + 5000C modulo 10000. This implies B C 50 C + 6 BC \equiv 50C + 6 , which immediately gives C = 6 C = 6 and B = 0 B = 0 . But B 0 B \not= 0 because it occurs as initial digit of the product.

  • That leaves T = 6 T = 6 and 12 A + 3 A 12A + 3 \equiv A , which implies A = 7 A = 7 . The equation C 7 6 2 = B O B C 76 C76^2 = BOBC76 translates into 5776 + 15200 C + 10000 C 2 = B O B C 76 57 + 152 C + 100 C 2 = B O B C 7 + 2 C C , 5776 + 15200\ C + 10000\ C^2 = BOBC76 \\ 57 + 152C + 100C^2 = BOBC \\7 + 2C \equiv C, from which C = 3 C = 3 . Check: 376 × 376 = 141376 376 \times 376 = 141376 is indeed a solution.

Thus B + O + C + A + T = 1 + 4 + 3 + 7 + 6 = 21 B + O + C + A + T = 1 + 4 + 3 + 7 + 6 = \boxed{21} .

Pi Han Goh
Feb 1, 2017

Let x x be the 3-digit integer, C A T \overline{CAT} , then by looking at the long multiplcation, we can see that the last 3 digits remains the same after the multiplication. That is x 2 x ( m o d 1000 ) x^2 \equiv x \pmod{1000} .

Or equivalently x ( x 1 ) 0 ( m o d 1000 ) x(x-1) \equiv 0 \pmod{1000} . Since x x and x 1 x-1 are coprime, and 1000 = 125 × 8 1000 = 125\times8 . Then one of x , x 1 x,x-1 has to be a multiple of 125, while the other is a multiple of 8.

We have either

Case 1: { x 0 ( m o d 125 ) x 1 ( m o d 8 ) \begin{cases} x \equiv 0 \pmod{125} \\ x \equiv 1 \pmod 8\end{cases} . Solving via Chinese remainder theorem (CRT) gives x = 625 x=625 only. But x 2 = 390625 = B O B C A T x^2 = 390625 =\overline{BOBCAT} , so B = 3 B = 3 and B = 0 B= 0 at the same time, which is impossible.

Case 2: { x 1 ( m o d 125 ) x 0 ( m o d 8 ) \begin{cases} x \equiv 1 \pmod{125} \\ x \equiv 0 \pmod 8\end{cases} . Solving via CRT again yields x = 376 x 2 = 141376 = B O B C A T x = 376\Rightarrow x^2 = 141376 = \overline{BOBCAT} .

So the only possible scenario is Case 2 with B = 1 , O = 4 , C = 3 , A = 7 , T = 6 B + O + C + A + T = 21 B = 1, O = 4, C = 3, A = 7, T = 6 \Rightarrow B+O+C+A+T=\boxed{21} .

Nice, that was my method as well!

Freddie Hand - 4 years, 4 months ago

I have already seen the 376 problem on what is 376^376^376 for the number of times 376 appeared I forgot, and 376 squared or cubed always has the last 3 digits 376 so I already knew that CAT could be 625 or 376.

Razzi Masroor - 4 years, 4 months ago

Log in to reply

I remembered that one too! Would you like to create a 4-digit version of this problem?

Pi Han Goh - 4 years, 4 months ago

Log in to reply

Yes I would.Do you remember the link of that problem, I would need it very much.

Razzi Masroor - 4 years, 4 months ago

Log in to reply

@Razzi Masroor Here you go!

Pi Han Goh - 4 years, 4 months ago

Log in to reply

@Pi Han Goh I have two questions that I would like for you to answer. First, how do you put a link in a word and when I try saving my changes, it just asks me to make a set and if I save, it says I might undo changes and it does.

Razzi Masroor - 4 years, 4 months ago

Log in to reply

Log in to reply

@Pi Han Goh Thanks a lot, but how can you fix my problem?

Razzi Masroor - 4 years, 3 months ago

Log in to reply

@Razzi Masroor like some other selected moderators, I can edit other people's problems...

Pi Han Goh - 4 years, 3 months ago
Aareyan Manzoor
Feb 5, 2017

heres an approach, we know 3 modular equations that can be easily solved: { T 2 T m o d 10 ( 10 A + T ) 2 10 A + T m o d 100 ( 100 C + 10 A + T ) 2 100 C + 10 A + T m o d 100 \begin{cases} T^2 \equiv T \mod{10}\\ (10A+T)^2 \equiv 10A+T \mod{100}\\ (100C+10A+T)^2 \equiv 100C+10A+T \mod{100}\\ \end{cases} it easy to see the first equation has only 4 solution less than 10 T = ( 0 , 1 , 5 , 6 ) T=(0,1,5,6) . we can eliminate T = 0 T=0 off the bat since it implies A = 0 A=0 which contradicts the constraint. we can see from the second equation: ( 10 A + T ) ( 10 A + T 1 ) 0 m o d 100 10 ( 2 T 1 ) A + T 2 T 0 m o d 100 (10A+T)(10A+T-1)\equiv 0\mod{100} \implies 10(2T-1)A+T^2-T\equiv 0 \mod{100} since {10|T^2-T) we can see 10 divides both of the quntits been added, so when divided by tten, another 10 must also divide the result; i.e ( 2 T 1 ) A + T 2 T 10 0 m o d 10 (2T-1)A+\dfrac{T^2-T}{10}\equiv 0 \mod{10} we can now try plugging in the values of T we know to get solutions: ( A , T ) = ( 0 , 1 ) , ( 2 , 5 ) , ( 7 , 6 ) (A,T)= (0,1),(2,5),(7,6) let n = 10 A + T n=10A+T , then in the 3rd eqn: ( 100 C + n ) ( 100 C + n 1 ) 0 m o d 1000 100 ( 2 n 1 ) C + n 2 n 0 m o d 1000 (100C+n)(100C+n-1)\equiv 0 \mod{1000} \to 100(2n-1)C+n^2-n \equiv 0 \mod{1000} by using a similar logic used before, ( 2 n 1 ) C + n 2 n 100 0 m o d 10 (2n-1)C+\dfrac{n^2-n}{100} \equiv 0 \mod{10} and by plugging in all the values of n, we have ( C , A , T ) = ( 0 , 0 , 1 ) , ( 6 , 2 , 5 ) , ( 3 , 7 , 6 ) (C,A,T)= (0,0,1), (6,2,5),(3,7,6) we can test these solutions to get the only solution satisfying the constraints is: 376 × 376 = 141376 376 \times 376=141376 1 + 4 + 3 + 7 + 6 = 21 1+4+3+7+6=\boxed{21}

Answer is 376*376=141376

Solving the units place we have T=0,1,5,6

Solving tens place , we have AT=00,01,25,76

Solving 100 place , we have CAT=000,001,625,376.

Actual squaring shows that only 376 satisfies all the conditions.

To solve, I mean to say that : x 2 = 10 k + x x^2=10k+x For units place. (Ideally solved by finding triangular numbers divisible by 5)

Use the above solutions for ( 10 x + 6 ) 2 = 100 k + 10 x + 6 (10x+6)^2=100k+10x+6 and so on for other solutions.

Do you know how to solve for CAT more directly?

Calvin Lin Staff - 4 years, 4 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...