__mod__ solution in Clear category for Restricted Prime by sqeph
one, zero = int(True), int(False) # Get around the fact we can't use digits
i = one + one # We want to start at 'two'
while i < number:
if number.__mod__(i) == zero:
i += one # Add 'one'
June 19, 2014