pick a number between 3 and 100, divide the number over 3,5 and 7 seperately, from the three reminders you should be able to give the earlier picked number.
ex.
if we picked 26
26/3 = 8 with 2 remaining
26/5 = 5 with 1 remianing
26/7 = 3 with 5 remianing
if the numbers 2,1 and 5 are given as reminders for 3,5 and 7 respectivly, is there a systematic way, formula to find the picked number (26 in this example) i have a solution but i couldnt put it in a mathimatical shape, so i will post it if i didnt get a solution !
2006-11-12
09:09:13
·
3 answers
·
asked by
Ahmad
2
in
Science & Mathematics
➔ Mathematics
iam not sure i got an answer yet!
if gauger_1 answer was true
(X = (1 * 21) + (5 * 15) - (2 * 35))
then if we picked 55,
R1 = 1
R2 = 0
R3 = 6
x = 21 + 0 - 210 = -189
for Roman Soldier,
i am not a programmer, but i think a program should be based ona mathemetical model! so if it fails the program will fail as well!
2006-11-13
06:59:15 ·
update #1