We're dividing 511998 by 12 
Our goal is to divide 511998 by 12.

Advancing to step 1:
If we divide 5 by 12, we get 0 and a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Fetch the next digit (1) from the dividend, attach it to 5 and continue: 51 / 12

Step 2:
When dividing 51 by 12, we get 4 with a remainder of 3.
The next digit of our result is 4. 
Result so far: 4.0
If we take 48 away from 51, we end up with 3.
Append the next digit (1) from the dividend to 3 and continue with: 31 / 12

Advancing to step 3:
31 divided by 12 is 2 with a remainder of 7.
The number 2 becomes the next digit in our result. 
Result so far: 42.0
Subtracting 24 from 31 leaves us with 7.
Append the next digit (9) from the dividend to 7 and continue with: 79 / 12

Moving on to step 4:
When dividing 79 by 12, we get 6 with a remainder of 7.
Put 6 as the next digit of the answer. 
Result so far: 426.0
If we take 72 away from 79, we end up with 7.
Bring next digit (9) of the dividend behind the 7 and repeat the process: 79 / 12

Advancing to step 5:
12 goes into 79 6 times with a remainder of 7.
Use 6 as the next digit of our solution. 
Result so far: 4266.0
Deduct 72 from 79 and we're left with 7.
Grab the next digit (8) from the dividend, add it to 7, then carry on: 78 / 12

Advancing to step 6:
The number 12 fits into 78 6 times, leaving a remainder of 6.
Put 6 as the next digit of the answer. 
Result so far: 42666.0
If we subtract 72 from 78, we get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Advancing to step 7:
The number 12 fits into 60 5 times, leaving a remainder of 0.
The number 5 becomes the next digit in our result. 
Result so far: 42666.5
If we subtract 60 from 60, we 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.

Going ahead to step 8:
If we divide 0 by 12, we get 0 and a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 42666.5
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.

Let's proceed to step 9:
When dividing 0 by 12, we get 0 with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 42666.5
The remainder is 0 after subtracting 0 from 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 42666.5, and the remainder is 0.0.