Question: 
Write a function to find nth polite number.


Model's Code:
def is_polite(n):
    count = 0
    number = 1
    while True:
        if number % 2 == 1 or number == 1:
            count += 1
            if count == n:
                return number
        number += 1



Sample Correct Code:
import math 
def is_polite(n): 
	n = n + 1
	return (int)(n+(math.log((n + math.log(n, 2)), 2))) 


Asserts:
assert is_polite(7) == 11
assert is_polite(4) == 7
assert is_polite(9) == 13


Tests:
Test 1 of 3: FAIL: AssertionError()

Test 765 of 974: 578/765 (75.55555555555556%): failed