find all multiples of 3 and 5 up to a certain number