Let's divide 165431 by 5
We want to figure out the number of times 165431 can be divided by 5.

Advancing to step 1:
If we divide 1 by 5, we get 0 and a remainder of 1.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 1 and we're left with 1.
Take the next digit (6) from the dividend and append it to 1, then repeat: 16 / 5

Advancing to step 2:
5 goes into 16 3 times with a remainder of 1.
Use 3 as the next digit of our solution. 
Result so far: 3.0
Deduct 15 from 16 and we're left with 1.
Bring next digit (5) of the dividend behind the 1 and repeat the process: 15 / 5

Advancing to step 3:
The number 5 fits into 15 3 times, leaving a remainder of 0.
The next digit of our result is 3. 
Result so far: 33.0
Subtracting 15 from 15 leaves us with 0.
Grab the next digit (4) from the dividend, add it to 0, then carry on: 4 / 5

Let's proceed to step 4:
The number 5 fits into 4 0 times, leaving a remainder of 4.
Put 0 as the next digit of the answer. 
Result so far: 330.0
Deduct 0 from 4 and we're left with 4.
Bring next digit (3) of the dividend behind the 4 and repeat the process: 43 / 5

On to step 5:
When dividing 43 by 5, we get 8 with a remainder of 3.
The next digit of our result is 8. 
Result so far: 3308.0
If we take 40 away from 43, we end up with 3.
Fetch the next digit (1) from the dividend, attach it to 3 and continue: 31 / 5

Going ahead to step 6:
5 can be fit into 31 6 times, resulting in a remainder of 1.
Use 6 as the next digit of our solution. 
Result so far: 33086.0
Deduct 30 from 31 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.

On to step 7:
The number 5 fits into 10 2 times, leaving a remainder of 0.
Put 2 as the next digit of the answer. 
Result so far: 33086.2
The remainder is 0 after subtracting 10 from 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Step 8:
The number 5 fits into 0 0 times, leaving a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 33086.2
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.

On to step 9:
If we divide 0 by 5, we get 0 and a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 33086.2
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.

The final outcome is 33086.2, with a leftover of 0.0.