The first digit of the six digit number 1abcde is 1.
If the first digit is moved to the last place, we get a new number abcde1.
Given that, abcde1:1abcde = 7:2, find the value of abcde.
for abcde=11000:99999
if 7*(100000+abcde)==2*(10*abcde+1)
disp(abcde)
end
end
finds
53846
producing
153846:538461
|
Posted by Charlie
on 2025-03-24 10:06:12 |