821475 ÷ 5 
The aim is to understand the frequency of 5 in 821475.

Advancing to step 1:
The number 5 fits into 8 1 times, leaving a remainder of 3.
Use 1 as the next digit of our solution. 
Result so far: 1.0
If we subtract 5 from 8, we get 3.
Take the next digit (2) from the dividend and append it to 3, then repeat: 32 / 5

Step 2:
If we divide 32 by 5, we get 6 and a remainder of 2.
Put 6 as the next digit of the answer. 
Result so far: 16.0
Deduct 30 from 32 and we're left with 2.
Append the next digit (1) from the dividend to 2 and continue with: 21 / 5

Going ahead to step 3:
When dividing 21 by 5, we get 4 with a remainder of 1.
The number 4 becomes the next digit in our result. 
Result so far: 164.0
If we subtract 20 from 21, we get 1.
Bring next digit (4) of the dividend behind the 1 and repeat the process: 14 / 5

Going ahead to step 4:
The number 5 fits into 14 2 times, leaving a remainder of 4.
Write down 2 as next digit of the result. 
Result so far: 1642.0
Subtracting 10 from 14 leaves us with 4.
Include the next digit (7) from the dividend after 4, then repeat: 47 / 5

Step 5:
When dividing 47 by 5, we get 9 with a remainder of 2.
The number 9 becomes the next digit in our result. 
Result so far: 16429.0
If we take 45 away from 47, we end up with 2.
Grab the next digit (5) from the dividend, add it to 2, then carry on: 25 / 5

Moving on to step 6:
5 can be fit into 25 5 times, resulting in a remainder of 0.
Record the quotient 5 as the next digit in the result. 
Result so far: 164295.0
If we take 25 away from 25, we end up with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Advancing to step 7:
When dividing 0 by 5, we get 0 with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 164295.0
Deduct 0 from 0 and we're left with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Advancing to step 8:
The number 5 fits into 0 0 times, leaving a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 164295.0
Subtracting 0 from 0 leaves us with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

The final result is 164295.0 with a remainder of 0.0.