Let's divide 18181 by 57
The aim is to understand the frequency of 57 in 18181.

On to step 1:
57 can be fit into 1 0 times, resulting in a remainder of 1.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 1 leaves us with 1.
Fetch the next digit (8) from the dividend, attach it to 1 and continue: 18 / 57

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

Step 3:
57 goes into 181 3 times with a remainder of 10.
The number 3 becomes the next digit in our result. 
Result so far: 3.0
Subtract 171 from 181 to get 10.
Append the next digit (8) from the dividend to 10 and continue with: 108 / 57

Moving on to step 4:
108 divided by 57 is 1 with a remainder of 51.
The next digit of our result is 1. 
Result so far: 31.0
If we take 57 away from 108, we end up with 51.
Bring next digit (1) of the dividend behind the 51 and repeat the process: 511 / 57

Step 5:
If we divide 511 by 57, we get 8 and a remainder of 55.
Put 8 as the next digit of the answer. 
Result so far: 318.0
Subtract 456 from 511 to get 55.
Since there are no more digits in the dividend, we add a zero to the remainder making it 550, and continue the process.

Going ahead to step 6:
57 goes into 550 9 times with a remainder of 37.
Put 9 as the next digit of the answer. 
Result so far: 318.9
Deduct 513 from 550 and we're left with 37.
Since there are no more digits in the dividend, we add a zero to the remainder making it 370, and continue the process.

Advancing to step 7:
If we divide 370 by 57, we get 6 and a remainder of 28.
Put 6 as the next digit of the answer. 
Result so far: 318.96
The remainder is 28 after subtracting 342 from 370.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Let's proceed to step 8:
280 divided by 57 is 4 with a remainder of 52.
Record the quotient 4 as the next digit in the result. 
Result so far: 318.964
If we take 228 away from 280, we end up with 52.
Since there are no more digits in the dividend, we add a zero to the remainder making it 520, and continue the process.

Moving on to step 9:
57 goes into 520 9 times with a remainder of 7.
Write down 9 as next digit of the result. 
Result so far: 318.9649
Subtract 513 from 520 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.

Step 10:
If we divide 70 by 57, we get 1 and a remainder of 13.
The number 1 becomes the next digit in our result. 
Result so far: 318.96491
The remainder is 13 after subtracting 57 from 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Moving on to step 11:
57 can be fit into 130 2 times, resulting in a remainder of 16.
Write down 2 as next digit of the result. 
Result so far: 318.964912
Deduct 114 from 130 and we're left with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

On to step 12:
57 goes into 160 2 times with a remainder of 46.
Put 2 as the next digit of the answer. 
Result so far: 318.9649122
Deduct 114 from 160 and we're left with 46.
Since there are no more digits in the dividend, we add a zero to the remainder making it 460, and continue the process.

Our division results in 318.9649122 with a remaining 4.6e-07.