We look at the division of 8436866 by 506 
We want to divide 8436866 by 506.

Advancing to step 1:
506 can be fit into 8 0 times, resulting in a remainder of 8.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 8 after subtracting 0 from 8.
Include the next digit (4) from the dividend after 8, then repeat: 84 / 506

On to step 2:
84 divided by 506 is 0 with a remainder of 84.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 84 after subtracting 0 from 84.
Grab the next digit (3) from the dividend, add it to 84, then carry on: 843 / 506

On to step 3:
843 divided by 506 is 1 with a remainder of 337.
Use 1 as the next digit of our solution. 
Result so far: 1.0
If we take 506 away from 843, we end up with 337.
Fetch the next digit (6) from the dividend, attach it to 337 and continue: 3376 / 506

Let's proceed to step 4:
When dividing 3376 by 506, we get 6 with a remainder of 340.
Use 6 as the next digit of our solution. 
Result so far: 16.0
If we take 3036 away from 3376, we end up with 340.
Bring next digit (8) of the dividend behind the 340 and repeat the process: 3408 / 506

Let's proceed to step 5:
The number 506 fits into 3408 6 times, leaving a remainder of 372.
The next digit of our result is 6. 
Result so far: 166.0
Subtract 3036 from 3408 to get 372.
Append the next digit (6) from the dividend to 372 and continue with: 3726 / 506

On to step 6:
506 goes into 3726 7 times with a remainder of 184.
Write down 7 as next digit of the result. 
Result so far: 1667.0
Subtracting 3542 from 3726 leaves us with 184.
Fetch the next digit (6) from the dividend, attach it to 184 and continue: 1846 / 506

Let's proceed to step 7:
The number 506 fits into 1846 3 times, leaving a remainder of 328.
The number 3 becomes the next digit in our result. 
Result so far: 16673.0
Subtracting 1518 from 1846 leaves us with 328.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3280, and continue the process.

Advancing to step 8:
506 goes into 3280 6 times with a remainder of 244.
Use 6 as the next digit of our solution. 
Result so far: 16673.6
Deduct 3036 from 3280 and we're left with 244.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2440, and continue the process.

Step 9:
506 goes into 2440 4 times with a remainder of 416.
The number 4 becomes the next digit in our result. 
Result so far: 16673.64
Subtract 2024 from 2440 to get 416.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4160, and continue the process.

Going ahead to step 10:
The number 506 fits into 4160 8 times, leaving a remainder of 112.
The number 8 becomes the next digit in our result. 
Result so far: 16673.648
Deduct 4048 from 4160 and we're left with 112.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1120, and continue the process.

Advancing to step 11:
The number 506 fits into 1120 2 times, leaving a remainder of 108.
The next digit of our result is 2. 
Result so far: 16673.6482
Deduct 1012 from 1120 and we're left with 108.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1080, and continue the process.

Let's proceed to step 12:
1080 divided by 506 is 2 with a remainder of 68.
Write down 2 as next digit of the result. 
Result so far: 16673.64822
Subtract 1012 from 1080 to get 68.
Since there are no more digits in the dividend, we add a zero to the remainder making it 680, and continue the process.

After the division, we end up with 16673.64822 and a remainder of 6.8e-05.