5994374 divided by 158 
The aim is to understand the frequency of 158 in 5994374.

On to step 1:
158 can be fit into 5 0 times, resulting in a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Include the next digit (9) from the dividend after 5, then repeat: 59 / 158

Let's proceed to step 2:
59 divided by 158 is 0 with a remainder of 59.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 59 to get 59.
Grab the next digit (9) from the dividend, add it to 59, then carry on: 599 / 158

Going ahead to step 3:
The number 158 fits into 599 3 times, leaving a remainder of 125.
The next digit of our result is 3. 
Result so far: 3.0
If we subtract 474 from 599, we get 125.
Append the next digit (4) from the dividend to 125 and continue with: 1254 / 158

Going ahead to step 4:
The number 158 fits into 1254 7 times, leaving a remainder of 148.
Record the quotient 7 as the next digit in the result. 
Result so far: 37.0
Deduct 1106 from 1254 and we're left with 148.
Grab the next digit (3) from the dividend, add it to 148, then carry on: 1483 / 158

Going ahead to step 5:
158 can be fit into 1483 9 times, resulting in a remainder of 61.
The next digit of our result is 9. 
Result so far: 379.0
Subtracting 1422 from 1483 leaves us with 61.
Append the next digit (7) from the dividend to 61 and continue with: 617 / 158

Advancing to step 6:
158 can be fit into 617 3 times, resulting in a remainder of 143.
The next digit of our result is 3. 
Result so far: 3793.0
The remainder is 143 after subtracting 474 from 617.
Include the next digit (4) from the dividend after 143, then repeat: 1434 / 158

Advancing to step 7:
If we divide 1434 by 158, we get 9 and a remainder of 12.
Put 9 as the next digit of the answer. 
Result so far: 37939.0
Subtract 1422 from 1434 to get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Let's proceed to step 8:
If we divide 120 by 158, we get 0 and a remainder of 120.
Use 0 as the next digit of our solution. 
Result so far: 37939.0
If we subtract 0 from 120, we get 120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1200, and continue the process.

Let's proceed to step 9:
1200 divided by 158 is 7 with a remainder of 94.
The next digit of our result is 7. 
Result so far: 37939.07
If we subtract 1106 from 1200, we get 94.
Since there are no more digits in the dividend, we add a zero to the remainder making it 940, and continue the process.

Moving on to step 10:
158 goes into 940 5 times with a remainder of 150.
Write down 5 as next digit of the result. 
Result so far: 37939.075
Subtracting 790 from 940 leaves us with 150.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1500, and continue the process.

Step 11:
The number 158 fits into 1500 9 times, leaving a remainder of 78.
Write down 9 as next digit of the result. 
Result so far: 37939.0759
The remainder is 78 after subtracting 1422 from 1500.
Since there are no more digits in the dividend, we add a zero to the remainder making it 780, and continue the process.

On to step 12:
The number 158 fits into 780 4 times, leaving a remainder of 148.
The number 4 becomes the next digit in our result. 
Result so far: 37939.07594
If we take 632 away from 780, we end up with 148.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1480, and continue the process.

On to step 13:
1480 divided by 158 is 9 with a remainder of 58.
Write down 9 as next digit of the result. 
Result so far: 37939.075949
Subtracting 1422 from 1480 leaves us with 58.
Since there are no more digits in the dividend, we add a zero to the remainder making it 580, and continue the process.

Let's proceed to step 14:
If we divide 580 by 158, we get 3 and a remainder of 106.
Write down 3 as next digit of the result. 
Result so far: 37939.0759493
If we take 474 away from 580, we end up with 106.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1060, and continue the process.

Moving on to step 15:
The number 158 fits into 1060 6 times, leaving a remainder of 112.
Put 6 as the next digit of the answer. 
Result so far: 37939.07594936
Subtract 948 from 1060 to get 112.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1120, and continue the process.

The final result is 37939.07594936 with a remainder of 1.12e-07.