We're dividing 51285095 by 402 
We want to divide 51285095 by 402.

Let's proceed to step 1:
If we divide 5 by 402, we get 0 and a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Take the next digit (1) from the dividend and append it to 5, then repeat: 51 / 402

Step 2:
402 can be fit into 51 0 times, resulting in a remainder of 51.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 51 after subtracting 0 from 51.
Bring next digit (2) of the dividend behind the 51 and repeat the process: 512 / 402

Moving on to step 3:
402 can be fit into 512 1 times, resulting in a remainder of 110.
Write down 1 as next digit of the result. 
Result so far: 1.0
If we take 402 away from 512, we end up with 110.
Grab the next digit (8) from the dividend, add it to 110, then carry on: 1108 / 402

Let's proceed to step 4:
1108 divided by 402 is 2 with a remainder of 304.
Record the quotient 2 as the next digit in the result. 
Result so far: 12.0
Subtract 804 from 1108 to get 304.
Include the next digit (5) from the dividend after 304, then repeat: 3045 / 402

Moving on to step 5:
3045 divided by 402 is 7 with a remainder of 231.
Write down 7 as next digit of the result. 
Result so far: 127.0
Deduct 2814 from 3045 and we're left with 231.
Grab the next digit (0) from the dividend, add it to 231, then carry on: 2310 / 402

Advancing to step 6:
402 can be fit into 2310 5 times, resulting in a remainder of 300.
Write down 5 as next digit of the result. 
Result so far: 1275.0
Subtract 2010 from 2310 to get 300.
Take the next digit (9) from the dividend and append it to 300, then repeat: 3009 / 402

Let's proceed to step 7:
The number 402 fits into 3009 7 times, leaving a remainder of 195.
The number 7 becomes the next digit in our result. 
Result so far: 12757.0
The remainder is 195 after subtracting 2814 from 3009.
Fetch the next digit (5) from the dividend, attach it to 195 and continue: 1955 / 402

Going ahead to step 8:
402 can be fit into 1955 4 times, resulting in a remainder of 347.
The number 4 becomes the next digit in our result. 
Result so far: 127574.0
Subtract 1608 from 1955 to get 347.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3470, and continue the process.

On to step 9:
If we divide 3470 by 402, we get 8 and a remainder of 254.
The next digit of our result is 8. 
Result so far: 127574.8
If we subtract 3216 from 3470, we get 254.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2540, and continue the process.

Step 10:
The number 402 fits into 2540 6 times, leaving a remainder of 128.
Use 6 as the next digit of our solution. 
Result so far: 127574.86
If we subtract 2412 from 2540, we get 128.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1280, and continue the process.

On to step 11:
If we divide 1280 by 402, we get 3 and a remainder of 74.
Use 3 as the next digit of our solution. 
Result so far: 127574.863
Deduct 1206 from 1280 and we're left with 74.
Since there are no more digits in the dividend, we add a zero to the remainder making it 740, and continue the process.

On to step 12:
When dividing 740 by 402, we get 1 with a remainder of 338.
The number 1 becomes the next digit in our result. 
Result so far: 127574.8631
The remainder is 338 after subtracting 402 from 740.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3380, and continue the process.

Step 13:
The number 402 fits into 3380 8 times, leaving a remainder of 164.
The next digit of our result is 8. 
Result so far: 127574.86318
The remainder is 164 after subtracting 3216 from 3380.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1640, and continue the process.

Let's proceed to step 14:
When dividing 1640 by 402, we get 4 with a remainder of 32.
The number 4 becomes the next digit in our result. 
Result so far: 127574.863184
Deduct 1608 from 1640 and we're left with 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Going ahead to step 15:
320 divided by 402 is 0 with a remainder of 320.
Put 0 as the next digit of the answer. 
Result so far: 127574.863184
Subtract 0 from 320 to get 320.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3200, and continue the process.

On to step 16:
3200 divided by 402 is 7 with a remainder of 386.
Write down 7 as next digit of the result. 
Result so far: 127574.86318407
Subtract 2814 from 3200 to get 386.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3860, and continue the process.

After the division, we end up with 127574.86318407 and a remainder of 3.86e-07.