We look at the division of 4166835 by 797 
Our goal is to divide 4166835 by 797.

Moving on to step 1:
When dividing 4 by 797, we get 0 with a remainder of 4.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 4, we get 4.
Bring next digit (1) of the dividend behind the 4 and repeat the process: 41 / 797

Going ahead to step 2:
The number 797 fits into 41 0 times, leaving a remainder of 41.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 41 leaves us with 41.
Take the next digit (6) from the dividend and append it to 41, then repeat: 416 / 797

Let's proceed to step 3:
When dividing 416 by 797, we get 0 with a remainder of 416.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 416, we end up with 416.
Grab the next digit (6) from the dividend, add it to 416, then carry on: 4166 / 797

Moving on to step 4:
When dividing 4166 by 797, we get 5 with a remainder of 181.
Write down 5 as next digit of the result. 
Result so far: 5.0
If we subtract 3985 from 4166, we get 181.
Bring next digit (8) of the dividend behind the 181 and repeat the process: 1818 / 797

Step 5:
The number 797 fits into 1818 2 times, leaving a remainder of 224.
Put 2 as the next digit of the answer. 
Result so far: 52.0
Subtracting 1594 from 1818 leaves us with 224.
Bring next digit (3) of the dividend behind the 224 and repeat the process: 2243 / 797

Advancing to step 6:
2243 divided by 797 is 2 with a remainder of 649.
The number 2 becomes the next digit in our result. 
Result so far: 522.0
The remainder is 649 after subtracting 1594 from 2243.
Take the next digit (5) from the dividend and append it to 649, then repeat: 6495 / 797

Moving on to step 7:
When dividing 6495 by 797, we get 8 with a remainder of 119.
The number 8 becomes the next digit in our result. 
Result so far: 5228.0
If we take 6376 away from 6495, we end up with 119.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1190, and continue the process.

On to step 8:
1190 divided by 797 is 1 with a remainder of 393.
The number 1 becomes the next digit in our result. 
Result so far: 5228.1
Subtract 797 from 1190 to get 393.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3930, and continue the process.

Moving on to step 9:
If we divide 3930 by 797, we get 4 and a remainder of 742.
Put 4 as the next digit of the answer. 
Result so far: 5228.14
If we subtract 3188 from 3930, we get 742.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7420, and continue the process.

Let's proceed to step 10:
797 can be fit into 7420 9 times, resulting in a remainder of 247.
Record the quotient 9 as the next digit in the result. 
Result so far: 5228.149
Deduct 7173 from 7420 and we're left with 247.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2470, and continue the process.

Advancing to step 11:
If we divide 2470 by 797, we get 3 and a remainder of 79.
The next digit of our result is 3. 
Result so far: 5228.1493
If we subtract 2391 from 2470, we get 79.
Since there are no more digits in the dividend, we add a zero to the remainder making it 790, and continue the process.

Going ahead to step 12:
The number 797 fits into 790 0 times, leaving a remainder of 790.
The number 0 becomes the next digit in our result. 
Result so far: 5228.1493
Deduct 0 from 790 and we're left with 790.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7900, and continue the process.

Step 13:
When dividing 7900 by 797, we get 9 with a remainder of 727.
The number 9 becomes the next digit in our result. 
Result so far: 5228.149309
Subtracting 7173 from 7900 leaves us with 727.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7270, and continue the process.

Step 14:
If we divide 7270 by 797, we get 9 and a remainder of 97.
Write down 9 as next digit of the result. 
Result so far: 5228.1493099
The remainder is 97 after subtracting 7173 from 7270.
Since there are no more digits in the dividend, we add a zero to the remainder making it 970, and continue the process.

Our division results in 5228.1493099 with a remaining 9.7e-07.