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

Going ahead to step 1:
When dividing 8 by 37, we get 0 with a remainder of 8.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 8 after subtracting 0 from 8.
Take the next digit (5) from the dividend and append it to 8, then repeat: 85 / 37

Going ahead to step 2:
The number 37 fits into 85 2 times, leaving a remainder of 11.
The number 2 becomes the next digit in our result. 
Result so far: 2.0
The remainder is 11 after subtracting 74 from 85.
Grab the next digit (2) from the dividend, add it to 11, then carry on: 112 / 37

Advancing to step 3:
37 goes into 112 3 times with a remainder of 1.
The number 3 becomes the next digit in our result. 
Result so far: 23.0
The remainder is 1 after subtracting 111 from 112.
Take the next digit (9) from the dividend and append it to 1, then repeat: 19 / 37

Let's proceed to step 4:
The number 37 fits into 19 0 times, leaving a remainder of 19.
Put 0 as the next digit of the answer. 
Result so far: 230.0
Deduct 0 from 19 and we're left with 19.
Take the next digit (1) from the dividend and append it to 19, then repeat: 191 / 37

Let's proceed to step 5:
If we divide 191 by 37, we get 5 and a remainder of 6.
Write down 5 as next digit of the result. 
Result so far: 2305.0
The remainder is 6 after subtracting 185 from 191.
Grab the next digit (7) from the dividend, add it to 6, then carry on: 67 / 37

Advancing to step 6:
67 divided by 37 is 1 with a remainder of 30.
Use 1 as the next digit of our solution. 
Result so far: 23051.0
Subtract 37 from 67 to get 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Let's proceed to step 7:
37 can be fit into 300 8 times, resulting in a remainder of 4.
The number 8 becomes the next digit in our result. 
Result so far: 23051.8
Subtract 296 from 300 to get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Step 8:
37 goes into 40 1 times with a remainder of 3.
Record the quotient 1 as the next digit in the result. 
Result so far: 23051.81
Deduct 37 from 40 and we're left with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Step 9:
30 divided by 37 is 0 with a remainder of 30.
The number 0 becomes the next digit in our result. 
Result so far: 23051.81
Subtract 0 from 30 to get 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Moving on to step 10:
When dividing 300 by 37, we get 8 with a remainder of 4.
Record the quotient 8 as the next digit in the result. 
Result so far: 23051.8108
If we subtract 296 from 300, we get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

On to step 11:
If we divide 40 by 37, we get 1 and a remainder of 3.
The number 1 becomes the next digit in our result. 
Result so far: 23051.81081
The remainder is 3 after subtracting 37 from 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Advancing to step 12:
37 can be fit into 30 0 times, resulting in a remainder of 30.
The next digit of our result is 0. 
Result so far: 23051.81081
Deduct 0 from 30 and we're left with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

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

On to step 14:
When dividing 40 by 37, we get 1 with a remainder of 3.
The next digit of our result is 1. 
Result so far: 23051.81081081
If we subtract 37 from 40, we get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

The quotient of the division is 23051.81081081, and the remainder is 3e-09.