398889 ÷ 37 
The aim is to understand the frequency of 37 in 398889.

On to step 1:
37 goes into 3 0 times with a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Grab the next digit (9) from the dividend, add it to 3, then carry on: 39 / 37

Going ahead to step 2:
If we divide 39 by 37, we get 1 and a remainder of 2.
Write down 1 as next digit of the result. 
Result so far: 1.0
Deduct 37 from 39 and we're left with 2.
Take the next digit (8) from the dividend and append it to 2, then repeat: 28 / 37

Let's proceed to step 3:
37 goes into 28 0 times with a remainder of 28.
Put 0 as the next digit of the answer. 
Result so far: 10.0
Deduct 0 from 28 and we're left with 28.
Include the next digit (8) from the dividend after 28, then repeat: 288 / 37

On to step 4:
If we divide 288 by 37, we get 7 and a remainder of 29.
Put 7 as the next digit of the answer. 
Result so far: 107.0
The remainder is 29 after subtracting 259 from 288.
Append the next digit (8) from the dividend to 29 and continue with: 298 / 37

Let's proceed to step 5:
37 goes into 298 8 times with a remainder of 2.
The next digit of our result is 8. 
Result so far: 1078.0
If we subtract 296 from 298, we get 2.
Bring next digit (9) of the dividend behind the 2 and repeat the process: 29 / 37

On to step 6:
When dividing 29 by 37, we get 0 with a remainder of 29.
Record the quotient 0 as the next digit in the result. 
Result so far: 10780.0
If we take 0 away from 29, we end up 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.

On to step 7:
290 divided by 37 is 7 with a remainder of 31.
Use 7 as the next digit of our solution. 
Result so far: 10780.7
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 8:
310 divided by 37 is 8 with a remainder of 14.
Put 8 as the next digit of the answer. 
Result so far: 10780.78
If we take 296 away from 310, we end up 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 9:
37 can be fit into 140 3 times, resulting in a remainder of 29.
The next digit of our result is 3. 
Result so far: 10780.783
Subtracting 111 from 140 leaves us 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.

Going ahead to step 10:
37 can be fit into 290 7 times, resulting in a remainder of 31.
The number 7 becomes the next digit in our result. 
Result so far: 10780.7837
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.

Step 11:
310 divided by 37 is 8 with a remainder of 14.
Write down 8 as next digit of the result. 
Result so far: 10780.78378
Subtracting 296 from 310 leaves us 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.

Step 12:
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: 10780.783783
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.

Let's proceed to step 13:
If we divide 290 by 37, we get 7 and a remainder of 31.
Use 7 as the next digit of our solution. 
Result so far: 10780.7837837
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.

Let's proceed to step 14:
37 can be fit into 310 8 times, resulting in a remainder of 14.
Put 8 as the next digit of the answer. 
Result so far: 10780.78378378
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.

The quotient of the division is 10780.78378378, and the remainder is 1.4e-08.