We divide 5789156 by 127
The aim is to understand the frequency of 127 in 5789156.

Advancing to step 1:
5 divided by 127 is 0 with a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Take the next digit (7) from the dividend and append it to 5, then repeat: 57 / 127

On to step 2:
57 divided by 127 is 0 with a remainder of 57.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 57, we end up with 57.
Append the next digit (8) from the dividend to 57 and continue with: 578 / 127

Let's proceed to step 3:
127 goes into 578 4 times with a remainder of 70.
Put 4 as the next digit of the answer. 
Result so far: 4.0
Subtracting 508 from 578 leaves us with 70.
Include the next digit (9) from the dividend after 70, then repeat: 709 / 127

Moving on to step 4:
The number 127 fits into 709 5 times, leaving a remainder of 74.
Record the quotient 5 as the next digit in the result. 
Result so far: 45.0
The remainder is 74 after subtracting 635 from 709.
Take the next digit (1) from the dividend and append it to 74, then repeat: 741 / 127

Let's proceed to step 5:
If we divide 741 by 127, we get 5 and a remainder of 106.
The number 5 becomes the next digit in our result. 
Result so far: 455.0
If we take 635 away from 741, we end up with 106.
Fetch the next digit (5) from the dividend, attach it to 106 and continue: 1065 / 127

Moving on to step 6:
127 can be fit into 1065 8 times, resulting in a remainder of 49.
The number 8 becomes the next digit in our result. 
Result so far: 4558.0
Deduct 1016 from 1065 and we're left with 49.
Grab the next digit (6) from the dividend, add it to 49, then carry on: 496 / 127

Moving on to step 7:
496 divided by 127 is 3 with a remainder of 115.
Put 3 as the next digit of the answer. 
Result so far: 45583.0
Subtracting 381 from 496 leaves us with 115.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1150, and continue the process.

Going ahead to step 8:
The number 127 fits into 1150 9 times, leaving a remainder of 7.
Record the quotient 9 as the next digit in the result. 
Result so far: 45583.9
Subtract 1143 from 1150 to get 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Let's proceed to step 9:
70 divided by 127 is 0 with a remainder of 70.
Put 0 as the next digit of the answer. 
Result so far: 45583.9
Subtracting 0 from 70 leaves us 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.

Moving on to step 10:
700 divided by 127 is 5 with a remainder of 65.
Use 5 as the next digit of our solution. 
Result so far: 45583.905
If we take 635 away from 700, we end up with 65.
Since there are no more digits in the dividend, we add a zero to the remainder making it 650, and continue the process.

Going ahead to step 11:
127 can be fit into 650 5 times, resulting in a remainder of 15.
The number 5 becomes the next digit in our result. 
Result so far: 45583.9055
If we take 635 away from 650, we end up 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.

Our division results in 45583.9055 with a remaining 0.00015.