We're dividing 18766959 by 797 
We're looking to find how many times 797 goes into 18766959.

Advancing to step 1:
1 divided by 797 is 0 with a remainder of 1.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 1 after subtracting 0 from 1.
Fetch the next digit (8) from the dividend, attach it to 1 and continue: 18 / 797

Let's proceed to step 2:
The number 797 fits into 18 0 times, leaving a remainder of 18.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 18 and we're left with 18.
Fetch the next digit (7) from the dividend, attach it to 18 and continue: 187 / 797

Moving on to step 3:
If we divide 187 by 797, we get 0 and a remainder of 187.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 187 leaves us with 187.
Take the next digit (6) from the dividend and append it to 187, then repeat: 1876 / 797

Advancing to step 4:
1876 divided by 797 is 2 with a remainder of 282.
The number 2 becomes the next digit in our result. 
Result so far: 2.0
Subtracting 1594 from 1876 leaves us with 282.
Append the next digit (6) from the dividend to 282 and continue with: 2826 / 797

Let's proceed to step 5:
The number 797 fits into 2826 3 times, leaving a remainder of 435.
Use 3 as the next digit of our solution. 
Result so far: 23.0
Deduct 2391 from 2826 and we're left with 435.
Bring next digit (9) of the dividend behind the 435 and repeat the process: 4359 / 797

Advancing to step 6:
If we divide 4359 by 797, we get 5 and a remainder of 374.
The number 5 becomes the next digit in our result. 
Result so far: 235.0
Deduct 3985 from 4359 and we're left with 374.
Fetch the next digit (5) from the dividend, attach it to 374 and continue: 3745 / 797

Let's proceed to step 7:
The number 797 fits into 3745 4 times, leaving a remainder of 557.
Write down 4 as next digit of the result. 
Result so far: 2354.0
If we take 3188 away from 3745, we end up with 557.
Fetch the next digit (9) from the dividend, attach it to 557 and continue: 5579 / 797

Advancing to step 8:
The number 797 fits into 5579 7 times, leaving a remainder of 0.
The next digit of our result is 7. 
Result so far: 23547.0
The remainder is 0 after subtracting 5579 from 5579.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

On to step 9:
The number 797 fits into 0 0 times, leaving a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 23547.0
Subtracting 0 from 0 leaves us with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Step 10:
The number 797 fits into 0 0 times, leaving a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 23547.0
If we take 0 away from 0, we end up with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

The final result is 23547.0 with a remainder of 0.0.