We look at the division of 501249 by 7 
We want to figure out the number of times 501249 can be divided by 7.

Step 1:
If we divide 5 by 7, we get 0 and a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Grab the next digit (0) from the dividend, add it to 5, then carry on: 50 / 7

Going ahead to step 2:
If we divide 50 by 7, we get 7 and a remainder of 1.
Record the quotient 7 as the next digit in the result. 
Result so far: 7.0
If we subtract 49 from 50, we get 1.
Fetch the next digit (1) from the dividend, attach it to 1 and continue: 11 / 7

Step 3:
When dividing 11 by 7, we get 1 with a remainder of 4.
Put 1 as the next digit of the answer. 
Result so far: 71.0
If we subtract 7 from 11, we get 4.
Include the next digit (2) from the dividend after 4, then repeat: 42 / 7

Advancing to step 4:
If we divide 42 by 7, we get 6 and a remainder of 0.
Use 6 as the next digit of our solution. 
Result so far: 716.0
If we subtract 42 from 42, we get 0.
Take the next digit (4) from the dividend and append it to 0, then repeat: 4 / 7

Going ahead to step 5:
The number 7 fits into 4 0 times, leaving a remainder of 4.
Use 0 as the next digit of our solution. 
Result so far: 7160.0
Subtract 0 from 4 to get 4.
Bring next digit (9) of the dividend behind the 4 and repeat the process: 49 / 7

Let's proceed to step 6:
7 goes into 49 7 times with a remainder of 0.
Write down 7 as next digit of the result. 
Result so far: 71607.0
If we subtract 49 from 49, we get 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 7:
7 can be fit into 0 0 times, resulting in a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 71607.0
If we subtract 0 from 0, we get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Let's proceed to step 8:
When dividing 0 by 7, we get 0 with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 71607.0
Deduct 0 from 0 and we're left 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 quotient of the division is 71607.0, and the remainder is 0.0.