We look at the division of 10406124 by 506 
We're looking to find how many times 506 goes into 10406124.

Step 1:
When dividing 1 by 506, we get 0 with a remainder of 1.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 1 to get 1.
Include the next digit (0) from the dividend after 1, then repeat: 10 / 506

Let's proceed to step 2:
10 divided by 506 is 0 with a remainder of 10.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 10 after subtracting 0 from 10.
Take the next digit (4) from the dividend and append it to 10, then repeat: 104 / 506

Going ahead to step 3:
When dividing 104 by 506, we get 0 with a remainder of 104.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 104, we end up with 104.
Bring next digit (0) of the dividend behind the 104 and repeat the process: 1040 / 506

Advancing to step 4:
When dividing 1040 by 506, we get 2 with a remainder of 28.
The number 2 becomes the next digit in our result. 
Result so far: 2.0
Deduct 1012 from 1040 and we're left with 28.
Fetch the next digit (6) from the dividend, attach it to 28 and continue: 286 / 506

Moving on to step 5:
506 goes into 286 0 times with a remainder of 286.
The next digit of our result is 0. 
Result so far: 20.0
Subtracting 0 from 286 leaves us with 286.
Bring next digit (1) of the dividend behind the 286 and repeat the process: 2861 / 506

Let's proceed to step 6:
The number 506 fits into 2861 5 times, leaving a remainder of 331.
Write down 5 as next digit of the result. 
Result so far: 205.0
If we take 2530 away from 2861, we end up with 331.
Include the next digit (2) from the dividend after 331, then repeat: 3312 / 506

Moving on to step 7:
506 goes into 3312 6 times with a remainder of 276.
Put 6 as the next digit of the answer. 
Result so far: 2056.0
Deduct 3036 from 3312 and we're left with 276.
Append the next digit (4) from the dividend to 276 and continue with: 2764 / 506

Advancing to step 8:
506 goes into 2764 5 times with a remainder of 234.
Use 5 as the next digit of our solution. 
Result so far: 20565.0
Deduct 2530 from 2764 and we're left with 234.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2340, and continue the process.

Moving on to step 9:
If we divide 2340 by 506, we get 4 and a remainder of 316.
The next digit of our result is 4. 
Result so far: 20565.4
Subtracting 2024 from 2340 leaves us with 316.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3160, and continue the process.

Moving on to step 10:
506 can be fit into 3160 6 times, resulting in a remainder of 124.
The next digit of our result is 6. 
Result so far: 20565.46
The remainder is 124 after subtracting 3036 from 3160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1240, and continue the process.

On to step 11:
When dividing 1240 by 506, we get 2 with a remainder of 228.
Use 2 as the next digit of our solution. 
Result so far: 20565.462
The remainder is 228 after subtracting 1012 from 1240.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2280, and continue the process.

Let's proceed to step 12:
The number 506 fits into 2280 4 times, leaving a remainder of 256.
The number 4 becomes the next digit in our result. 
Result so far: 20565.4624
If we take 2024 away from 2280, we end up with 256.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2560, and continue the process.

Let's proceed to step 13:
506 can be fit into 2560 5 times, resulting in a remainder of 30.
The next digit of our result is 5. 
Result so far: 20565.46245
Subtracting 2530 from 2560 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.

Step 14:
If we divide 300 by 506, we get 0 and a remainder of 300.
The number 0 becomes the next digit in our result. 
Result so far: 20565.46245
Subtract 0 from 300 to get 300.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3000, and continue the process.

Going ahead to step 15:
When dividing 3000 by 506, we get 5 with a remainder of 470.
Put 5 as the next digit of the answer. 
Result so far: 20565.4624505
Subtracting 2530 from 3000 leaves us with 470.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4700, and continue the process.

Going ahead to step 16:
506 can be fit into 4700 9 times, resulting in a remainder of 146.
The next digit of our result is 9. 
Result so far: 20565.46245059
Subtract 4554 from 4700 to get 146.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1460, and continue the process.

The final result is 20565.46245059 with a remainder of 1.46e-07.