51390738 divided by 506 
We're looking to find how many times 506 goes into 51390738.

Moving on to step 1:
506 goes into 5 0 times with a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Append the next digit (1) from the dividend to 5 and continue with: 51 / 506

On to step 2:
51 divided by 506 is 0 with a remainder of 51.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 51 and we're left with 51.
Fetch the next digit (3) from the dividend, attach it to 51 and continue: 513 / 506

Moving on to step 3:
When dividing 513 by 506, we get 1 with a remainder of 7.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Deduct 506 from 513 and we're left with 7.
Fetch the next digit (9) from the dividend, attach it to 7 and continue: 79 / 506

Let's proceed to step 4:
79 divided by 506 is 0 with a remainder of 79.
The next digit of our result is 0. 
Result so far: 10.0
If we subtract 0 from 79, we get 79.
Grab the next digit (0) from the dividend, add it to 79, then carry on: 790 / 506

Let's proceed to step 5:
The number 506 fits into 790 1 times, leaving a remainder of 284.
Put 1 as the next digit of the answer. 
Result so far: 101.0
Deduct 506 from 790 and we're left with 284.
Append the next digit (7) from the dividend to 284 and continue with: 2847 / 506

Moving on to step 6:
2847 divided by 506 is 5 with a remainder of 317.
Record the quotient 5 as the next digit in the result. 
Result so far: 1015.0
If we take 2530 away from 2847, we end up with 317.
Take the next digit (3) from the dividend and append it to 317, then repeat: 3173 / 506

Going ahead to step 7:
If we divide 3173 by 506, we get 6 and a remainder of 137.
The number 6 becomes the next digit in our result. 
Result so far: 10156.0
Deduct 3036 from 3173 and we're left with 137.
Append the next digit (8) from the dividend to 137 and continue with: 1378 / 506

Moving on to step 8:
1378 divided by 506 is 2 with a remainder of 366.
Put 2 as the next digit of the answer. 
Result so far: 101562.0
Deduct 1012 from 1378 and we're left with 366.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3660, and continue the process.

Advancing to step 9:
3660 divided by 506 is 7 with a remainder of 118.
Record the quotient 7 as the next digit in the result. 
Result so far: 101562.7
Deduct 3542 from 3660 and we're left with 118.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1180, and continue the process.

On to step 10:
If we divide 1180 by 506, we get 2 and a remainder of 168.
Use 2 as the next digit of our solution. 
Result so far: 101562.72
Deduct 1012 from 1180 and we're left with 168.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1680, and continue the process.

Advancing to step 11:
When dividing 1680 by 506, we get 3 with a remainder of 162.
Put 3 as the next digit of the answer. 
Result so far: 101562.723
Subtracting 1518 from 1680 leaves us with 162.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1620, and continue the process.

On to step 12:
506 can be fit into 1620 3 times, resulting in a remainder of 102.
Use 3 as the next digit of our solution. 
Result so far: 101562.7233
Subtract 1518 from 1620 to get 102.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1020, and continue the process.

Our division results in 101562.7233 with a remaining 0.00102.