We divide 221782 by 7
We're looking to find how many times 7 goes into 221782.

Going ahead to step 1:
2 divided by 7 is 0 with a remainder of 2.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 2 after subtracting 0 from 2.
Take the next digit (2) from the dividend and append it to 2, then repeat: 22 / 7

Moving on to step 2:
When dividing 22 by 7, we get 3 with a remainder of 1.
Record the quotient 3 as the next digit in the result. 
Result so far: 3.0
Subtracting 21 from 22 leaves us with 1.
Grab the next digit (1) from the dividend, add it to 1, then carry on: 11 / 7

Moving on to step 3:
If we divide 11 by 7, we get 1 and a remainder of 4.
Write down 1 as next digit of the result. 
Result so far: 31.0
Deduct 7 from 11 and we're left with 4.
Bring next digit (7) of the dividend behind the 4 and repeat the process: 47 / 7

Advancing to step 4:
The number 7 fits into 47 6 times, leaving a remainder of 5.
Put 6 as the next digit of the answer. 
Result so far: 316.0
Subtracting 42 from 47 leaves us with 5.
Bring next digit (8) of the dividend behind the 5 and repeat the process: 58 / 7

Step 5:
The number 7 fits into 58 8 times, leaving a remainder of 2.
Write down 8 as next digit of the result. 
Result so far: 3168.0
If we take 56 away from 58, we end up with 2.
Grab the next digit (2) from the dividend, add it to 2, then carry on: 22 / 7

On to step 6:
22 divided by 7 is 3 with a remainder of 1.
Put 3 as the next digit of the answer. 
Result so far: 31683.0
Deduct 21 from 22 and we're left with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

On to step 7:
The number 7 fits into 10 1 times, leaving a remainder of 3.
The next digit of our result is 1. 
Result so far: 31683.1
The remainder is 3 after subtracting 7 from 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Advancing to step 8:
7 can be fit into 30 4 times, resulting in a remainder of 2.
The next digit of our result is 4. 
Result so far: 31683.14
The remainder is 2 after subtracting 28 from 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Step 9:
If we divide 20 by 7, we get 2 and a remainder of 6.
The next digit of our result is 2. 
Result so far: 31683.142
The remainder is 6 after subtracting 14 from 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Advancing to step 10:
60 divided by 7 is 8 with a remainder of 4.
Put 8 as the next digit of the answer. 
Result so far: 31683.1428
The remainder is 4 after subtracting 56 from 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

On to step 11:
7 goes into 40 5 times with a remainder of 5.
Use 5 as the next digit of our solution. 
Result so far: 31683.14285
The remainder is 5 after subtracting 35 from 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Step 12:
The number 7 fits into 50 7 times, leaving a remainder of 1.
Put 7 as the next digit of the answer. 
Result so far: 31683.142857
If we subtract 49 from 50, we get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Let's proceed to step 13:
If we divide 10 by 7, we get 1 and a remainder of 3.
Write down 1 as next digit of the result. 
Result so far: 31683.1428571
Subtracting 7 from 10 leaves us with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Step 14:
If we divide 30 by 7, we get 4 and a remainder of 2.
Record the quotient 4 as the next digit in the result. 
Result so far: 31683.14285714
Subtracting 28 from 30 leaves us with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

The final result is 31683.14285714 with a remainder of 2e-09.