We look at the division of 788574 by 57 
The aim is to understand the frequency of 57 in 788574.

Going ahead to step 1:
The number 57 fits into 7 0 times, leaving a remainder of 7.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 7, we end up with 7.
Fetch the next digit (8) from the dividend, attach it to 7 and continue: 78 / 57

Going ahead to step 2:
When dividing 78 by 57, we get 1 with a remainder of 21.
Use 1 as the next digit of our solution. 
Result so far: 1.0
If we subtract 57 from 78, we get 21.
Append the next digit (8) from the dividend to 21 and continue with: 218 / 57

Step 3:
When dividing 218 by 57, we get 3 with a remainder of 47.
Write down 3 as next digit of the result. 
Result so far: 13.0
The remainder is 47 after subtracting 171 from 218.
Fetch the next digit (5) from the dividend, attach it to 47 and continue: 475 / 57

On to step 4:
The number 57 fits into 475 8 times, leaving a remainder of 19.
Record the quotient 8 as the next digit in the result. 
Result so far: 138.0
If we take 456 away from 475, we end up with 19.
Bring next digit (7) of the dividend behind the 19 and repeat the process: 197 / 57

Moving on to step 5:
57 can be fit into 197 3 times, resulting in a remainder of 26.
Put 3 as the next digit of the answer. 
Result so far: 1383.0
The remainder is 26 after subtracting 171 from 197.
Grab the next digit (4) from the dividend, add it to 26, then carry on: 264 / 57

Moving on to step 6:
When dividing 264 by 57, we get 4 with a remainder of 36.
Use 4 as the next digit of our solution. 
Result so far: 13834.0
If we subtract 228 from 264, we get 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Advancing to step 7:
When dividing 360 by 57, we get 6 with a remainder of 18.
Write down 6 as next digit of the result. 
Result so far: 13834.6
Subtract 342 from 360 to get 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Going ahead to step 8:
57 can be fit into 180 3 times, resulting in a remainder of 9.
The next digit of our result is 3. 
Result so far: 13834.63
The remainder is 9 after subtracting 171 from 180.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Going ahead to step 9:
57 can be fit into 90 1 times, resulting in a remainder of 33.
Write down 1 as next digit of the result. 
Result so far: 13834.631
Subtract 57 from 90 to get 33.
Since there are no more digits in the dividend, we add a zero to the remainder making it 330, and continue the process.

Moving on to step 10:
When dividing 330 by 57, we get 5 with a remainder of 45.
Record the quotient 5 as the next digit in the result. 
Result so far: 13834.6315
If we subtract 285 from 330, we get 45.
Since there are no more digits in the dividend, we add a zero to the remainder making it 450, and continue the process.

Let's proceed to step 11:
When dividing 450 by 57, we get 7 with a remainder of 51.
The next digit of our result is 7. 
Result so far: 13834.63157
Deduct 399 from 450 and we're left with 51.
Since there are no more digits in the dividend, we add a zero to the remainder making it 510, and continue the process.

On to step 12:
When dividing 510 by 57, we get 8 with a remainder of 54.
The number 8 becomes the next digit in our result. 
Result so far: 13834.631578
Subtract 456 from 510 to get 54.
Since there are no more digits in the dividend, we add a zero to the remainder making it 540, and continue the process.

Moving on to step 13:
540 divided by 57 is 9 with a remainder of 27.
Record the quotient 9 as the next digit in the result. 
Result so far: 13834.6315789
Subtracting 513 from 540 leaves us with 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Going ahead to step 14:
The number 57 fits into 270 4 times, leaving a remainder of 42.
Put 4 as the next digit of the answer. 
Result so far: 13834.63157894
If we take 228 away from 270, we end up with 42.
Since there are no more digits in the dividend, we add a zero to the remainder making it 420, and continue the process.

The final outcome is 13834.63157894, with a leftover of 4.2e-08.