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

On to step 1:
If we divide 1 by 157, we get 0 and a remainder of 1.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 1 to get 1.
Append the next digit (5) from the dividend to 1 and continue with: 15 / 157

On to step 2:
When dividing 15 by 157, we get 0 with a remainder of 15.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 15 leaves us with 15.
Append the next digit (3) from the dividend to 15 and continue with: 153 / 157

Going ahead to step 3:
157 goes into 153 0 times with a remainder of 153.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 153 to get 153.
Bring next digit (4) of the dividend behind the 153 and repeat the process: 1534 / 157

Advancing to step 4:
When dividing 1534 by 157, we get 9 with a remainder of 121.
The number 9 becomes the next digit in our result. 
Result so far: 9.0
Subtract 1413 from 1534 to get 121.
Include the next digit (2) from the dividend after 121, then repeat: 1212 / 157

Moving on to step 5:
If we divide 1212 by 157, we get 7 and a remainder of 113.
Use 7 as the next digit of our solution. 
Result so far: 97.0
Subtracting 1099 from 1212 leaves us with 113.
Fetch the next digit (0) from the dividend, attach it to 113 and continue: 1130 / 157

On to step 6:
157 can be fit into 1130 7 times, resulting in a remainder of 31.
Put 7 as the next digit of the answer. 
Result so far: 977.0
If we subtract 1099 from 1130, we get 31.
Grab the next digit (4) from the dividend, add it to 31, then carry on: 314 / 157

Going ahead to step 7:
157 goes into 314 2 times with a remainder of 0.
Use 2 as the next digit of our solution. 
Result so far: 9772.0
Deduct 314 from 314 and we're left with 0.
Take the next digit (0) from the dividend and append it to 0, then repeat: 0 / 157

Going ahead to step 8:
If we divide 0 by 157, we get 0 and a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 97720.0
If we subtract 0 from 0, we get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Let's proceed to step 9:
157 can be fit into 0 0 times, resulting in a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 97720.0
Deduct 0 from 0 and we're left with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Step 10:
157 goes into 0 0 times with a remainder of 0.
The next digit of our result is 0. 
Result so far: 97720.0
Subtracting 0 from 0 leaves us with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

The final outcome is 97720.0, with a leftover of 0.0.