We're dividing 634940 by 37 
The aim is to understand the frequency of 37 in 634940.

Going ahead to step 1:
If we divide 6 by 37, we get 0 and a remainder of 6.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 6 leaves us with 6.
Append the next digit (3) from the dividend to 6 and continue with: 63 / 37

On to step 2:
When dividing 63 by 37, we get 1 with a remainder of 26.
Put 1 as the next digit of the answer. 
Result so far: 1.0
If we take 37 away from 63, we end up with 26.
Grab the next digit (4) from the dividend, add it to 26, then carry on: 264 / 37

Let's proceed to step 3:
37 can be fit into 264 7 times, resulting in a remainder of 5.
Use 7 as the next digit of our solution. 
Result so far: 17.0
Subtracting 259 from 264 leaves us with 5.
Fetch the next digit (9) from the dividend, attach it to 5 and continue: 59 / 37

Advancing to step 4:
When dividing 59 by 37, we get 1 with a remainder of 22.
Put 1 as the next digit of the answer. 
Result so far: 171.0
The remainder is 22 after subtracting 37 from 59.
Append the next digit (4) from the dividend to 22 and continue with: 224 / 37

On to step 5:
224 divided by 37 is 6 with a remainder of 2.
Record the quotient 6 as the next digit in the result. 
Result so far: 1716.0
If we subtract 222 from 224, we get 2.
Bring next digit (0) of the dividend behind the 2 and repeat the process: 20 / 37

Step 6:
The number 37 fits into 20 0 times, leaving a remainder of 20.
The number 0 becomes the next digit in our result. 
Result so far: 17160.0
Subtracting 0 from 20 leaves us with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Step 7:
200 divided by 37 is 5 with a remainder of 15.
Use 5 as the next digit of our solution. 
Result so far: 17160.5
If we take 185 away from 200, we end up with 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Step 8:
150 divided by 37 is 4 with a remainder of 2.
The number 4 becomes the next digit in our result. 
Result so far: 17160.54
Subtracting 148 from 150 leaves us with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Advancing to step 9:
37 can be fit into 20 0 times, resulting in a remainder of 20.
Write down 0 as next digit of the result. 
Result so far: 17160.54
Deduct 0 from 20 and we're left with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Moving on to step 10:
If we divide 200 by 37, we get 5 and a remainder of 15.
Record the quotient 5 as the next digit in the result. 
Result so far: 17160.5405
Deduct 185 from 200 and we're left with 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Step 11:
150 divided by 37 is 4 with a remainder of 2.
Put 4 as the next digit of the answer. 
Result so far: 17160.54054
Subtracting 148 from 150 leaves us with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Advancing to step 12:
37 can be fit into 20 0 times, resulting in a remainder of 20.
Put 0 as the next digit of the answer. 
Result so far: 17160.54054
The remainder is 20 after subtracting 0 from 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Moving on to step 13:
When dividing 200 by 37, we get 5 with a remainder of 15.
Put 5 as the next digit of the answer. 
Result so far: 17160.5405405
Subtracting 185 from 200 leaves us with 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Moving on to step 14:
150 divided by 37 is 4 with a remainder of 2.
The next digit of our result is 4. 
Result so far: 17160.54054054
Subtracting 148 from 150 leaves us with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

After the division, we end up with 17160.54054054 and a remainder of 2e-09.