To store count of ways n can be represented as i + SOD ( i )
count = 0 NEW_LINE for i in range ( 1 , n + 1 ) : NEW_LINE INDENT if ( i + sum1 ( i ) == n ) : NEW_LINE INDENT count = count + 1 NEW_LINE DEDENT DEDENT return count >= 2 NEW_LINE