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?

SVS2652 Oct 28, 2019

#1**0 **

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

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

ThatOnePerson Oct 28, 2019

#6

#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**+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