The CD4017 is a decade counter / divider. This means that when it receives a pulse it counts it and sends an output to the appropriate pin. It is quite an easy IC to use and you can either build the circuit on a bread board or buy one from Ebay for about 99p from China. You do of course have to sold... By: JohnL142