SOLVE:
RADAR=(R+A+D)^4
Each letter stands for a certain digit.
I first solved this with a small program, but in retrospect, I should have been able to do it in less than a minute using p&p:
From divisibility rules, abcba is divisible by 11.
if the RHS is n^4, n must be a multiple of 11
22^4 is 6 digits and thus is too big, so R+A+D = 11
and RADAR is 11^4 = 14641
-------- Code was totally unnecessary in retrospect
for r in range(1,10):
for a in range(0,10):
if r==a:
continue
for d in range(0,10):
if r==d or a==d:
continue
if 10001*r + 1010*a + 100*d == (r+a+d)**4:
print(r,a,d,a,r)
OUTPUT: 1 4 6 4 1
|
Posted by Larry
on 2023-07-01 13:02:37 |