Let's divide 5107212 by 7
Let's see how many times 7 fits into 5107212.

Going ahead to step 1:
If we divide 5 by 7, we get 0 and a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Fetch the next digit (1) from the dividend, attach it to 5 and continue: 51 / 7

Step 2:
The number 7 fits into 51 7 times, leaving a remainder of 2.
Write down 7 as next digit of the result. 
Result so far: 7.0
If we subtract 49 from 51, we get 2.
Append the next digit (0) from the dividend to 2 and continue with: 20 / 7

Step 3:
The number 7 fits into 20 2 times, leaving a remainder of 6.
Record the quotient 2 as the next digit in the result. 
Result so far: 72.0
Deduct 14 from 20 and we're left with 6.
Include the next digit (7) from the dividend after 6, then repeat: 67 / 7

Going ahead to step 4:
When dividing 67 by 7, we get 9 with a remainder of 4.
Record the quotient 9 as the next digit in the result. 
Result so far: 729.0
Subtracting 63 from 67 leaves us with 4.
Append the next digit (2) from the dividend to 4 and continue with: 42 / 7

Moving on to step 5:
The number 7 fits into 42 6 times, leaving a remainder of 0.
Put 6 as the next digit of the answer. 
Result so far: 7296.0
Subtract 42 from 42 to get 0.
Include the next digit (1) from the dividend after 0, then repeat: 1 / 7

Moving on to step 6:
7 goes into 1 0 times with a remainder of 1.
Write down 0 as next digit of the result. 
Result so far: 72960.0
Subtracting 0 from 1 leaves us with 1.
Bring next digit (2) of the dividend behind the 1 and repeat the process: 12 / 7

Advancing to step 7:
If we divide 12 by 7, we get 1 and a remainder of 5.
Use 1 as the next digit of our solution. 
Result so far: 729601.0
If we subtract 7 from 12, we get 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Let's proceed to step 8:
When dividing 50 by 7, we get 7 with a remainder of 1.
Record the quotient 7 as the next digit in the result. 
Result so far: 729601.7
Subtract 49 from 50 to 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.

Advancing to step 9:
7 can be fit into 10 1 times, resulting in a remainder of 3.
The number 1 becomes the next digit in our result. 
Result so far: 729601.71
Subtract 7 from 10 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.

Step 10:
30 divided by 7 is 4 with a remainder of 2.
Use 4 as the next digit of our solution. 
Result so far: 729601.714
If we subtract 28 from 30, we get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Step 11:
If we divide 20 by 7, we get 2 and a remainder of 6.
Put 2 as the next digit of the answer. 
Result so far: 729601.7142
Deduct 14 from 20 and we're left with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Step 12:
7 can be fit into 60 8 times, resulting in a remainder of 4.
Write down 8 as next digit of the result. 
Result so far: 729601.71428
Subtract 56 from 60 to get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Going ahead to step 13:
40 divided by 7 is 5 with a remainder of 5.
The number 5 becomes the next digit in our result. 
Result so far: 729601.714285
If we take 35 away from 40, we end up with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Let's proceed to step 14:
When dividing 50 by 7, we get 7 with a remainder of 1.
The number 7 becomes the next digit in our result. 
Result so far: 729601.7142857
The remainder is 1 after subtracting 49 from 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Going ahead to step 15:
The number 7 fits into 10 1 times, leaving a remainder of 3.
Use 1 as the next digit of our solution. 
Result so far: 729601.71428571
If we take 7 away from 10, we end up 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.

After the division, we end up with 729601.71428571 and a remainder of 3e-09.