Find the Number of distinct possible positive numbers
j = 1 NEW_LINE while ( ( temp + j ) <= total ) : NEW_LINE INDENT temp += j NEW_LINE count += 1 NEW_LINE j += 1 NEW_LINE DEDENT i += 1 NEW_LINE if ( n != 1 ) : NEW_LINE count += 1 NEW_LINE