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

Step 1:
5 divided by 117 is 0 with a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Bring next digit (7) of the dividend behind the 5 and repeat the process: 57 / 117

Let's proceed to step 2:
When dividing 57 by 117, we get 0 with a remainder of 57.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 57, we get 57.
Include the next digit (9) from the dividend after 57, then repeat: 579 / 117

On to step 3:
117 goes into 579 4 times with a remainder of 111.
Use 4 as the next digit of our solution. 
Result so far: 4.0
Subtract 468 from 579 to get 111.
Fetch the next digit (7) from the dividend, attach it to 111 and continue: 1117 / 117

Step 4:
The number 117 fits into 1117 9 times, leaving a remainder of 64.
Record the quotient 9 as the next digit in the result. 
Result so far: 49.0
Subtracting 1053 from 1117 leaves us with 64.
Fetch the next digit (8) from the dividend, attach it to 64 and continue: 648 / 117

Step 5:
The number 117 fits into 648 5 times, leaving a remainder of 63.
Use 5 as the next digit of our solution. 
Result so far: 495.0
The remainder is 63 after subtracting 585 from 648.
Grab the next digit (8) from the dividend, add it to 63, then carry on: 638 / 117

Step 6:
If we divide 638 by 117, we get 5 and a remainder of 53.
Write down 5 as next digit of the result. 
Result so far: 4955.0
Subtracting 585 from 638 leaves us with 53.
Bring next digit (5) of the dividend behind the 53 and repeat the process: 535 / 117

On to step 7:
If we divide 535 by 117, we get 4 and a remainder of 67.
The number 4 becomes the next digit in our result. 
Result so far: 49554.0
The remainder is 67 after subtracting 468 from 535.
Since there are no more digits in the dividend, we add a zero to the remainder making it 670, and continue the process.

On to step 8:
When dividing 670 by 117, we get 5 with a remainder of 85.
Record the quotient 5 as the next digit in the result. 
Result so far: 49554.5
Subtract 585 from 670 to get 85.
Since there are no more digits in the dividend, we add a zero to the remainder making it 850, and continue the process.

On to step 9:
117 goes into 850 7 times with a remainder of 31.
The next digit of our result is 7. 
Result so far: 49554.57
If we subtract 819 from 850, we get 31.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

Step 10:
310 divided by 117 is 2 with a remainder of 76.
Use 2 as the next digit of our solution. 
Result so far: 49554.572
Subtracting 234 from 310 leaves us with 76.
Since there are no more digits in the dividend, we add a zero to the remainder making it 760, and continue the process.

On to step 11:
If we divide 760 by 117, we get 6 and a remainder of 58.
Record the quotient 6 as the next digit in the result. 
Result so far: 49554.5726
The remainder is 58 after subtracting 702 from 760.
Since there are no more digits in the dividend, we add a zero to the remainder making it 580, and continue the process.

Advancing to step 12:
117 can be fit into 580 4 times, resulting in a remainder of 112.
Record the quotient 4 as the next digit in the result. 
Result so far: 49554.57264
Subtract 468 from 580 to get 112.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1120, and continue the process.

Moving on to step 13:
When dividing 1120 by 117, we get 9 with a remainder of 67.
Put 9 as the next digit of the answer. 
Result so far: 49554.572649
Subtract 1053 from 1120 to get 67.
Since there are no more digits in the dividend, we add a zero to the remainder making it 670, and continue the process.

Going ahead to step 14:
670 divided by 117 is 5 with a remainder of 85.
The number 5 becomes the next digit in our result. 
Result so far: 49554.5726495
If we take 585 away from 670, we end up with 85.
Since there are no more digits in the dividend, we add a zero to the remainder making it 850, and continue the process.

On to step 15:
117 goes into 850 7 times with a remainder of 31.
The number 7 becomes the next digit in our result. 
Result so far: 49554.57264957
The remainder is 31 after subtracting 819 from 850.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

The final result is 49554.57264957 with a remainder of 3.1e-08.