We're dividing 57004987 by 393 
The aim is to understand the frequency of 393 in 57004987.

Step 1:
When dividing 5 by 393, we get 0 with a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Bring next digit (7) of the dividend behind the 5 and repeat the process: 57 / 393

Step 2:
The number 393 fits into 57 0 times, leaving a remainder of 57.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 57, we get 57.
Append the next digit (0) from the dividend to 57 and continue with: 570 / 393

Moving on to step 3:
The number 393 fits into 570 1 times, leaving a remainder of 177.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
If we take 393 away from 570, we end up with 177.
Bring next digit (0) of the dividend behind the 177 and repeat the process: 1770 / 393

Let's proceed to step 4:
The number 393 fits into 1770 4 times, leaving a remainder of 198.
Put 4 as the next digit of the answer. 
Result so far: 14.0
The remainder is 198 after subtracting 1572 from 1770.
Take the next digit (4) from the dividend and append it to 198, then repeat: 1984 / 393

Moving on to step 5:
If we divide 1984 by 393, we get 5 and a remainder of 19.
Write down 5 as next digit of the result. 
Result so far: 145.0
Subtract 1965 from 1984 to get 19.
Include the next digit (9) from the dividend after 19, then repeat: 199 / 393

On to step 6:
If we divide 199 by 393, we get 0 and a remainder of 199.
The number 0 becomes the next digit in our result. 
Result so far: 1450.0
If we subtract 0 from 199, we get 199.
Bring next digit (8) of the dividend behind the 199 and repeat the process: 1998 / 393

Going ahead to step 7:
The number 393 fits into 1998 5 times, leaving a remainder of 33.
Put 5 as the next digit of the answer. 
Result so far: 14505.0
Subtracting 1965 from 1998 leaves us with 33.
Fetch the next digit (7) from the dividend, attach it to 33 and continue: 337 / 393

On to step 8:
If we divide 337 by 393, we get 0 and a remainder of 337.
Put 0 as the next digit of the answer. 
Result so far: 145050.0
Subtracting 0 from 337 leaves us with 337.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3370, and continue the process.

Moving on to step 9:
The number 393 fits into 3370 8 times, leaving a remainder of 226.
Write down 8 as next digit of the result. 
Result so far: 145050.8
If we take 3144 away from 3370, we end up with 226.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2260, and continue the process.

On to step 10:
393 can be fit into 2260 5 times, resulting in a remainder of 295.
Write down 5 as next digit of the result. 
Result so far: 145050.85
If we subtract 1965 from 2260, we get 295.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2950, and continue the process.

Let's proceed to step 11:
When dividing 2950 by 393, we get 7 with a remainder of 199.
Record the quotient 7 as the next digit in the result. 
Result so far: 145050.857
Subtract 2751 from 2950 to get 199.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1990, and continue the process.

Moving on to step 12:
1990 divided by 393 is 5 with a remainder of 25.
Use 5 as the next digit of our solution. 
Result so far: 145050.8575
Deduct 1965 from 1990 and we're left with 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Going ahead to step 13:
393 goes into 250 0 times with a remainder of 250.
Record the quotient 0 as the next digit in the result. 
Result so far: 145050.8575
Subtract 0 from 250 to get 250.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2500, and continue the process.

Going ahead to step 14:
If we divide 2500 by 393, we get 6 and a remainder of 142.
Record the quotient 6 as the next digit in the result. 
Result so far: 145050.857506
The remainder is 142 after subtracting 2358 from 2500.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1420, and continue the process.

Moving on to step 15:
The number 393 fits into 1420 3 times, leaving a remainder of 241.
Write down 3 as next digit of the result. 
Result so far: 145050.8575063
Subtracting 1179 from 1420 leaves us with 241.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2410, and continue the process.

Going ahead to step 16:
The number 393 fits into 2410 6 times, leaving a remainder of 52.
The number 6 becomes the next digit in our result. 
Result so far: 145050.85750636
If we subtract 2358 from 2410, we get 52.
Since there are no more digits in the dividend, we add a zero to the remainder making it 520, and continue the process.

In conclusion, the division gives 145050.85750636 with a balance of 5.2e-08.