We divide 5197512 by 786
We want to figure out the number of times 5197512 can be divided by 786.

On to step 1:
If we divide 5 by 786, we get 0 and a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Grab the next digit (1) from the dividend, add it to 5, then carry on: 51 / 786

Going ahead to step 2:
786 goes into 51 0 times with a remainder of 51.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 51, we get 51.
Grab the next digit (9) from the dividend, add it to 51, then carry on: 519 / 786

On to step 3:
519 divided by 786 is 0 with a remainder of 519.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 519, we get 519.
Take the next digit (7) from the dividend and append it to 519, then repeat: 5197 / 786

Moving on to step 4:
5197 divided by 786 is 6 with a remainder of 481.
Put 6 as the next digit of the answer. 
Result so far: 6.0
The remainder is 481 after subtracting 4716 from 5197.
Fetch the next digit (5) from the dividend, attach it to 481 and continue: 4815 / 786

Moving on to step 5:
4815 divided by 786 is 6 with a remainder of 99.
Record the quotient 6 as the next digit in the result. 
Result so far: 66.0
The remainder is 99 after subtracting 4716 from 4815.
Fetch the next digit (1) from the dividend, attach it to 99 and continue: 991 / 786

On to step 6:
When dividing 991 by 786, we get 1 with a remainder of 205.
Record the quotient 1 as the next digit in the result. 
Result so far: 661.0
Subtracting 786 from 991 leaves us with 205.
Take the next digit (2) from the dividend and append it to 205, then repeat: 2052 / 786

Advancing to step 7:
786 can be fit into 2052 2 times, resulting in a remainder of 480.
The number 2 becomes the next digit in our result. 
Result so far: 6612.0
If we subtract 1572 from 2052, we get 480.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4800, and continue the process.

On to step 8:
4800 divided by 786 is 6 with a remainder of 84.
The next digit of our result is 6. 
Result so far: 6612.6
If we subtract 4716 from 4800, we get 84.
Since there are no more digits in the dividend, we add a zero to the remainder making it 840, and continue the process.

Advancing to step 9:
When dividing 840 by 786, we get 1 with a remainder of 54.
Put 1 as the next digit of the answer. 
Result so far: 6612.61
The remainder is 54 after subtracting 786 from 840.
Since there are no more digits in the dividend, we add a zero to the remainder making it 540, and continue the process.

Step 10:
786 can be fit into 540 0 times, resulting in a remainder of 540.
Use 0 as the next digit of our solution. 
Result so far: 6612.61
If we take 0 away from 540, we end up with 540.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5400, and continue the process.

Moving on to step 11:
786 can be fit into 5400 6 times, resulting in a remainder of 684.
Write down 6 as next digit of the result. 
Result so far: 6612.6106
Deduct 4716 from 5400 and we're left with 684.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6840, and continue the process.

Going ahead to step 12:
786 goes into 6840 8 times with a remainder of 552.
Record the quotient 8 as the next digit in the result. 
Result so far: 6612.61068
Subtracting 6288 from 6840 leaves us with 552.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5520, and continue the process.

Let's proceed to step 13:
When dividing 5520 by 786, we get 7 with a remainder of 18.
Write down 7 as next digit of the result. 
Result so far: 6612.610687
Subtracting 5502 from 5520 leaves us with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Step 14:
786 goes into 180 0 times with a remainder of 180.
Use 0 as the next digit of our solution. 
Result so far: 6612.610687
The remainder is 180 after subtracting 0 from 180.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1800, and continue the process.

Step 15:
If we divide 1800 by 786, we get 2 and a remainder of 228.
Use 2 as the next digit of our solution. 
Result so far: 6612.61068702
If we subtract 1572 from 1800, we get 228.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2280, and continue the process.

Our division results in 6612.61068702 with a remaining 2.28e-07.