I need to get a formula to calculate the number of times a particular pattern of numbers is getting repeated in a row.
For Eg: the row values are 0,1,1,0,0,1,1,1,1,0,0,1,0
I need a formula to calculate how many times, the set 1,0 is there in the row. the answer here is 3.
Solved by X. W. in 15 mins