Let's divide 3677583 by 997
We're looking to find how many times 997 goes into 3677583.

Let's proceed to step 1:
If we divide 3 by 997, we get 0 and a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Append the next digit (6) from the dividend to 3 and continue with: 36 / 997

Let's proceed to step 2:
The number 997 fits into 36 0 times, leaving a remainder of 36.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 36 to get 36.
Bring next digit (7) of the dividend behind the 36 and repeat the process: 367 / 997

Step 3:
When dividing 367 by 997, we get 0 with a remainder of 367.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 367, we get 367.
Fetch the next digit (7) from the dividend, attach it to 367 and continue: 3677 / 997

Going ahead to step 4:
The number 997 fits into 3677 3 times, leaving a remainder of 686.
Write down 3 as next digit of the result. 
Result so far: 3.0
Subtracting 2991 from 3677 leaves us with 686.
Take the next digit (5) from the dividend and append it to 686, then repeat: 6865 / 997

Moving on to step 5:
997 goes into 6865 6 times with a remainder of 883.
Record the quotient 6 as the next digit in the result. 
Result so far: 36.0
Deduct 5982 from 6865 and we're left with 883.
Bring next digit (8) of the dividend behind the 883 and repeat the process: 8838 / 997

Step 6:
8838 divided by 997 is 8 with a remainder of 862.
The next digit of our result is 8. 
Result so far: 368.0
Deduct 7976 from 8838 and we're left with 862.
Include the next digit (3) from the dividend after 862, then repeat: 8623 / 997

Going ahead to step 7:
The number 997 fits into 8623 8 times, leaving a remainder of 647.
Write down 8 as next digit of the result. 
Result so far: 3688.0
Subtract 7976 from 8623 to get 647.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6470, and continue the process.

On to step 8:
The number 997 fits into 6470 6 times, leaving a remainder of 488.
Put 6 as the next digit of the answer. 
Result so far: 3688.6
If we subtract 5982 from 6470, we get 488.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4880, and continue the process.

Going ahead to step 9:
4880 divided by 997 is 4 with a remainder of 892.
Put 4 as the next digit of the answer. 
Result so far: 3688.64
Subtract 3988 from 4880 to get 892.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8920, and continue the process.

Moving on to step 10:
The number 997 fits into 8920 8 times, leaving a remainder of 944.
Use 8 as the next digit of our solution. 
Result so far: 3688.648
Subtracting 7976 from 8920 leaves us with 944.
Since there are no more digits in the dividend, we add a zero to the remainder making it 9440, and continue the process.

On to step 11:
997 can be fit into 9440 9 times, resulting in a remainder of 467.
Record the quotient 9 as the next digit in the result. 
Result so far: 3688.6489
Deduct 8973 from 9440 and we're left with 467.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4670, and continue the process.

Going ahead to step 12:
997 can be fit into 4670 4 times, resulting in a remainder of 682.
The number 4 becomes the next digit in our result. 
Result so far: 3688.64894
The remainder is 682 after subtracting 3988 from 4670.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6820, and continue the process.

Step 13:
997 can be fit into 6820 6 times, resulting in a remainder of 838.
The number 6 becomes the next digit in our result. 
Result so far: 3688.648946
The remainder is 838 after subtracting 5982 from 6820.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8380, and continue the process.

Going ahead to step 14:
8380 divided by 997 is 8 with a remainder of 404.
The number 8 becomes the next digit in our result. 
Result so far: 3688.6489468
The remainder is 404 after subtracting 7976 from 8380.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4040, and continue the process.

Moving on to step 15:
4040 divided by 997 is 4 with a remainder of 52.
Record the quotient 4 as the next digit in the result. 
Result so far: 3688.64894684
Subtract 3988 from 4040 to get 52.
Since there are no more digits in the dividend, we add a zero to the remainder making it 520, and continue the process.

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