We divide 165342 by 57
The aim is to understand the frequency of 57 in 165342.

Going ahead to step 1:
When dividing 1 by 57, we get 0 with a remainder of 1.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 1 after subtracting 0 from 1.
Grab the next digit (6) from the dividend, add it to 1, then carry on: 16 / 57

Going ahead to step 2:
16 divided by 57 is 0 with a remainder of 16.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 16 leaves us with 16.
Append the next digit (5) from the dividend to 16 and continue with: 165 / 57

On to step 3:
If we divide 165 by 57, we get 2 and a remainder of 51.
The next digit of our result is 2. 
Result so far: 2.0
Subtracting 114 from 165 leaves us with 51.
Include the next digit (3) from the dividend after 51, then repeat: 513 / 57

Moving on to step 4:
57 goes into 513 9 times with a remainder of 0.
The number 9 becomes the next digit in our result. 
Result so far: 29.0
If we subtract 513 from 513, we get 0.
Bring next digit (4) of the dividend behind the 0 and repeat the process: 4 / 57

Advancing to step 5:
When dividing 4 by 57, we get 0 with a remainder of 4.
Use 0 as the next digit of our solution. 
Result so far: 290.0
If we take 0 away from 4, we end up with 4.
Append the next digit (2) from the dividend to 4 and continue with: 42 / 57

On to step 6:
57 goes into 42 0 times with a remainder of 42.
Record the quotient 0 as the next digit in the result. 
Result so far: 2900.0
Deduct 0 from 42 and we're left 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.

Step 7:
57 goes into 420 7 times with a remainder of 21.
Put 7 as the next digit of the answer. 
Result so far: 2900.7
Deduct 399 from 420 and we're left with 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

On to step 8:
210 divided by 57 is 3 with a remainder of 39.
Use 3 as the next digit of our solution. 
Result so far: 2900.73
Subtract 171 from 210 to get 39.
Since there are no more digits in the dividend, we add a zero to the remainder making it 390, and continue the process.

Step 9:
390 divided by 57 is 6 with a remainder of 48.
Put 6 as the next digit of the answer. 
Result so far: 2900.736
If we take 342 away from 390, we end up with 48.
Since there are no more digits in the dividend, we add a zero to the remainder making it 480, and continue the process.

Step 10:
57 goes into 480 8 times with a remainder of 24.
The number 8 becomes the next digit in our result. 
Result so far: 2900.7368
If we subtract 456 from 480, we get 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Going ahead to step 11:
57 can be fit into 240 4 times, resulting in a remainder of 12.
Put 4 as the next digit of the answer. 
Result so far: 2900.73684
Deduct 228 from 240 and we're left with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Moving on to step 12:
The number 57 fits into 120 2 times, leaving a remainder of 6.
Put 2 as the next digit of the answer. 
Result so far: 2900.736842
Subtracting 114 from 120 leaves us with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Advancing to step 13:
60 divided by 57 is 1 with a remainder of 3.
Put 1 as the next digit of the answer. 
Result so far: 2900.7368421
Subtracting 57 from 60 leaves us with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

On to step 14:
57 can be fit into 30 0 times, resulting in a remainder of 30.
Write down 0 as next digit of the result. 
Result so far: 2900.7368421
If we subtract 0 from 30, we get 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

After the division, we end up with 2900.7368421 and a remainder of 3e-08.