You can program the 4018 in other ways, as shown in the figure. In this 7 divider configuration, for example, the feedback port used is a 4011 type and the integrated circuit typically counts up to 3, so its outputs Q3 and Q4 go to levels 0 and 1. At this point the 4011 kicks in, leading to Date entry at low level. In this way the counter goes to state 1000 and not 0000. The truth table for a counter up to 7 is as follows: