We look at the division of 838994 by 37 
The aim is to understand the frequency of 37 in 838994.

Going ahead to step 1:
When dividing 8 by 37, we get 0 with a remainder of 8.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 8, we get 8.
Append the next digit (3) from the dividend to 8 and continue with: 83 / 37

On to step 2:
37 can be fit into 83 2 times, resulting in a remainder of 9.
Write down 2 as next digit of the result. 
Result so far: 2.0
Subtract 74 from 83 to get 9.
Bring next digit (8) of the dividend behind the 9 and repeat the process: 98 / 37

Let's proceed to step 3:
If we divide 98 by 37, we get 2 and a remainder of 24.
Record the quotient 2 as the next digit in the result. 
Result so far: 22.0
Subtract 74 from 98 to get 24.
Append the next digit (9) from the dividend to 24 and continue with: 249 / 37

Let's proceed to step 4:
37 can be fit into 249 6 times, resulting in a remainder of 27.
The next digit of our result is 6. 
Result so far: 226.0
If we take 222 away from 249, we end up with 27.
Take the next digit (9) from the dividend and append it to 27, then repeat: 279 / 37

Let's proceed to step 5:
The number 37 fits into 279 7 times, leaving a remainder of 20.
The number 7 becomes the next digit in our result. 
Result so far: 2267.0
Subtract 259 from 279 to get 20.
Include the next digit (4) from the dividend after 20, then repeat: 204 / 37

On to step 6:
If we divide 204 by 37, we get 5 and a remainder of 19.
The number 5 becomes the next digit in our result. 
Result so far: 22675.0
If we take 185 away from 204, we end up with 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Let's proceed to step 7:
When dividing 190 by 37, we get 5 with a remainder of 5.
The number 5 becomes the next digit in our result. 
Result so far: 22675.5
If we take 185 away from 190, we end up with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Step 8:
If we divide 50 by 37, we get 1 and a remainder of 13.
Write down 1 as next digit of the result. 
Result so far: 22675.51
If we take 37 away from 50, we end up with 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Going ahead to step 9:
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: 22675.513
Deduct 111 from 130 and we're left with 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Going ahead to step 10:
When dividing 190 by 37, we get 5 with a remainder of 5.
Record the quotient 5 as the next digit in the result. 
Result so far: 22675.5135
Subtracting 185 from 190 leaves us with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Step 11:
37 can be fit into 50 1 times, resulting in a remainder of 13.
Use 1 as the next digit of our solution. 
Result so far: 22675.51351
Subtracting 37 from 50 leaves us with 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Moving on to step 12:
The number 37 fits into 130 3 times, leaving a remainder of 19.
The number 3 becomes the next digit in our result. 
Result so far: 22675.513513
Subtract 111 from 130 to get 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Going ahead to step 13:
37 can be fit into 190 5 times, resulting in a remainder of 5.
Write down 5 as next digit of the result. 
Result so far: 22675.5135135
If we subtract 185 from 190, we get 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

On to step 14:
37 can be fit into 50 1 times, resulting in a remainder of 13.
Put 1 as the next digit of the answer. 
Result so far: 22675.51351351
Subtracting 37 from 50 leaves us with 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Our division results in 22675.51351351 with a remaining 1.3e-08.