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

Let's proceed to step 1:
158 goes into 4 0 times with a remainder of 4.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 4 leaves us with 4.
Append the next digit (5) from the dividend to 4 and continue with: 45 / 158

Advancing to step 2:
If we divide 45 by 158, we get 0 and a remainder of 45.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 45, we end up with 45.
Take the next digit (9) from the dividend and append it to 45, then repeat: 459 / 158

Moving on to step 3:
The number 158 fits into 459 2 times, leaving a remainder of 143.
Put 2 as the next digit of the answer. 
Result so far: 2.0
Subtract 316 from 459 to get 143.
Grab the next digit (8) from the dividend, add it to 143, then carry on: 1438 / 158

Going ahead to step 4:
If we divide 1438 by 158, we get 9 and a remainder of 16.
The number 9 becomes the next digit in our result. 
Result so far: 29.0
Subtract 1422 from 1438 to get 16.
Bring next digit (7) of the dividend behind the 16 and repeat the process: 167 / 158

On to step 5:
The number 158 fits into 167 1 times, leaving a remainder of 9.
The number 1 becomes the next digit in our result. 
Result so far: 291.0
Subtract 158 from 167 to get 9.
Take the next digit (0) from the dividend and append it to 9, then repeat: 90 / 158

Let's proceed to step 6:
158 can be fit into 90 0 times, resulting in a remainder of 90.
The next digit of our result is 0. 
Result so far: 2910.0
Deduct 0 from 90 and we're left with 90.
Bring next digit (1) of the dividend behind the 90 and repeat the process: 901 / 158

Let's proceed to step 7:
901 divided by 158 is 5 with a remainder of 111.
Put 5 as the next digit of the answer. 
Result so far: 29105.0
Subtract 790 from 901 to get 111.
Take the next digit (5) from the dividend and append it to 111, then repeat: 1115 / 158

Advancing to step 8:
If we divide 1115 by 158, we get 7 and a remainder of 9.
Write down 7 as next digit of the result. 
Result so far: 291057.0
Subtracting 1106 from 1115 leaves us with 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Advancing to step 9:
When dividing 90 by 158, we get 0 with a remainder of 90.
The next digit of our result is 0. 
Result so far: 291057.0
Deduct 0 from 90 and we're left with 90.
Since there are no more digits in the dividend, we add a zero to the remainder making it 900, and continue the process.

Step 10:
158 can be fit into 900 5 times, resulting in a remainder of 110.
The number 5 becomes the next digit in our result. 
Result so far: 291057.05
The remainder is 110 after subtracting 790 from 900.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1100, and continue the process.

On to step 11:
If we divide 1100 by 158, we get 6 and a remainder of 152.
The next digit of our result is 6. 
Result so far: 291057.056
If we subtract 948 from 1100, we get 152.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1520, and continue the process.

Going ahead to step 12:
1520 divided by 158 is 9 with a remainder of 98.
Write down 9 as next digit of the result. 
Result so far: 291057.0569
Subtract 1422 from 1520 to get 98.
Since there are no more digits in the dividend, we add a zero to the remainder making it 980, and continue the process.

On to step 13:
When dividing 980 by 158, we get 6 with a remainder of 32.
Write down 6 as next digit of the result. 
Result so far: 291057.05696
Deduct 948 from 980 and we're left with 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Moving on to step 14:
When dividing 320 by 158, we get 2 with a remainder of 4.
Use 2 as the next digit of our solution. 
Result so far: 291057.056962
If we subtract 316 from 320, we get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Advancing to step 15:
If we divide 40 by 158, we get 0 and a remainder of 40.
The next digit of our result is 0. 
Result so far: 291057.056962
Deduct 0 from 40 and we're left with 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Step 16:
The number 158 fits into 400 2 times, leaving a remainder of 84.
Write down 2 as next digit of the result. 
Result so far: 291057.05696202
Deduct 316 from 400 and we're left with 84.
Since there are no more digits in the dividend, we add a zero to the remainder making it 840, and continue the process.

The final outcome is 291057.05696202, with a leftover of 8.4e-08.