+0

# :) Trick Math Riddle!

+2
166
13
+438

A four-digit number (not beginning with 0) can be represented by ABCD. There is one number such that ABCD=A^B*C^D, where A^B means A raised to the B power. Can you find it?

Oct 28, 2019

#1
+313
+1

Wait, so A^B * C^D right, not A^{(B*C)^D}?

Also, there are whole lot of users on right now...

Oct 28, 2019
#5
+438
+4

There a lot of people on.

You are correct.

SVS2652  Oct 28, 2019
#2
+1

The number is: 2592

Oct 28, 2019
#4
+313
+3

Nice! I believe that is correct.

ThatOnePerson  Oct 28, 2019
#3
+438
+3

Wow, guest, can you explain how?

Oct 28, 2019
#6
0

A very short computer code found it in 1 nanosecond!

Oct 28, 2019
#7
+313
+2

Was it called Google?

ThatOnePerson  Oct 28, 2019
#8
+2

No! I just wrote the code in about a minute. Here it is if you want to see it.

a=1; b=1;c=1;d=1;p=1;m=a*1000+b*100+c*10+d;n=(a^b)*(c^d);if(m==n, goto loop, goto next);loop:printm;next:a++;if(a<10, goto5, 0);a=1;b++;if(b<10, goto5, 0);a=1;b=1;c++;if(c<10, goto5,0);a=1;b=1;c=1;d++;if(d<10, goto5, discard=0;

Guest Oct 28, 2019
#13
+2833
+2

dang! You can solve riddles with computer code? Who knows what the future might look like 10 years from now.

Robots programming themselves? its time for terminator...

CalculatorUser  Oct 29, 2019
#9
+438
+5

You used code? Woah. Smart. Maybe look at a logical way to do it too.

Oct 28, 2019
#10
+1

I do the thinking by writing the code bug-free! If I do that, then it does the work for me almost instantly.

Guest Oct 28, 2019
#11
+313
+3

Cool, I wish I knew how to write code as well!

Oct 28, 2019
#12
+1

Well, why don't you start now that you are very young. By the time you are 21, you will be an expert coder and will make life a lot easier for you.

Guest Oct 28, 2019