Discrete_Quiz_Prefinal_Divisibility_Batenga.docx - John...

This preview shows page 1 - 2 out of 2 pages.

John David B. BatengaBSCPE – G102Discrete Quiz Prefinal DivisibilityFor the given d, n, show d|a by finding a q with n = d x qa)4|20-q = n/d = 20/4= 5-n = d x q= 4 x 5= 20-20 is divisible by 4. The result is 5.-A number is divisible by 4 if the number consisting of its last two digits is divisible by 4.b)5|−25-q = n/d = -25/5= -5-n = d x q= 5 x -5= -25--25 is divisible by 5. The result is -5.-A number is divisible by 5 if its last digit is a 5 or a 0.c)−3|9-q = n/d = 9/-3= -3-n = d x q= -3 x -3= 9-9 is divisible by -3. The result is -3.-A number is divisible by 3 if its sum of digits is divisible by 3.d)−9|−27-q = n/d = -27/-9= 3-n = d x q= -9 x 3= -27--27 is divisible by -9. The result is 3.

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture