51289818 divided by 402 
We want to figure out the number of times 51289818 can be divided by 402.

Going ahead to step 1:
402 can be fit into 5 0 times, resulting in a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Take the next digit (1) from the dividend and append it to 5, then repeat: 51 / 402

Moving on to step 2:
If we divide 51 by 402, we get 0 and a remainder of 51.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 51 after subtracting 0 from 51.
Include the next digit (2) from the dividend after 51, then repeat: 512 / 402

Moving on to step 3:
The number 402 fits into 512 1 times, leaving a remainder of 110.
Write down 1 as next digit of the result. 
Result so far: 1.0
If we subtract 402 from 512, we get 110.
Grab the next digit (8) from the dividend, add it to 110, then carry on: 1108 / 402

Going ahead to step 4:
402 goes into 1108 2 times with a remainder of 304.
Use 2 as the next digit of our solution. 
Result so far: 12.0
Subtracting 804 from 1108 leaves us with 304.
Append the next digit (9) from the dividend to 304 and continue with: 3049 / 402

Let's proceed to step 5:
When dividing 3049 by 402, we get 7 with a remainder of 235.
The number 7 becomes the next digit in our result. 
Result so far: 127.0
If we subtract 2814 from 3049, we get 235.
Append the next digit (8) from the dividend to 235 and continue with: 2358 / 402

Let's proceed to step 6:
When dividing 2358 by 402, we get 5 with a remainder of 348.
Put 5 as the next digit of the answer. 
Result so far: 1275.0
Subtract 2010 from 2358 to get 348.
Take the next digit (1) from the dividend and append it to 348, then repeat: 3481 / 402

Step 7:
402 can be fit into 3481 8 times, resulting in a remainder of 265.
Use 8 as the next digit of our solution. 
Result so far: 12758.0
Subtract 3216 from 3481 to get 265.
Include the next digit (8) from the dividend after 265, then repeat: 2658 / 402

On to step 8:
If we divide 2658 by 402, we get 6 and a remainder of 246.
The next digit of our result is 6. 
Result so far: 127586.0
If we subtract 2412 from 2658, we get 246.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2460, and continue the process.

Let's proceed to step 9:
2460 divided by 402 is 6 with a remainder of 48.
Put 6 as the next digit of the answer. 
Result so far: 127586.6
Subtracting 2412 from 2460 leaves us with 48.
Since there are no more digits in the dividend, we add a zero to the remainder making it 480, and continue the process.

Going ahead to step 10:
The number 402 fits into 480 1 times, leaving a remainder of 78.
Use 1 as the next digit of our solution. 
Result so far: 127586.61
Deduct 402 from 480 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 11:
If we divide 780 by 402, we get 1 and a remainder of 378.
Write down 1 as next digit of the result. 
Result so far: 127586.611
If we subtract 402 from 780, we get 378.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3780, and continue the process.

The final outcome is 127586.611, with a leftover of 0.0378.