318981 divided by 5 
The aim is to understand the frequency of 5 in 318981.

Step 1:
5 goes into 3 0 times with a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Append the next digit (1) from the dividend to 3 and continue with: 31 / 5

Going ahead to step 2:
5 goes into 31 6 times with a remainder of 1.
Put 6 as the next digit of the answer. 
Result so far: 6.0
Deduct 30 from 31 and we're left with 1.
Fetch the next digit (8) from the dividend, attach it to 1 and continue: 18 / 5

On to step 3:
The number 5 fits into 18 3 times, leaving a remainder of 3.
Use 3 as the next digit of our solution. 
Result so far: 63.0
Deduct 15 from 18 and we're left with 3.
Append the next digit (9) from the dividend to 3 and continue with: 39 / 5

Advancing to step 4:
5 goes into 39 7 times with a remainder of 4.
Put 7 as the next digit of the answer. 
Result so far: 637.0
If we take 35 away from 39, we end up with 4.
Fetch the next digit (8) from the dividend, attach it to 4 and continue: 48 / 5

Moving on to step 5:
5 goes into 48 9 times with a remainder of 3.
Write down 9 as next digit of the result. 
Result so far: 6379.0
Subtract 45 from 48 to get 3.
Bring next digit (1) of the dividend behind the 3 and repeat the process: 31 / 5

Advancing to step 6:
5 goes into 31 6 times with a remainder of 1.
Put 6 as the next digit of the answer. 
Result so far: 63796.0
Subtracting 30 from 31 leaves us 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.

Let's proceed to step 7:
5 goes into 10 2 times with a remainder of 0.
Record the quotient 2 as the next digit in the result. 
Result so far: 63796.2
Subtracting 10 from 10 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.

Going ahead to step 8:
5 can be fit into 0 0 times, resulting in a remainder of 0.
The next digit of our result is 0. 
Result so far: 63796.2
Subtract 0 from 0 to get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Step 9:
When dividing 0 by 5, we get 0 with a remainder of 0.
The next digit of our result is 0. 
Result so far: 63796.2
Subtract 0 from 0 to get 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 63796.2 with a remainder of 0.0.