We divide 45771 by 5
Let's see how many times 5 fits into 45771.

On to step 1:
5 goes into 4 0 times with a remainder of 4.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 4, we end up with 4.
Fetch the next digit (5) from the dividend, attach it to 4 and continue: 45 / 5

Moving on to step 2:
If we divide 45 by 5, we get 9 and a remainder of 0.
Put 9 as the next digit of the answer. 
Result so far: 9.0
If we take 45 away from 45, we end up with 0.
Fetch the next digit (7) from the dividend, attach it to 0 and continue: 7 / 5

On to step 3:
When dividing 7 by 5, we get 1 with a remainder of 2.
Record the quotient 1 as the next digit in the result. 
Result so far: 91.0
Deduct 5 from 7 and we're left with 2.
Take the next digit (7) from the dividend and append it to 2, then repeat: 27 / 5

Let's proceed to step 4:
27 divided by 5 is 5 with a remainder of 2.
Use 5 as the next digit of our solution. 
Result so far: 915.0
Subtracting 25 from 27 leaves us with 2.
Bring next digit (1) of the dividend behind the 2 and repeat the process: 21 / 5

Advancing to step 5:
5 goes into 21 4 times with a remainder of 1.
Write down 4 as next digit of the result. 
Result so far: 9154.0
If we take 20 away from 21, we end up 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.

Going ahead to step 6:
5 goes into 10 2 times with a remainder of 0.
The next digit of our result is 2. 
Result so far: 9154.2
If we subtract 10 from 10, we 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.

Going ahead to step 7:
5 goes into 0 0 times with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 9154.2
The remainder is 0 after subtracting 0 from 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:
When dividing 0 by 5, we get 0 with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 9154.2
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.

The final result is 9154.2 with a remainder of 0.0.