We divide 399984 by 37
The aim is to understand the frequency of 37 in 399984.

Let's proceed to step 1:
When dividing 3 by 37, we get 0 with a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Take the next digit (9) from the dividend and append it to 3, then repeat: 39 / 37

Let's proceed to step 2:
If we divide 39 by 37, we get 1 and a remainder of 2.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Subtract 37 from 39 to get 2.
Fetch the next digit (9) from the dividend, attach it to 2 and continue: 29 / 37

Going ahead to step 3:
37 goes into 29 0 times with a remainder of 29.
The number 0 becomes the next digit in our result. 
Result so far: 10.0
If we subtract 0 from 29, we get 29.
Fetch the next digit (9) from the dividend, attach it to 29 and continue: 299 / 37

Going ahead to step 4:
299 divided by 37 is 8 with a remainder of 3.
Write down 8 as next digit of the result. 
Result so far: 108.0
The remainder is 3 after subtracting 296 from 299.
Fetch the next digit (8) from the dividend, attach it to 3 and continue: 38 / 37

Advancing to step 5:
37 can be fit into 38 1 times, resulting in a remainder of 1.
Use 1 as the next digit of our solution. 
Result so far: 1081.0
If we take 37 away from 38, we end up with 1.
Grab the next digit (4) from the dividend, add it to 1, then carry on: 14 / 37

Going ahead to step 6:
37 goes into 14 0 times with a remainder of 14.
The number 0 becomes the next digit in our result. 
Result so far: 10810.0
The remainder is 14 after subtracting 0 from 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 7:
If we divide 140 by 37, we get 3 and a remainder of 29.
Put 3 as the next digit of the answer. 
Result so far: 10810.3
If we subtract 111 from 140, we 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 8:
290 divided by 37 is 7 with a remainder of 31.
Record the quotient 7 as the next digit in the result. 
Result so far: 10810.37
If we take 259 away from 290, we end up 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.

Step 9:
When dividing 310 by 37, we get 8 with a remainder of 14.
The number 8 becomes the next digit in our result. 
Result so far: 10810.378
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.

Going ahead to step 10:
37 can be fit into 140 3 times, resulting in a remainder of 29.
Use 3 as the next digit of our solution. 
Result so far: 10810.3783
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.

Going ahead to step 11:
The number 37 fits into 290 7 times, leaving a remainder of 31.
Use 7 as the next digit of our solution. 
Result so far: 10810.37837
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.

Let's proceed to step 12:
When dividing 310 by 37, we get 8 with a remainder of 14.
Put 8 as the next digit of the answer. 
Result so far: 10810.378378
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.

On to step 13:
37 can be fit into 140 3 times, resulting in a remainder of 29.
The number 3 becomes the next digit in our result. 
Result so far: 10810.3783783
Deduct 111 from 140 and we're left 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.

Moving on to step 14:
The number 37 fits into 290 7 times, leaving a remainder of 31.
Use 7 as the next digit of our solution. 
Result so far: 10810.37837837
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.

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