We look at the division of 505166 by 91 
We want to divide 505166 by 91.

Going ahead to step 1:
5 divided by 91 is 0 with a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Append the next digit (0) from the dividend to 5 and continue with: 50 / 91

Moving on to step 2:
If we divide 50 by 91, we get 0 and a remainder of 50.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 50 to get 50.
Bring next digit (5) of the dividend behind the 50 and repeat the process: 505 / 91

Advancing to step 3:
91 can be fit into 505 5 times, resulting in a remainder of 50.
Write down 5 as next digit of the result. 
Result so far: 5.0
Subtracting 455 from 505 leaves us with 50.
Include the next digit (1) from the dividend after 50, then repeat: 501 / 91

Let's proceed to step 4:
91 can be fit into 501 5 times, resulting in a remainder of 46.
Use 5 as the next digit of our solution. 
Result so far: 55.0
Subtract 455 from 501 to get 46.
Bring next digit (6) of the dividend behind the 46 and repeat the process: 466 / 91

Moving on to step 5:
91 goes into 466 5 times with a remainder of 11.
The next digit of our result is 5. 
Result so far: 555.0
Deduct 455 from 466 and we're left with 11.
Include the next digit (6) from the dividend after 11, then repeat: 116 / 91

Step 6:
When dividing 116 by 91, we get 1 with a remainder of 25.
The next digit of our result is 1. 
Result so far: 5551.0
If we subtract 91 from 116, we get 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Let's proceed to step 7:
91 can be fit into 250 2 times, resulting in a remainder of 68.
Use 2 as the next digit of our solution. 
Result so far: 5551.2
If we take 182 away from 250, we end up with 68.
Since there are no more digits in the dividend, we add a zero to the remainder making it 680, and continue the process.

Let's proceed to step 8:
91 goes into 680 7 times with a remainder of 43.
Use 7 as the next digit of our solution. 
Result so far: 5551.27
If we take 637 away from 680, we end up with 43.
Since there are no more digits in the dividend, we add a zero to the remainder making it 430, and continue the process.

Going ahead to step 9:
If we divide 430 by 91, we get 4 and a remainder of 66.
Use 4 as the next digit of our solution. 
Result so far: 5551.274
Subtracting 364 from 430 leaves us with 66.
Since there are no more digits in the dividend, we add a zero to the remainder making it 660, and continue the process.

Advancing to step 10:
The number 91 fits into 660 7 times, leaving a remainder of 23.
Record the quotient 7 as the next digit in the result. 
Result so far: 5551.2747
Subtracting 637 from 660 leaves us with 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Advancing to step 11:
91 can be fit into 230 2 times, resulting in a remainder of 48.
Write down 2 as next digit of the result. 
Result so far: 5551.27472
Subtracting 182 from 230 leaves us with 48.
Since there are no more digits in the dividend, we add a zero to the remainder making it 480, and continue the process.

Advancing to step 12:
91 can be fit into 480 5 times, resulting in a remainder of 25.
The number 5 becomes the next digit in our result. 
Result so far: 5551.274725
Subtracting 455 from 480 leaves us with 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Advancing to step 13:
91 can be fit into 250 2 times, resulting in a remainder of 68.
Use 2 as the next digit of our solution. 
Result so far: 5551.2747252
The remainder is 68 after subtracting 182 from 250.
Since there are no more digits in the dividend, we add a zero to the remainder making it 680, and continue the process.

Advancing to step 14:
91 goes into 680 7 times with a remainder of 43.
The next digit of our result is 7. 
Result so far: 5551.27472527
If we take 637 away from 680, we end up with 43.
Since there are no more digits in the dividend, we add a zero to the remainder making it 430, and continue the process.

After the division, we end up with 5551.27472527 and a remainder of 4.3e-08.