We're dividing 506766 by 14 
We want to figure out the number of times 506766 can be divided by 14.

On to step 1:
14 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 / 14

On to step 2:
The number 14 fits into 50 3 times, leaving a remainder of 8.
The number 3 becomes the next digit in our result. 
Result so far: 3.0
The remainder is 8 after subtracting 42 from 50.
Include the next digit (6) from the dividend after 8, then repeat: 86 / 14

Advancing to step 3:
The number 14 fits into 86 6 times, leaving a remainder of 2.
The number 6 becomes the next digit in our result. 
Result so far: 36.0
If we take 84 away from 86, we end up with 2.
Take the next digit (7) from the dividend and append it to 2, then repeat: 27 / 14

Let's proceed to step 4:
The number 14 fits into 27 1 times, leaving a remainder of 13.
Write down 1 as next digit of the result. 
Result so far: 361.0
Subtract 14 from 27 to get 13.
Grab the next digit (6) from the dividend, add it to 13, then carry on: 136 / 14

Moving on to step 5:
14 can be fit into 136 9 times, resulting in a remainder of 10.
Use 9 as the next digit of our solution. 
Result so far: 3619.0
Subtracting 126 from 136 leaves us with 10.
Fetch the next digit (6) from the dividend, attach it to 10 and continue: 106 / 14

Let's proceed to step 6:
The number 14 fits into 106 7 times, leaving a remainder of 8.
Put 7 as the next digit of the answer. 
Result so far: 36197.0
The remainder is 8 after subtracting 98 from 106.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Step 7:
The number 14 fits into 80 5 times, leaving a remainder of 10.
The number 5 becomes the next digit in our result. 
Result so far: 36197.5
The remainder is 10 after subtracting 70 from 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Going ahead to step 8:
If we divide 100 by 14, we get 7 and a remainder of 2.
Write down 7 as next digit of the result. 
Result so far: 36197.57
The remainder is 2 after subtracting 98 from 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Going ahead to step 9:
14 goes into 20 1 times with a remainder of 6.
Write down 1 as next digit of the result. 
Result so far: 36197.571
If we subtract 14 from 20, 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.

Moving on to step 10:
The number 14 fits into 60 4 times, leaving a remainder of 4.
The number 4 becomes the next digit in our result. 
Result so far: 36197.5714
If we take 56 away from 60, we end up with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Let's proceed to step 11:
The number 14 fits into 40 2 times, leaving a remainder of 12.
Use 2 as the next digit of our solution. 
Result so far: 36197.57142
If we subtract 28 from 40, we get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Advancing to step 12:
120 divided by 14 is 8 with a remainder of 8.
Record the quotient 8 as the next digit in the result. 
Result so far: 36197.571428
If we take 112 away from 120, we end up with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Moving on to step 13:
14 can be fit into 80 5 times, resulting in a remainder of 10.
Write down 5 as next digit of the result. 
Result so far: 36197.5714285
Deduct 70 from 80 and we're left with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Going ahead to step 14:
100 divided by 14 is 7 with a remainder of 2.
Put 7 as the next digit of the answer. 
Result so far: 36197.57142857
If we take 98 away from 100, we end up with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

The quotient of the division is 36197.57142857, and the remainder is 2e-09.