We divide 157883 by 3
The aim is to understand the frequency of 3 in 157883.

Going ahead to step 1:
1 divided by 3 is 0 with a remainder of 1.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 1, we end up with 1.
Fetch the next digit (5) from the dividend, attach it to 1 and continue: 15 / 3

Let's proceed to step 2:
3 goes into 15 5 times with a remainder of 0.
The next digit of our result is 5. 
Result so far: 5.0
If we take 15 away from 15, we end up with 0.
Include the next digit (7) from the dividend after 0, then repeat: 7 / 3

Moving on to step 3:
7 divided by 3 is 2 with a remainder of 1.
Use 2 as the next digit of our solution. 
Result so far: 52.0
If we subtract 6 from 7, we get 1.
Grab the next digit (8) from the dividend, add it to 1, then carry on: 18 / 3

Advancing to step 4:
If we divide 18 by 3, we get 6 and a remainder of 0.
The next digit of our result is 6. 
Result so far: 526.0
If we take 18 away from 18, we end up with 0.
Take the next digit (8) from the dividend and append it to 0, then repeat: 8 / 3

On to step 5:
If we divide 8 by 3, we get 2 and a remainder of 2.
The next digit of our result is 2. 
Result so far: 5262.0
Subtract 6 from 8 to get 2.
Append the next digit (3) from the dividend to 2 and continue with: 23 / 3

Let's proceed to step 6:
When dividing 23 by 3, we get 7 with a remainder of 2.
Write down 7 as next digit of the result. 
Result so far: 52627.0
Subtracting 21 from 23 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.

On to step 7:
When dividing 20 by 3, we get 6 with a remainder of 2.
Record the quotient 6 as the next digit in the result. 
Result so far: 52627.6
Deduct 18 from 20 and we're left 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.

Step 8:
3 can be fit into 20 6 times, resulting in a remainder of 2.
Put 6 as the next digit of the answer. 
Result so far: 52627.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 final result is 52627.66 with a remainder of 0.002.