But in case if you want to design a divider that divide by N, wher N isn't a power of 2, it may differ, you have to design it (very simple) via drawing state diagram, and depending on number of states, you'll choose number of required FFs and so on.. YOu can read about it in any basic digital electronics book (such as Mano's famous book, Digital Design)..