notez suma inițială de bani cu a şi resturile succesive cu r.
a-a÷3=r1
r1-r1÷2=r2
r2-r2÷3=r3
r3-r3÷2=246 €
______________
a=?
r3-r3÷2=246 €/×2
2×r3-r3=492 €
r3=492 €
r2-r2÷3=492 €/×3
3×r2-r2=1476 €
2×r2=1476 €
r2=1476 €÷2
r2=738 €
r1-r1÷2=738 €/×2
2×r1-r1=1476 €
r1=1476 €
a-a÷3=1476 €/×3
3×a-a=4428 €
2×a=4428 €
a=4428 €÷2
a=2214 €