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

Moving on to step 1:
The number 3 fits into 1 0 times, leaving a remainder of 1.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 1 after subtracting 0 from 1.
Include the next digit (3) from the dividend after 1, then repeat: 13 / 3

Let's proceed to step 2:
13 divided by 3 is 4 with a remainder of 1.
Put 4 as the next digit of the answer. 
Result so far: 4.0
If we subtract 12 from 13, we get 1.
Grab the next digit (0) from the dividend, add it to 1, then carry on: 10 / 3

Step 3:
The number 3 fits into 10 3 times, leaving a remainder of 1.
Record the quotient 3 as the next digit in the result. 
Result so far: 43.0
If we subtract 9 from 10, we get 1.
Include the next digit (1) from the dividend after 1, then repeat: 11 / 3

On to step 4:
3 can be fit into 11 3 times, resulting in a remainder of 2.
The next digit of our result is 3. 
Result so far: 433.0
Subtracting 9 from 11 leaves us with 2.
Bring next digit (5) of the dividend behind the 2 and repeat the process: 25 / 3

Going ahead to step 5:
3 can be fit into 25 8 times, resulting in a remainder of 1.
Put 8 as the next digit of the answer. 
Result so far: 4338.0
Subtracting 24 from 25 leaves us with 1.
Append the next digit (7) from the dividend to 1 and continue with: 17 / 3

Moving on to step 6:
If we divide 17 by 3, we get 5 and a remainder of 2.
Use 5 as the next digit of our solution. 
Result so far: 43385.0
If we take 15 away from 17, we end up 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.

Going ahead to step 7:
If we divide 20 by 3, we get 6 and a remainder of 2.
Use 6 as the next digit of our solution. 
Result so far: 43385.6
If we take 18 away from 20, we end up 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.

Going ahead to step 8:
20 divided by 3 is 6 with a remainder of 2.
The next digit of our result is 6. 
Result so far: 43385.66
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.

Our division results in 43385.66 with a remaining 0.002.