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

Moving on to step 1:
157 goes into 3 0 times with a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Append the next digit (7) from the dividend to 3 and continue with: 37 / 157

Let's proceed to step 2:
157 can be fit into 37 0 times, resulting in a remainder of 37.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 37 leaves us with 37.
Bring next digit (0) of the dividend behind the 37 and repeat the process: 370 / 157

Going ahead to step 3:
The number 157 fits into 370 2 times, leaving a remainder of 56.
Put 2 as the next digit of the answer. 
Result so far: 2.0
Subtracting 314 from 370 leaves us with 56.
Grab the next digit (4) from the dividend, add it to 56, then carry on: 564 / 157

On to step 4:
The number 157 fits into 564 3 times, leaving a remainder of 93.
The number 3 becomes the next digit in our result. 
Result so far: 23.0
Deduct 471 from 564 and we're left with 93.
Fetch the next digit (5) from the dividend, attach it to 93 and continue: 935 / 157

Moving on to step 5:
157 goes into 935 5 times with a remainder of 150.
Use 5 as the next digit of our solution. 
Result so far: 235.0
If we take 785 away from 935, we end up with 150.
Fetch the next digit (9) from the dividend, attach it to 150 and continue: 1509 / 157

Step 6:
157 can be fit into 1509 9 times, resulting in a remainder of 96.
Put 9 as the next digit of the answer. 
Result so far: 2359.0
If we take 1413 away from 1509, we end up with 96.
Take the next digit (5) from the dividend and append it to 96, then repeat: 965 / 157

Step 7:
157 can be fit into 965 6 times, resulting in a remainder of 23.
Write down 6 as next digit of the result. 
Result so far: 23596.0
If we take 942 away from 965, we end up with 23.
Grab the next digit (4) from the dividend, add it to 23, then carry on: 234 / 157

Moving on to step 8:
If we divide 234 by 157, we get 1 and a remainder of 77.
Write down 1 as next digit of the result. 
Result so far: 235961.0
If we take 157 away from 234, we end up with 77.
Since there are no more digits in the dividend, we add a zero to the remainder making it 770, and continue the process.

Going ahead to step 9:
If we divide 770 by 157, we get 4 and a remainder of 142.
Record the quotient 4 as the next digit in the result. 
Result so far: 235961.4
The remainder is 142 after subtracting 628 from 770.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1420, and continue the process.

Going ahead to step 10:
157 goes into 1420 9 times with a remainder of 7.
Record the quotient 9 as the next digit in the result. 
Result so far: 235961.49
The remainder is 7 after subtracting 1413 from 1420.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Step 11:
157 goes into 70 0 times with a remainder of 70.
Write down 0 as next digit of the result. 
Result so far: 235961.49
If we take 0 away from 70, we end up with 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 700, and continue the process.

Step 12:
157 can be fit into 700 4 times, resulting in a remainder of 72.
The next digit of our result is 4. 
Result so far: 235961.4904
Deduct 628 from 700 and we're left with 72.
Since there are no more digits in the dividend, we add a zero to the remainder making it 720, and continue the process.

Moving on to step 13:
157 can be fit into 720 4 times, resulting in a remainder of 92.
Record the quotient 4 as the next digit in the result. 
Result so far: 235961.49044
If we take 628 away from 720, we end up with 92.
Since there are no more digits in the dividend, we add a zero to the remainder making it 920, and continue the process.

The final outcome is 235961.49044, with a leftover of 9.2e-05.