We're dividing 581323 by 5 
The aim is to understand the frequency of 5 in 581323.

On to step 1:
When dividing 5 by 5, we get 1 with a remainder of 0.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Subtracting 5 from 5 leaves us with 0.
Grab the next digit (8) from the dividend, add it to 0, then carry on: 8 / 5

Let's proceed to step 2:
The number 5 fits into 8 1 times, leaving a remainder of 3.
Write down 1 as next digit of the result. 
Result so far: 11.0
The remainder is 3 after subtracting 5 from 8.
Include the next digit (1) from the dividend after 3, then repeat: 31 / 5

Step 3:
31 divided by 5 is 6 with a remainder of 1.
Put 6 as the next digit of the answer. 
Result so far: 116.0
Deduct 30 from 31 and we're left with 1.
Include the next digit (3) from the dividend after 1, then repeat: 13 / 5

Let's proceed to step 4:
13 divided by 5 is 2 with a remainder of 3.
Write down 2 as next digit of the result. 
Result so far: 1162.0
Deduct 10 from 13 and we're left with 3.
Grab the next digit (2) from the dividend, add it to 3, then carry on: 32 / 5

Step 5:
5 goes into 32 6 times with a remainder of 2.
Put 6 as the next digit of the answer. 
Result so far: 11626.0
Deduct 30 from 32 and we're left with 2.
Take the next digit (3) from the dividend and append it to 2, then repeat: 23 / 5

Step 6:
23 divided by 5 is 4 with a remainder of 3.
The number 4 becomes the next digit in our result. 
Result so far: 116264.0
If we subtract 20 from 23, we get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Advancing to step 7:
When dividing 30 by 5, we get 6 with a remainder of 0.
Use 6 as the next digit of our solution. 
Result so far: 116264.6
Deduct 30 from 30 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.

On to step 8:
5 goes into 0 0 times with a remainder of 0.
The next digit of our result is 0. 
Result so far: 116264.6
If we take 0 away from 0, 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.

Let's proceed to step 9:
If we divide 0 by 5, we get 0 and a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 116264.6
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.

After the division, we end up with 116264.6 and a remainder of 0.0.