We look at the division of 13687876 by 157 
The aim is to understand the frequency of 157 in 13687876.

Step 1:
157 can be fit into 1 0 times, resulting in a remainder of 1.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 1, we get 1.
Append the next digit (3) from the dividend to 1 and continue with: 13 / 157

Moving on to step 2:
13 divided by 157 is 0 with a remainder of 13.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 13, we end up with 13.
Include the next digit (6) from the dividend after 13, then repeat: 136 / 157

On to step 3:
The number 157 fits into 136 0 times, leaving a remainder of 136.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 136 to get 136.
Bring next digit (8) of the dividend behind the 136 and repeat the process: 1368 / 157

On to step 4:
157 can be fit into 1368 8 times, resulting in a remainder of 112.
Record the quotient 8 as the next digit in the result. 
Result so far: 8.0
The remainder is 112 after subtracting 1256 from 1368.
Grab the next digit (7) from the dividend, add it to 112, then carry on: 1127 / 157

On to step 5:
1127 divided by 157 is 7 with a remainder of 28.
The next digit of our result is 7. 
Result so far: 87.0
Subtracting 1099 from 1127 leaves us with 28.
Include the next digit (8) from the dividend after 28, then repeat: 288 / 157

Let's proceed to step 6:
When dividing 288 by 157, we get 1 with a remainder of 131.
The next digit of our result is 1. 
Result so far: 871.0
Deduct 157 from 288 and we're left with 131.
Grab the next digit (7) from the dividend, add it to 131, then carry on: 1317 / 157

Step 7:
When dividing 1317 by 157, we get 8 with a remainder of 61.
Put 8 as the next digit of the answer. 
Result so far: 8718.0
Deduct 1256 from 1317 and we're left with 61.
Bring next digit (6) of the dividend behind the 61 and repeat the process: 616 / 157

On to step 8:
616 divided by 157 is 3 with a remainder of 145.
The number 3 becomes the next digit in our result. 
Result so far: 87183.0
Subtract 471 from 616 to get 145.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1450, and continue the process.

On to step 9:
157 goes into 1450 9 times with a remainder of 37.
The number 9 becomes the next digit in our result. 
Result so far: 87183.9
If we take 1413 away from 1450, we end up with 37.
Since there are no more digits in the dividend, we add a zero to the remainder making it 370, and continue the process.

Let's proceed to step 10:
The number 157 fits into 370 2 times, leaving a remainder of 56.
The number 2 becomes the next digit in our result. 
Result so far: 87183.92
The remainder is 56 after subtracting 314 from 370.
Since there are no more digits in the dividend, we add a zero to the remainder making it 560, and continue the process.

Going ahead to step 11:
157 can be fit into 560 3 times, resulting in a remainder of 89.
Put 3 as the next digit of the answer. 
Result so far: 87183.923
Subtracting 471 from 560 leaves us with 89.
Since there are no more digits in the dividend, we add a zero to the remainder making it 890, and continue the process.

Advancing to step 12:
157 can be fit into 890 5 times, resulting in a remainder of 105.
Put 5 as the next digit of the answer. 
Result so far: 87183.9235
Subtract 785 from 890 to get 105.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1050, and continue the process.

On to step 13:
When dividing 1050 by 157, we get 6 with a remainder of 108.
Write down 6 as next digit of the result. 
Result so far: 87183.92356
Subtracting 942 from 1050 leaves us with 108.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1080, and continue the process.

Going ahead to step 14:
157 goes into 1080 6 times with a remainder of 138.
Put 6 as the next digit of the answer. 
Result so far: 87183.923566
If we subtract 942 from 1080, we get 138.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1380, and continue the process.

The final outcome is 87183.923566, with a leftover of 1.38e-05.