5070415 ÷ 158 
The aim is to understand the frequency of 158 in 5070415.

Going ahead to step 1:
If we divide 5 by 158, we get 0 and a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Append the next digit (0) from the dividend to 5 and continue with: 50 / 158

On to step 2:
158 goes into 50 0 times with a remainder of 50.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 50 and we're left with 50.
Include the next digit (7) from the dividend after 50, then repeat: 507 / 158

Going ahead to step 3:
507 divided by 158 is 3 with a remainder of 33.
Put 3 as the next digit of the answer. 
Result so far: 3.0
If we subtract 474 from 507, we get 33.
Fetch the next digit (0) from the dividend, attach it to 33 and continue: 330 / 158

On to step 4:
If we divide 330 by 158, we get 2 and a remainder of 14.
Put 2 as the next digit of the answer. 
Result so far: 32.0
Subtract 316 from 330 to get 14.
Fetch the next digit (4) from the dividend, attach it to 14 and continue: 144 / 158

Step 5:
158 goes into 144 0 times with a remainder of 144.
Put 0 as the next digit of the answer. 
Result so far: 320.0
If we subtract 0 from 144, we get 144.
Fetch the next digit (1) from the dividend, attach it to 144 and continue: 1441 / 158

Moving on to step 6:
158 can be fit into 1441 9 times, resulting in a remainder of 19.
The next digit of our result is 9. 
Result so far: 3209.0
The remainder is 19 after subtracting 1422 from 1441.
Grab the next digit (5) from the dividend, add it to 19, then carry on: 195 / 158

Moving on to step 7:
When dividing 195 by 158, we get 1 with a remainder of 37.
The number 1 becomes the next digit in our result. 
Result so far: 32091.0
The remainder is 37 after subtracting 158 from 195.
Since there are no more digits in the dividend, we add a zero to the remainder making it 370, and continue the process.

Step 8:
370 divided by 158 is 2 with a remainder of 54.
The number 2 becomes the next digit in our result. 
Result so far: 32091.2
Deduct 316 from 370 and we're left with 54.
Since there are no more digits in the dividend, we add a zero to the remainder making it 540, and continue the process.

Advancing to step 9:
540 divided by 158 is 3 with a remainder of 66.
Record the quotient 3 as the next digit in the result. 
Result so far: 32091.23
Deduct 474 from 540 and we're left with 66.
Since there are no more digits in the dividend, we add a zero to the remainder making it 660, and continue the process.

On to step 10:
158 can be fit into 660 4 times, resulting in a remainder of 28.
The number 4 becomes the next digit in our result. 
Result so far: 32091.234
If we take 632 away from 660, we end up with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Advancing to step 11:
If we divide 280 by 158, we get 1 and a remainder of 122.
Put 1 as the next digit of the answer. 
Result so far: 32091.2341
If we subtract 158 from 280, we get 122.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1220, and continue the process.

Going ahead to step 12:
1220 divided by 158 is 7 with a remainder of 114.
Use 7 as the next digit of our solution. 
Result so far: 32091.23417
If we subtract 1106 from 1220, we get 114.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1140, and continue the process.

Going ahead to step 13:
When dividing 1140 by 158, we get 7 with a remainder of 34.
Write down 7 as next digit of the result. 
Result so far: 32091.234177
If we take 1106 away from 1140, we end up with 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

In conclusion, the division gives 32091.234177 with a balance of 3.4e-06.