500861 ÷ 37 
The aim is to understand the frequency of 37 in 500861.

On to step 1:
37 can be fit into 5 0 times, resulting in a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Append the next digit (0) from the dividend to 5 and continue with: 50 / 37

Step 2:
If we divide 50 by 37, we get 1 and a remainder of 13.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Deduct 37 from 50 and we're left with 13.
Take the next digit (0) from the dividend and append it to 13, then repeat: 130 / 37

Moving on to step 3:
37 can be fit into 130 3 times, resulting in a remainder of 19.
Record the quotient 3 as the next digit in the result. 
Result so far: 13.0
Subtracting 111 from 130 leaves us with 19.
Grab the next digit (8) from the dividend, add it to 19, then carry on: 198 / 37

Going ahead to step 4:
37 can be fit into 198 5 times, resulting in a remainder of 13.
Use 5 as the next digit of our solution. 
Result so far: 135.0
If we subtract 185 from 198, we get 13.
Fetch the next digit (6) from the dividend, attach it to 13 and continue: 136 / 37

Step 5:
37 can be fit into 136 3 times, resulting in a remainder of 25.
Record the quotient 3 as the next digit in the result. 
Result so far: 1353.0
Subtract 111 from 136 to get 25.
Append the next digit (1) from the dividend to 25 and continue with: 251 / 37

Step 6:
The number 37 fits into 251 6 times, leaving a remainder of 29.
Put 6 as the next digit of the answer. 
Result so far: 13536.0
The remainder is 29 after subtracting 222 from 251.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

Advancing to step 7:
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: 13536.7
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.

Going ahead to step 8:
The number 37 fits into 310 8 times, leaving a remainder of 14.
The number 8 becomes the next digit in our result. 
Result so far: 13536.78
Deduct 296 from 310 and we're left 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 9:
When dividing 140 by 37, we get 3 with a remainder of 29.
Put 3 as the next digit of the answer. 
Result so far: 13536.783
If we take 111 away from 140, we end up with 29.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

Advancing to step 10:
37 goes into 290 7 times with a remainder of 31.
Put 7 as the next digit of the answer. 
Result so far: 13536.7837
If we subtract 259 from 290, we get 31.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

Going ahead to step 11:
37 can be fit into 310 8 times, resulting in a remainder of 14.
Write down 8 as next digit of the result. 
Result so far: 13536.78378
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.

Going ahead to step 12:
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: 13536.783783
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.

Moving on to step 13:
When dividing 290 by 37, we get 7 with a remainder of 31.
Record the quotient 7 as the next digit in the result. 
Result so far: 13536.7837837
Subtract 259 from 290 to get 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 14:
37 goes into 310 8 times with a remainder of 14.
The number 8 becomes the next digit in our result. 
Result so far: 13536.78378378
If we subtract 296 from 310, we 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.

The final result is 13536.78378378 with a remainder of 1.4e-08.