Răspuns :
a : 7 = 5 rest < 7 {0,1,2,3,4,5,6}
a = 7 × 5 = 35
a = 35 + 1 = 36
a= 35 + 2 = 37
a = 35 + 3 = 38
a = 35 + 4 = 39
a = 35 + 5 = 40
a = 35 + 6 = 41 Suma 266
a = 7 × 5 = 35
a = 35 + 1 = 36
a= 35 + 2 = 37
a = 35 + 3 = 38
a = 35 + 4 = 39
a = 35 + 5 = 40
a = 35 + 6 = 41 Suma 266
a:7=5 rest r
r<7 ==>r=0,1,2,3,4,5,6
r=0
a=7*5+0
a=35+0
a=35
r=1
a=7*5+1
a=35+1
a=36
si tot asa pana
r=6
a=7*5+6
a=35+6
a=41
apoi aduni rezultatele
r<7 ==>r=0,1,2,3,4,5,6
r=0
a=7*5+0
a=35+0
a=35
r=1
a=7*5+1
a=35+1
a=36
si tot asa pana
r=6
a=7*5+6
a=35+6
a=41
apoi aduni rezultatele