We divide 997038 by 51
We want to divide 997038 by 51.

Moving on to step 1:
The number 51 fits into 9 0 times, leaving a remainder of 9.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 9, we get 9.
Take the next digit (9) from the dividend and append it to 9, then repeat: 99 / 51

Step 2:
51 goes into 99 1 times with a remainder of 48.
Use 1 as the next digit of our solution. 
Result so far: 1.0
The remainder is 48 after subtracting 51 from 99.
Include the next digit (7) from the dividend after 48, then repeat: 487 / 51

Moving on to step 3:
When dividing 487 by 51, we get 9 with a remainder of 28.
Use 9 as the next digit of our solution. 
Result so far: 19.0
Subtract 459 from 487 to get 28.
Include the next digit (0) from the dividend after 28, then repeat: 280 / 51

Step 4:
If we divide 280 by 51, we get 5 and a remainder of 25.
Use 5 as the next digit of our solution. 
Result so far: 195.0
Deduct 255 from 280 and we're left with 25.
Fetch the next digit (3) from the dividend, attach it to 25 and continue: 253 / 51

Going ahead to step 5:
51 goes into 253 4 times with a remainder of 49.
The number 4 becomes the next digit in our result. 
Result so far: 1954.0
If we take 204 away from 253, we end up with 49.
Append the next digit (8) from the dividend to 49 and continue with: 498 / 51

Advancing to step 6:
If we divide 498 by 51, we get 9 and a remainder of 39.
Use 9 as the next digit of our solution. 
Result so far: 19549.0
If we take 459 away from 498, we end up with 39.
Since there are no more digits in the dividend, we add a zero to the remainder making it 390, and continue the process.

Moving on to step 7:
51 can be fit into 390 7 times, resulting in a remainder of 33.
The next digit of our result is 7. 
Result so far: 19549.7
Deduct 357 from 390 and we're left with 33.
Since there are no more digits in the dividend, we add a zero to the remainder making it 330, and continue the process.

Moving on to step 8:
51 goes into 330 6 times with a remainder of 24.
Put 6 as the next digit of the answer. 
Result so far: 19549.76
The remainder is 24 after subtracting 306 from 330.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Going ahead to step 9:
The number 51 fits into 240 4 times, leaving a remainder of 36.
Record the quotient 4 as the next digit in the result. 
Result so far: 19549.764
If we take 204 away from 240, we end up with 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Step 10:
51 can be fit into 360 7 times, resulting in a remainder of 3.
The next digit of our result is 7. 
Result so far: 19549.7647
Subtract 357 from 360 to get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

On to step 11:
The number 51 fits into 30 0 times, leaving a remainder of 30.
The next digit of our result is 0. 
Result so far: 19549.7647
Subtracting 0 from 30 leaves us with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Step 12:
300 divided by 51 is 5 with a remainder of 45.
Put 5 as the next digit of the answer. 
Result so far: 19549.764705
Subtracting 255 from 300 leaves us with 45.
Since there are no more digits in the dividend, we add a zero to the remainder making it 450, and continue the process.

Moving on to step 13:
450 divided by 51 is 8 with a remainder of 42.
The number 8 becomes the next digit in our result. 
Result so far: 19549.7647058
Subtract 408 from 450 to get 42.
Since there are no more digits in the dividend, we add a zero to the remainder making it 420, and continue the process.

Going ahead to step 14:
420 divided by 51 is 8 with a remainder of 12.
Put 8 as the next digit of the answer. 
Result so far: 19549.76470588
Deduct 408 from 420 and we're left with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

In conclusion, the division gives 19549.76470588 with a balance of 1.2e-08.