We're dividing 3171149 by 613 
We want to divide 3171149 by 613.

Let's proceed to step 1:
If we divide 3 by 613, we get 0 and a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Grab the next digit (1) from the dividend, add it to 3, then carry on: 31 / 613

Going ahead to step 2:
31 divided by 613 is 0 with a remainder of 31.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 31 after subtracting 0 from 31.
Fetch the next digit (7) from the dividend, attach it to 31 and continue: 317 / 613

On to step 3:
When dividing 317 by 613, we get 0 with a remainder of 317.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 317 and we're left with 317.
Bring next digit (1) of the dividend behind the 317 and repeat the process: 3171 / 613

Moving on to step 4:
The number 613 fits into 3171 5 times, leaving a remainder of 106.
Use 5 as the next digit of our solution. 
Result so far: 5.0
If we subtract 3065 from 3171, we get 106.
Fetch the next digit (1) from the dividend, attach it to 106 and continue: 1061 / 613

Going ahead to step 5:
1061 divided by 613 is 1 with a remainder of 448.
Write down 1 as next digit of the result. 
Result so far: 51.0
If we subtract 613 from 1061, we get 448.
Append the next digit (4) from the dividend to 448 and continue with: 4484 / 613

Advancing to step 6:
The number 613 fits into 4484 7 times, leaving a remainder of 193.
The number 7 becomes the next digit in our result. 
Result so far: 517.0
Subtract 4291 from 4484 to get 193.
Include the next digit (9) from the dividend after 193, then repeat: 1939 / 613

Let's proceed to step 7:
If we divide 1939 by 613, we get 3 and a remainder of 100.
Record the quotient 3 as the next digit in the result. 
Result so far: 5173.0
If we take 1839 away from 1939, we end up with 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1000, and continue the process.

Step 8:
1000 divided by 613 is 1 with a remainder of 387.
The next digit of our result is 1. 
Result so far: 5173.1
If we take 613 away from 1000, we end up with 387.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3870, and continue the process.

On to step 9:
3870 divided by 613 is 6 with a remainder of 192.
Use 6 as the next digit of our solution. 
Result so far: 5173.16
Deduct 3678 from 3870 and we're left with 192.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1920, and continue the process.

Step 10:
613 can be fit into 1920 3 times, resulting in a remainder of 81.
Write down 3 as next digit of the result. 
Result so far: 5173.163
If we take 1839 away from 1920, we end up with 81.
Since there are no more digits in the dividend, we add a zero to the remainder making it 810, and continue the process.

Moving on to step 11:
810 divided by 613 is 1 with a remainder of 197.
Record the quotient 1 as the next digit in the result. 
Result so far: 5173.1631
Subtract 613 from 810 to get 197.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1970, and continue the process.

Advancing to step 12:
613 goes into 1970 3 times with a remainder of 131.
Record the quotient 3 as the next digit in the result. 
Result so far: 5173.16313
If we take 1839 away from 1970, we end up with 131.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1310, and continue the process.

Moving on to step 13:
If we divide 1310 by 613, we get 2 and a remainder of 84.
Write down 2 as next digit of the result. 
Result so far: 5173.163132
Subtracting 1226 from 1310 leaves us with 84.
Since there are no more digits in the dividend, we add a zero to the remainder making it 840, and continue the process.

On to step 14:
613 goes into 840 1 times with a remainder of 227.
Put 1 as the next digit of the answer. 
Result so far: 5173.1631321
Deduct 613 from 840 and we're left with 227.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2270, and continue the process.

On to step 15:
613 can be fit into 2270 3 times, resulting in a remainder of 431.
Put 3 as the next digit of the answer. 
Result so far: 5173.16313213
If we take 1839 away from 2270, we end up with 431.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4310, and continue the process.

The final result is 5173.16313213 with a remainder of 4.31e-07.