Dynamically generating values that proceed in groups of 5