We're dividing 45038748 by 871 
Our goal is to divide 45038748 by 871.

Moving on to step 1:
4 divided by 871 is 0 with a remainder of 4.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 4, we end up with 4.
Grab the next digit (5) from the dividend, add it to 4, then carry on: 45 / 871

On to step 2:
45 divided by 871 is 0 with a remainder of 45.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 45 and we're left with 45.
Fetch the next digit (0) from the dividend, attach it to 45 and continue: 450 / 871

Advancing to step 3:
450 divided by 871 is 0 with a remainder of 450.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 450 after subtracting 0 from 450.
Fetch the next digit (3) from the dividend, attach it to 450 and continue: 4503 / 871

Step 4:
871 goes into 4503 5 times with a remainder of 148.
Put 5 as the next digit of the answer. 
Result so far: 5.0
The remainder is 148 after subtracting 4355 from 4503.
Grab the next digit (8) from the dividend, add it to 148, then carry on: 1488 / 871

Let's proceed to step 5:
When dividing 1488 by 871, we get 1 with a remainder of 617.
The next digit of our result is 1. 
Result so far: 51.0
Subtract 871 from 1488 to get 617.
Bring next digit (7) of the dividend behind the 617 and repeat the process: 6177 / 871

On to step 6:
The number 871 fits into 6177 7 times, leaving a remainder of 80.
The number 7 becomes the next digit in our result. 
Result so far: 517.0
Deduct 6097 from 6177 and we're left with 80.
Include the next digit (4) from the dividend after 80, then repeat: 804 / 871

Going ahead to step 7:
The number 871 fits into 804 0 times, leaving a remainder of 804.
Write down 0 as next digit of the result. 
Result so far: 5170.0
If we take 0 away from 804, we end up with 804.
Append the next digit (8) from the dividend to 804 and continue with: 8048 / 871

Moving on to step 8:
When dividing 8048 by 871, we get 9 with a remainder of 209.
The number 9 becomes the next digit in our result. 
Result so far: 51709.0
If we take 7839 away from 8048, we end up with 209.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2090, and continue the process.

Let's proceed to step 9:
When dividing 2090 by 871, we get 2 with a remainder of 348.
The next digit of our result is 2. 
Result so far: 51709.2
Deduct 1742 from 2090 and we're left with 348.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3480, and continue the process.

Advancing to step 10:
871 can be fit into 3480 3 times, resulting in a remainder of 867.
Use 3 as the next digit of our solution. 
Result so far: 51709.23
Subtracting 2613 from 3480 leaves us with 867.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8670, and continue the process.

On to step 11:
When dividing 8670 by 871, we get 9 with a remainder of 831.
Put 9 as the next digit of the answer. 
Result so far: 51709.239
If we subtract 7839 from 8670, we get 831.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8310, and continue the process.

Step 12:
871 can be fit into 8310 9 times, resulting in a remainder of 471.
Use 9 as the next digit of our solution. 
Result so far: 51709.2399
Subtract 7839 from 8310 to get 471.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4710, and continue the process.

The quotient of the division is 51709.2399, and the remainder is 0.00471.