Finding all prime numbers before limit . These numbers are used to find prime factors .
sieveSundaram ( ) NEW_LINE for i in range ( 1 , 200 ) : NEW_LINE INDENT if ( isEconomical ( i ) ) : NEW_LINE INDENT print ( i , end = " ▁ " ) NEW_LINE DEDENT DEDENT