'python iterate through a list and skip n iterations within the loop every time a condition is met

the following code iterates through a list and counts every time the condition <10 is met. What I want to do is that once this condition is met, the next point that needs to be tested is numlist[4]-numlist[i-4] having an index that is double of the starting point, and if the condition is met again, the next number tested should have an index that is double the previous one: numlist[8]-numlist[i-8] and so on. Is there a way to do so ? This code

numlist=[10,15,18,20,22,24,32,40, 42, 45]
print(numlist)
count=0
countlist=[]
starting_point=2
for i in range(starting_point,len(numlist)):
    if numlist[i]-numlist[i-starting_point] < 10:
        print(numlist[i],'-',numlist[i-2],'=',numlist[i]-numlist[i-2])
        count+=1
        countlist.append(count)
print('counts =', countlist[-1])

prints out

[10, 15, 18, 20, 22, 24, 32, 40, 42, 45]
18 - 10 = 8
20 - 15 = 5
22 - 18 = 4
24 - 20 = 4
45 - 40 = 5
counts = 5

but what I want it to print out is:

[10, 15, 18, 20, 22, 24, 32, 40, 42, 45]
18 - 10 = 8
24 - 15 = 9
counts = 2


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source