Let's divide 172266 by 37
The aim is to understand the frequency of 37 in 172266.

Moving on to step 1:
If we divide 1 by 37, we get 0 and a remainder of 1.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 1 after subtracting 0 from 1.
Grab the next digit (7) from the dividend, add it to 1, then carry on: 17 / 37

Going ahead to step 2:
The number 37 fits into 17 0 times, leaving a remainder of 17.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 17 after subtracting 0 from 17.
Bring next digit (2) of the dividend behind the 17 and repeat the process: 172 / 37

Step 3:
37 goes into 172 4 times with a remainder of 24.
Use 4 as the next digit of our solution. 
Result so far: 4.0
If we subtract 148 from 172, we get 24.
Grab the next digit (2) from the dividend, add it to 24, then carry on: 242 / 37

Advancing to step 4:
When dividing 242 by 37, we get 6 with a remainder of 20.
The next digit of our result is 6. 
Result so far: 46.0
If we take 222 away from 242, we end up with 20.
Take the next digit (6) from the dividend and append it to 20, then repeat: 206 / 37

Moving on to step 5:
The number 37 fits into 206 5 times, leaving a remainder of 21.
Record the quotient 5 as the next digit in the result. 
Result so far: 465.0
If we subtract 185 from 206, we get 21.
Bring next digit (6) of the dividend behind the 21 and repeat the process: 216 / 37

Step 6:
37 goes into 216 5 times with a remainder of 31.
The number 5 becomes the next digit in our result. 
Result so far: 4655.0
Deduct 185 from 216 and we're left with 31.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

Advancing to step 7:
37 goes into 310 8 times with a remainder of 14.
Put 8 as the next digit of the answer. 
Result so far: 4655.8
If we take 296 away from 310, we end up with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

On to step 8:
37 can be fit into 140 3 times, resulting in a remainder of 29.
The number 3 becomes the next digit in our result. 
Result so far: 4655.83
Subtract 111 from 140 to get 29.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

On to step 9:
37 goes into 290 7 times with a remainder of 31.
Record the quotient 7 as the next digit in the result. 
Result so far: 4655.837
Subtracting 259 from 290 leaves us with 31.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

Advancing to step 10:
37 goes into 310 8 times with a remainder of 14.
Put 8 as the next digit of the answer. 
Result so far: 4655.8378
Subtract 296 from 310 to get 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Step 11:
When dividing 140 by 37, we get 3 with a remainder of 29.
Write down 3 as next digit of the result. 
Result so far: 4655.83783
The remainder is 29 after subtracting 111 from 140.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

Moving on to step 12:
290 divided by 37 is 7 with a remainder of 31.
Record the quotient 7 as the next digit in the result. 
Result so far: 4655.837837
Deduct 259 from 290 and we're left with 31.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

Let's proceed to step 13:
If we divide 310 by 37, we get 8 and a remainder of 14.
Record the quotient 8 as the next digit in the result. 
Result so far: 4655.8378378
The remainder is 14 after subtracting 296 from 310.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Going ahead to step 14:
The number 37 fits into 140 3 times, leaving a remainder of 29.
Use 3 as the next digit of our solution. 
Result so far: 4655.83783783
The remainder is 29 after subtracting 111 from 140.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

The final outcome is 4655.83783783, with a leftover of 2.9e-08.