version two prints all dividors associated values from one up to a specified number