We're dividing 39518128 by 157 
The aim is to understand the frequency of 157 in 39518128.

Step 1:
The number 157 fits into 3 0 times, leaving a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Fetch the next digit (9) from the dividend, attach it to 3 and continue: 39 / 157

Advancing to step 2:
157 can be fit into 39 0 times, resulting in a remainder of 39.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 39 leaves us with 39.
Grab the next digit (5) from the dividend, add it to 39, then carry on: 395 / 157

Let's proceed to step 3:
When dividing 395 by 157, we get 2 with a remainder of 81.
Use 2 as the next digit of our solution. 
Result so far: 2.0
Subtracting 314 from 395 leaves us with 81.
Include the next digit (1) from the dividend after 81, then repeat: 811 / 157

Let's proceed to step 4:
The number 157 fits into 811 5 times, leaving a remainder of 26.
The next digit of our result is 5. 
Result so far: 25.0
If we subtract 785 from 811, we get 26.
Take the next digit (8) from the dividend and append it to 26, then repeat: 268 / 157

Advancing to step 5:
157 can be fit into 268 1 times, resulting in a remainder of 111.
The number 1 becomes the next digit in our result. 
Result so far: 251.0
If we subtract 157 from 268, we get 111.
Take the next digit (1) from the dividend and append it to 111, then repeat: 1111 / 157

Step 6:
When dividing 1111 by 157, we get 7 with a remainder of 12.
Use 7 as the next digit of our solution. 
Result so far: 2517.0
Deduct 1099 from 1111 and we're left with 12.
Take the next digit (2) from the dividend and append it to 12, then repeat: 122 / 157

Let's proceed to step 7:
157 can be fit into 122 0 times, resulting in a remainder of 122.
Use 0 as the next digit of our solution. 
Result so far: 25170.0
If we take 0 away from 122, we end up with 122.
Take the next digit (8) from the dividend and append it to 122, then repeat: 1228 / 157

Advancing to step 8:
157 can be fit into 1228 7 times, resulting in a remainder of 129.
Record the quotient 7 as the next digit in the result. 
Result so far: 251707.0
Subtracting 1099 from 1228 leaves us with 129.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1290, and continue the process.

Step 9:
157 can be fit into 1290 8 times, resulting in a remainder of 34.
Write down 8 as next digit of the result. 
Result so far: 251707.8
Subtract 1256 from 1290 to get 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Going ahead to step 10:
157 goes into 340 2 times with a remainder of 26.
The next digit of our result is 2. 
Result so far: 251707.82
If we take 314 away from 340, we end up with 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Let's proceed to step 11:
When dividing 260 by 157, we get 1 with a remainder of 103.
Write down 1 as next digit of the result. 
Result so far: 251707.821
The remainder is 103 after subtracting 157 from 260.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1030, and continue the process.

Moving on to step 12:
157 can be fit into 1030 6 times, resulting in a remainder of 88.
Record the quotient 6 as the next digit in the result. 
Result so far: 251707.8216
Deduct 942 from 1030 and we're left with 88.
Since there are no more digits in the dividend, we add a zero to the remainder making it 880, and continue the process.

Step 13:
The number 157 fits into 880 5 times, leaving a remainder of 95.
Record the quotient 5 as the next digit in the result. 
Result so far: 251707.82165
If we subtract 785 from 880, we get 95.
Since there are no more digits in the dividend, we add a zero to the remainder making it 950, and continue the process.

Going ahead to step 14:
When dividing 950 by 157, we get 6 with a remainder of 8.
The number 6 becomes the next digit in our result. 
Result so far: 251707.821656
Subtracting 942 from 950 leaves us with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Advancing to step 15:
When dividing 80 by 157, we get 0 with a remainder of 80.
Put 0 as the next digit of the answer. 
Result so far: 251707.821656
If we subtract 0 from 80, we get 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 800, and continue the process.

Going ahead to step 16:
800 divided by 157 is 5 with a remainder of 15.
Write down 5 as next digit of the result. 
Result so far: 251707.82165605
Subtracting 785 from 800 leaves us with 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

The final outcome is 251707.82165605, with a leftover of 1.5e-08.