Question: 
Write a python function to find nth number in a sequence which is not a multiple of a given number.


Model's Code:
def count_no(n, k, start, end):
    count = 0
    for num in range(start, end + 1):
        if num % k != 0:
            count += 1
            if count == n:
                return num
    return None



Sample Correct Code:
def count_no (A,N,L,R): 
    count = 0
    for i in range (L,R + 1): 
        if (i % A != 0): 
            count += 1
        if (count == N): 
            break
    return (i) 


Asserts:
assert count_no(2,3,1,10) == 5
assert count_no(3,6,4,20) == 11
assert count_no(5,10,4,20) == 16


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

Test 575 of 974: 426/575 (74.08695652173914%): failed