We're dividing 51890543 by 997 
Our goal is to divide 51890543 by 997.

Step 1:
5 divided by 997 is 0 with a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Include the next digit (1) from the dividend after 5, then repeat: 51 / 997

Advancing to step 2:
51 divided by 997 is 0 with a remainder of 51.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 51, we get 51.
Fetch the next digit (8) from the dividend, attach it to 51 and continue: 518 / 997

Advancing to step 3:
When dividing 518 by 997, we get 0 with a remainder of 518.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 518, we end up with 518.
Append the next digit (9) from the dividend to 518 and continue with: 5189 / 997

Let's proceed to step 4:
5189 divided by 997 is 5 with a remainder of 204.
Use 5 as the next digit of our solution. 
Result so far: 5.0
The remainder is 204 after subtracting 4985 from 5189.
Fetch the next digit (0) from the dividend, attach it to 204 and continue: 2040 / 997

Moving on to step 5:
The number 997 fits into 2040 2 times, leaving a remainder of 46.
The number 2 becomes the next digit in our result. 
Result so far: 52.0
Deduct 1994 from 2040 and we're left with 46.
Take the next digit (5) from the dividend and append it to 46, then repeat: 465 / 997

Step 6:
997 goes into 465 0 times with a remainder of 465.
The number 0 becomes the next digit in our result. 
Result so far: 520.0
Subtract 0 from 465 to get 465.
Bring next digit (4) of the dividend behind the 465 and repeat the process: 4654 / 997

Let's proceed to step 7:
The number 997 fits into 4654 4 times, leaving a remainder of 666.
The next digit of our result is 4. 
Result so far: 5204.0
Subtract 3988 from 4654 to get 666.
Fetch the next digit (3) from the dividend, attach it to 666 and continue: 6663 / 997

Advancing to step 8:
997 goes into 6663 6 times with a remainder of 681.
Put 6 as the next digit of the answer. 
Result so far: 52046.0
Deduct 5982 from 6663 and we're left with 681.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6810, and continue the process.

Step 9:
The number 997 fits into 6810 6 times, leaving a remainder of 828.
The next digit of our result is 6. 
Result so far: 52046.6
Subtracting 5982 from 6810 leaves us with 828.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8280, and continue the process.

Advancing to step 10:
When dividing 8280 by 997, we get 8 with a remainder of 304.
The number 8 becomes the next digit in our result. 
Result so far: 52046.68
If we take 7976 away from 8280, we end up with 304.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3040, and continue the process.

Let's proceed to step 11:
997 can be fit into 3040 3 times, resulting in a remainder of 49.
Put 3 as the next digit of the answer. 
Result so far: 52046.683
Subtracting 2991 from 3040 leaves us with 49.
Since there are no more digits in the dividend, we add a zero to the remainder making it 490, and continue the process.

Moving on to step 12:
When dividing 490 by 997, we get 0 with a remainder of 490.
Record the quotient 0 as the next digit in the result. 
Result so far: 52046.683
If we take 0 away from 490, we end up with 490.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4900, and continue the process.

Advancing to step 13:
When dividing 4900 by 997, we get 4 with a remainder of 912.
Record the quotient 4 as the next digit in the result. 
Result so far: 52046.68304
Subtract 3988 from 4900 to get 912.
Since there are no more digits in the dividend, we add a zero to the remainder making it 9120, and continue the process.

Moving on to step 14:
997 goes into 9120 9 times with a remainder of 147.
Record the quotient 9 as the next digit in the result. 
Result so far: 52046.683049
The remainder is 147 after subtracting 8973 from 9120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1470, and continue the process.

Let's proceed to step 15:
997 can be fit into 1470 1 times, resulting in a remainder of 473.
Use 1 as the next digit of our solution. 
Result so far: 52046.6830491
Deduct 997 from 1470 and we're left with 473.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4730, and continue the process.

Advancing to step 16:
The number 997 fits into 4730 4 times, leaving a remainder of 742.
The next digit of our result is 4. 
Result so far: 52046.68304914
If we take 3988 away from 4730, we end up with 742.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7420, and continue the process.

The quotient of the division is 52046.68304914, and the remainder is 7.42e-07.