def primesFaster(to_number): array = [x for x in range(2, to_number + 1)] result = list() i = array[0] while(i*i < to_number): result.append(array[i]) for