Question

Show that: a) If a and d: positive integers, then (-a) div d=-a div d if and only if d divides a. b) If n and k are positive integers,

then [n/k] = [(n – 1)/k] + 1.

Fig: 1

Fig: 2

Fig: 3