Răspuns :
se dau valori lui x si y
1)x=2k
y=2k+1
15x+5y= 5(3x+y)= 5(3*2k+2k+1)= 5(6k+2k+1)= 5(8k+1)=40k+5= (....5)
2)x=2k+1
y=2k
15x+5y=5[3(2k+1)+2k]=5(6k+6+2k)= 5(8k+6)= 40k+30= (.....0)
3)x=2k
y=2k
15x+5y=5(3*2k+2k)= 5(6k+2k)= 5*8k=40k =(.....0)
4)x=2k+1
y=2k+1
15x+5y=5[3(2k+1)+2k+1]= 5(6k+3+2k+1)= 5(8k+4)= 40k+20= (......0)
1)x=2k
y=2k+1
15x+5y= 5(3x+y)= 5(3*2k+2k+1)= 5(6k+2k+1)= 5(8k+1)=40k+5= (....5)
2)x=2k+1
y=2k
15x+5y=5[3(2k+1)+2k]=5(6k+6+2k)= 5(8k+6)= 40k+30= (.....0)
3)x=2k
y=2k
15x+5y=5(3*2k+2k)= 5(6k+2k)= 5*8k=40k =(.....0)
4)x=2k+1
y=2k+1
15x+5y=5[3(2k+1)+2k+1]= 5(6k+3+2k+1)= 5(8k+4)= 40k+20= (......0)
Daca x si y au aceeasi paritate (x = par si y = par sau x = inpar si y = impar ) atunci
ultima cifra = 0 (zero)
Daca x si y au paritate diferita (x = par si y = impar sau x = impar si y = par) atunci
ultima cifra = 5 (cinci)
ultima cifra = 0 (zero)
Daca x si y au paritate diferita (x = par si y = impar sau x = impar si y = par) atunci
ultima cifra = 5 (cinci)