We're dividing 5121316 by 227 
Our goal is to divide 5121316 by 227.

On to step 1:
When dividing 5 by 227, we get 0 with a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Fetch the next digit (1) from the dividend, attach it to 5 and continue: 51 / 227

Going ahead to step 2:
The number 227 fits into 51 0 times, leaving a remainder of 51.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 51, we get 51.
Include the next digit (2) from the dividend after 51, then repeat: 512 / 227

Step 3:
227 can be fit into 512 2 times, resulting in a remainder of 58.
Put 2 as the next digit of the answer. 
Result so far: 2.0
If we take 454 away from 512, we end up with 58.
Fetch the next digit (1) from the dividend, attach it to 58 and continue: 581 / 227

On to step 4:
The number 227 fits into 581 2 times, leaving a remainder of 127.
Write down 2 as next digit of the result. 
Result so far: 22.0
The remainder is 127 after subtracting 454 from 581.
Bring next digit (3) of the dividend behind the 127 and repeat the process: 1273 / 227

Step 5:
If we divide 1273 by 227, we get 5 and a remainder of 138.
The next digit of our result is 5. 
Result so far: 225.0
Subtracting 1135 from 1273 leaves us with 138.
Take the next digit (1) from the dividend and append it to 138, then repeat: 1381 / 227

Moving on to step 6:
The number 227 fits into 1381 6 times, leaving a remainder of 19.
Use 6 as the next digit of our solution. 
Result so far: 2256.0
Deduct 1362 from 1381 and we're left with 19.
Append the next digit (6) from the dividend to 19 and continue with: 196 / 227

Moving on to step 7:
The number 227 fits into 196 0 times, leaving a remainder of 196.
Write down 0 as next digit of the result. 
Result so far: 22560.0
If we subtract 0 from 196, we get 196.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1960, and continue the process.

Going ahead to step 8:
1960 divided by 227 is 8 with a remainder of 144.
Use 8 as the next digit of our solution. 
Result so far: 22560.8
Subtract 1816 from 1960 to get 144.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1440, and continue the process.

Let's proceed to step 9:
If we divide 1440 by 227, we get 6 and a remainder of 78.
The number 6 becomes the next digit in our result. 
Result so far: 22560.86
Deduct 1362 from 1440 and we're left with 78.
Since there are no more digits in the dividend, we add a zero to the remainder making it 780, and continue the process.

Moving on to step 10:
The number 227 fits into 780 3 times, leaving a remainder of 99.
Use 3 as the next digit of our solution. 
Result so far: 22560.863
Deduct 681 from 780 and we're left with 99.
Since there are no more digits in the dividend, we add a zero to the remainder making it 990, and continue the process.

Let's proceed to step 11:
990 divided by 227 is 4 with a remainder of 82.
Record the quotient 4 as the next digit in the result. 
Result so far: 22560.8634
Subtract 908 from 990 to get 82.
Since there are no more digits in the dividend, we add a zero to the remainder making it 820, and continue the process.

Advancing to step 12:
When dividing 820 by 227, we get 3 with a remainder of 139.
Use 3 as the next digit of our solution. 
Result so far: 22560.86343
The remainder is 139 after subtracting 681 from 820.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1390, and continue the process.

Step 13:
The number 227 fits into 1390 6 times, leaving a remainder of 28.
Use 6 as the next digit of our solution. 
Result so far: 22560.863436
Deduct 1362 from 1390 and we're left with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Going ahead to step 14:
If we divide 280 by 227, we get 1 and a remainder of 53.
The next digit of our result is 1. 
Result so far: 22560.8634361
The remainder is 53 after subtracting 227 from 280.
Since there are no more digits in the dividend, we add a zero to the remainder making it 530, and continue the process.

On to step 15:
227 can be fit into 530 2 times, resulting in a remainder of 76.
The next digit of our result is 2. 
Result so far: 22560.86343612
The remainder is 76 after subtracting 454 from 530.
Since there are no more digits in the dividend, we add a zero to the remainder making it 760, and continue the process.

The quotient of the division is 22560.86343612, and the remainder is 7.6e-08.