problem 5, smallest number divisible by each number in a range
problem 6, given index prime number