We're dividing 506138 by 50 
Our goal is to divide 506138 by 50.

On to step 1:
50 can be fit into 5 0 times, resulting in a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Fetch the next digit (0) from the dividend, attach it to 5 and continue: 50 / 50

Moving on to step 2:
The number 50 fits into 50 1 times, leaving a remainder of 0.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
If we subtract 50 from 50, we get 0.
Fetch the next digit (6) from the dividend, attach it to 0 and continue: 6 / 50

Moving on to step 3:
If we divide 6 by 50, we get 0 and a remainder of 6.
Record the quotient 0 as the next digit in the result. 
Result so far: 10.0
The remainder is 6 after subtracting 0 from 6.
Fetch the next digit (1) from the dividend, attach it to 6 and continue: 61 / 50

Going ahead to step 4:
61 divided by 50 is 1 with a remainder of 11.
Put 1 as the next digit of the answer. 
Result so far: 101.0
If we subtract 50 from 61, we get 11.
Grab the next digit (3) from the dividend, add it to 11, then carry on: 113 / 50

Step 5:
If we divide 113 by 50, we get 2 and a remainder of 13.
Use 2 as the next digit of our solution. 
Result so far: 1012.0
If we take 100 away from 113, we end up with 13.
Grab the next digit (8) from the dividend, add it to 13, then carry on: 138 / 50

Moving on to step 6:
50 can be fit into 138 2 times, resulting in a remainder of 38.
Put 2 as the next digit of the answer. 
Result so far: 10122.0
The remainder is 38 after subtracting 100 from 138.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

Advancing to step 7:
The number 50 fits into 380 7 times, leaving a remainder of 30.
Write down 7 as next digit of the result. 
Result so far: 10122.7
Subtracting 350 from 380 leaves us with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Let's proceed to step 8:
50 can be fit into 300 6 times, resulting in a remainder of 0.
Write down 6 as next digit of the result. 
Result so far: 10122.76
Subtract 300 from 300 to get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Let's proceed to step 9:
The number 50 fits into 0 0 times, leaving a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 10122.76
If we take 0 away from 0, we end up with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Going ahead to step 10:
50 goes into 0 0 times with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 10122.76
Subtracting 0 from 0 leaves us with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

The quotient of the division is 10122.76, and the remainder is 0.0.