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

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
Subtracting 0 from 1 leaves us with 1.
Grab the next digit (7) from the dividend, add it to 1, then carry on: 17 / 3

Step 2:
When dividing 17 by 3, we get 5 with a remainder of 2.
Put 5 as the next digit of the answer. 
Result so far: 5.0
Subtract 15 from 17 to get 2.
Append the next digit (1) from the dividend to 2 and continue with: 21 / 3

Advancing to step 3:
The number 3 fits into 21 7 times, leaving a remainder of 0.
Write down 7 as next digit of the result. 
Result so far: 57.0
Subtracting 21 from 21 leaves us with 0.
Take the next digit (5) from the dividend and append it to 0, then repeat: 5 / 3

Let's proceed to step 4:
When dividing 5 by 3, we get 1 with a remainder of 2.
Record the quotient 1 as the next digit in the result. 
Result so far: 571.0
Subtracting 3 from 5 leaves us with 2.
Append the next digit (2) from the dividend to 2 and continue with: 22 / 3

Moving on to step 5:
22 divided by 3 is 7 with a remainder of 1.
Put 7 as the next digit of the answer. 
Result so far: 5717.0
The remainder is 1 after subtracting 21 from 22.
Bring next digit (3) of the dividend behind the 1 and repeat the process: 13 / 3

Moving on to step 6:
If we divide 13 by 3, we get 4 and a remainder of 1.
Use 4 as the next digit of our solution. 
Result so far: 57174.0
Subtract 12 from 13 to get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Advancing to step 7:
3 goes into 10 3 times with a remainder of 1.
Write down 3 as next digit of the result. 
Result so far: 57174.3
Deduct 9 from 10 and we're left with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Advancing to step 8:
10 divided by 3 is 3 with a remainder of 1.
The number 3 becomes the next digit in our result. 
Result so far: 57174.33
Subtract 9 from 10 to get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

After the division, we end up with 57174.33 and a remainder of 0.001.