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

Advancing to step 1:
The number 37 fits into 6 0 times, leaving a remainder of 6.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 6, we end up with 6.
Take the next digit (4) from the dividend and append it to 6, then repeat: 64 / 37

Going ahead to step 2:
64 divided by 37 is 1 with a remainder of 27.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Subtracting 37 from 64 leaves us with 27.
Fetch the next digit (0) from the dividend, attach it to 27 and continue: 270 / 37

Step 3:
37 goes into 270 7 times with a remainder of 11.
Write down 7 as next digit of the result. 
Result so far: 17.0
If we subtract 259 from 270, we get 11.
Include the next digit (7) from the dividend after 11, then repeat: 117 / 37

Let's proceed to step 4:
If we divide 117 by 37, we get 3 and a remainder of 6.
Use 3 as the next digit of our solution. 
Result so far: 173.0
The remainder is 6 after subtracting 111 from 117.
Append the next digit (1) from the dividend to 6 and continue with: 61 / 37

On to step 5:
37 can be fit into 61 1 times, resulting in a remainder of 24.
Use 1 as the next digit of our solution. 
Result so far: 1731.0
Subtracting 37 from 61 leaves us with 24.
Include the next digit (1) from the dividend after 24, then repeat: 241 / 37

Step 6:
37 goes into 241 6 times with a remainder of 19.
Record the quotient 6 as the next digit in the result. 
Result so far: 17316.0
Subtract 222 from 241 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 7:
The number 37 fits into 190 5 times, leaving a remainder of 5.
The next digit of our result is 5. 
Result so far: 17316.5
Subtract 185 from 190 to 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.

Moving on to step 8:
If we divide 50 by 37, we get 1 and a remainder of 13.
The number 1 becomes the next digit in our result. 
Result so far: 17316.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.

Step 9:
The number 37 fits into 130 3 times, leaving a remainder of 19.
Record the quotient 3 as the next digit in the result. 
Result so far: 17316.513
The remainder is 19 after subtracting 111 from 130.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Advancing to step 10:
190 divided by 37 is 5 with a remainder of 5.
Record the quotient 5 as the next digit in the result. 
Result so far: 17316.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.

On to step 11:
37 can be fit into 50 1 times, resulting in a remainder of 13.
The number 1 becomes the next digit in our result. 
Result so far: 17316.51351
Subtract 37 from 50 to get 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.
Write down 3 as next digit of the result. 
Result so far: 17316.513513
If we subtract 111 from 130, we 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.

Advancing to step 13:
The number 37 fits into 190 5 times, leaving a remainder of 5.
Put 5 as the next digit of the answer. 
Result so far: 17316.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.

Step 14:
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: 17316.51351351
The remainder is 13 after subtracting 37 from 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

After the division, we end up with 17316.51351351 and a remainder of 1.3e-08.