There are 5 flip-flops are required to produce a divide-by-32 device. We can have the no. of required flip-flops by . For 32 we have to do 2^5.