We're dividing 51126328 by 317 
Let's see how many times 317 fits into 51126328.

Let's proceed to step 1:
When dividing 5 by 317, we get 0 with a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 5 and we're left with 5.
Bring next digit (1) of the dividend behind the 5 and repeat the process: 51 / 317

Going ahead to step 2:
51 divided by 317 is 0 with a remainder of 51.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 51, we get 51.
Take the next digit (1) from the dividend and append it to 51, then repeat: 511 / 317

Moving on to step 3:
511 divided by 317 is 1 with a remainder of 194.
The next digit of our result is 1. 
Result so far: 1.0
The remainder is 194 after subtracting 317 from 511.
Include the next digit (2) from the dividend after 194, then repeat: 1942 / 317

On to step 4:
317 can be fit into 1942 6 times, resulting in a remainder of 40.
Put 6 as the next digit of the answer. 
Result so far: 16.0
Deduct 1902 from 1942 and we're left with 40.
Fetch the next digit (6) from the dividend, attach it to 40 and continue: 406 / 317

Moving on to step 5:
If we divide 406 by 317, we get 1 and a remainder of 89.
The number 1 becomes the next digit in our result. 
Result so far: 161.0
The remainder is 89 after subtracting 317 from 406.
Fetch the next digit (3) from the dividend, attach it to 89 and continue: 893 / 317

On to step 6:
893 divided by 317 is 2 with a remainder of 259.
Use 2 as the next digit of our solution. 
Result so far: 1612.0
If we subtract 634 from 893, we get 259.
Grab the next digit (2) from the dividend, add it to 259, then carry on: 2592 / 317

Advancing to step 7:
When dividing 2592 by 317, we get 8 with a remainder of 56.
Write down 8 as next digit of the result. 
Result so far: 16128.0
The remainder is 56 after subtracting 2536 from 2592.
Include the next digit (8) from the dividend after 56, then repeat: 568 / 317

On to step 8:
When dividing 568 by 317, we get 1 with a remainder of 251.
The number 1 becomes the next digit in our result. 
Result so far: 161281.0
If we subtract 317 from 568, we get 251.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2510, and continue the process.

Moving on to step 9:
When dividing 2510 by 317, we get 7 with a remainder of 291.
Record the quotient 7 as the next digit in the result. 
Result so far: 161281.7
Subtracting 2219 from 2510 leaves us with 291.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2910, and continue the process.

Step 10:
317 can be fit into 2910 9 times, resulting in a remainder of 57.
Record the quotient 9 as the next digit in the result. 
Result so far: 161281.79
The remainder is 57 after subtracting 2853 from 2910.
Since there are no more digits in the dividend, we add a zero to the remainder making it 570, and continue the process.

Step 11:
317 can be fit into 570 1 times, resulting in a remainder of 253.
Put 1 as the next digit of the answer. 
Result so far: 161281.791
The remainder is 253 after subtracting 317 from 570.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2530, and continue the process.

Moving on to step 12:
317 can be fit into 2530 7 times, resulting in a remainder of 311.
The next digit of our result is 7. 
Result so far: 161281.7917
Subtracting 2219 from 2530 leaves us with 311.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3110, and continue the process.

Going ahead to step 13:
3110 divided by 317 is 9 with a remainder of 257.
Record the quotient 9 as the next digit in the result. 
Result so far: 161281.79179
The remainder is 257 after subtracting 2853 from 3110.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2570, and continue the process.

On to step 14:
If we divide 2570 by 317, we get 8 and a remainder of 34.
Use 8 as the next digit of our solution. 
Result so far: 161281.791798
Deduct 2536 from 2570 and we're left with 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Moving on to step 15:
The number 317 fits into 340 1 times, leaving a remainder of 23.
Use 1 as the next digit of our solution. 
Result so far: 161281.7917981
Subtract 317 from 340 to get 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Advancing to step 16:
317 goes into 230 0 times with a remainder of 230.
The next digit of our result is 0. 
Result so far: 161281.7917981
If we subtract 0 from 230, we get 230.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2300, and continue the process.

Our division results in 161281.7917981 with a remaining 2.3e-07.