We're dividing 22757 by 3 
The aim is to understand the frequency of 3 in 22757.

Step 1:
The number 3 fits into 2 0 times, leaving a remainder of 2.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 2, we end up with 2.
Fetch the next digit (2) from the dividend, attach it to 2 and continue: 22 / 3

Let's proceed to step 2:
22 divided by 3 is 7 with a remainder of 1.
Record the quotient 7 as the next digit in the result. 
Result so far: 7.0
Subtracting 21 from 22 leaves us with 1.
Take the next digit (7) from the dividend and append it to 1, then repeat: 17 / 3

On to step 3:
3 goes into 17 5 times with a remainder of 2.
Write down 5 as next digit of the result. 
Result so far: 75.0
Subtract 15 from 17 to get 2.
Grab the next digit (5) from the dividend, add it to 2, then carry on: 25 / 3

Going ahead to step 4:
When dividing 25 by 3, we get 8 with a remainder of 1.
The number 8 becomes the next digit in our result. 
Result so far: 758.0
The remainder is 1 after subtracting 24 from 25.
Include the next digit (7) from the dividend after 1, then repeat: 17 / 3

Advancing to step 5:
17 divided by 3 is 5 with a remainder of 2.
The number 5 becomes the next digit in our result. 
Result so far: 7585.0
The remainder is 2 after subtracting 15 from 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Advancing to step 6:
The number 3 fits into 20 6 times, leaving a remainder of 2.
Use 6 as the next digit of our solution. 
Result so far: 7585.6
If we subtract 18 from 20, we get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Going ahead to step 7:
If we divide 20 by 3, we get 6 and a remainder of 2.
The number 6 becomes the next digit in our result. 
Result so far: 7585.66
Subtracting 18 from 20 leaves us with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

The quotient of the division is 7585.66, and the remainder is 0.002.