Let's divide 151640 by 3
The aim is to understand the frequency of 3 in 151640.

On to step 1:
3 can be fit into 1 0 times, resulting in a remainder of 1.
The number 0 becomes the next digit in our 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

Moving on to step 2:
The number 3 fits into 15 5 times, leaving a remainder of 0.
Record the quotient 5 as the next digit in the result. 
Result so far: 5.0
Subtract 15 from 15 to get 0.
Take the next digit (1) from the dividend and append it to 0, then repeat: 1 / 3

Let's proceed to step 3:
The number 3 fits into 1 0 times, leaving a remainder of 1.
Write down 0 as next digit of the result. 
Result so far: 50.0
If we subtract 0 from 1, we get 1.
Fetch the next digit (6) from the dividend, attach it to 1 and continue: 16 / 3

Going ahead to step 4:
3 can be fit into 16 5 times, resulting in a remainder of 1.
Use 5 as the next digit of our solution. 
Result so far: 505.0
Deduct 15 from 16 and we're left with 1.
Append the next digit (4) from the dividend to 1 and continue with: 14 / 3

Advancing to step 5:
3 goes into 14 4 times with a remainder of 2.
Put 4 as the next digit of the answer. 
Result so far: 5054.0
Deduct 12 from 14 and we're left with 2.
Grab the next digit (0) from the dividend, add it to 2, then carry on: 20 / 3

Step 6:
If we divide 20 by 3, we get 6 and a remainder of 2.
Put 6 as the next digit of the answer. 
Result so far: 50546.0
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.

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

Step 8:
If we divide 20 by 3, we get 6 and a remainder of 2.
Record the quotient 6 as the next digit in the result. 
Result so far: 50546.66
Subtract 18 from 20 to 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.

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