5229865 divided by 520 
Let's see how many times 520 fits into 5229865.

Going ahead to step 1:
If we divide 5 by 520, we get 0 and a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Include the next digit (2) from the dividend after 5, then repeat: 52 / 520

Moving on to step 2:
The number 520 fits into 52 0 times, leaving a remainder of 52.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 52 to get 52.
Take the next digit (2) from the dividend and append it to 52, then repeat: 522 / 520

On to step 3:
The number 520 fits into 522 1 times, leaving a remainder of 2.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Deduct 520 from 522 and we're left with 2.
Append the next digit (9) from the dividend to 2 and continue with: 29 / 520

Let's proceed to step 4:
The number 520 fits into 29 0 times, leaving a remainder of 29.
The next digit of our result is 0. 
Result so far: 10.0
The remainder is 29 after subtracting 0 from 29.
Grab the next digit (8) from the dividend, add it to 29, then carry on: 298 / 520

Let's proceed to step 5:
298 divided by 520 is 0 with a remainder of 298.
The number 0 becomes the next digit in our result. 
Result so far: 100.0
If we subtract 0 from 298, we get 298.
Bring next digit (6) of the dividend behind the 298 and repeat the process: 2986 / 520

Going ahead to step 6:
520 can be fit into 2986 5 times, resulting in a remainder of 386.
Use 5 as the next digit of our solution. 
Result so far: 1005.0
Subtracting 2600 from 2986 leaves us with 386.
Bring next digit (5) of the dividend behind the 386 and repeat the process: 3865 / 520

Moving on to step 7:
The number 520 fits into 3865 7 times, leaving a remainder of 225.
Use 7 as the next digit of our solution. 
Result so far: 10057.0
If we take 3640 away from 3865, we end up with 225.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2250, and continue the process.

Moving on to step 8:
The number 520 fits into 2250 4 times, leaving a remainder of 170.
The number 4 becomes the next digit in our result. 
Result so far: 10057.4
If we take 2080 away from 2250, we end up with 170.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1700, and continue the process.

Step 9:
520 goes into 1700 3 times with a remainder of 140.
Write down 3 as next digit of the result. 
Result so far: 10057.43
If we take 1560 away from 1700, we end up with 140.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1400, and continue the process.

On to step 10:
1400 divided by 520 is 2 with a remainder of 360.
The next digit of our result is 2. 
Result so far: 10057.432
The remainder is 360 after subtracting 1040 from 1400.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3600, and continue the process.

On to step 11:
If we divide 3600 by 520, we get 6 and a remainder of 480.
Put 6 as the next digit of the answer. 
Result so far: 10057.4326
Subtract 3120 from 3600 to 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.

Moving on to step 12:
520 goes into 4800 9 times with a remainder of 120.
The number 9 becomes the next digit in our result. 
Result so far: 10057.43269
Deduct 4680 from 4800 and we're left with 120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1200, and continue the process.

Let's proceed to step 13:
If we divide 1200 by 520, we get 2 and a remainder of 160.
The next digit of our result is 2. 
Result so far: 10057.432692
Subtracting 1040 from 1200 leaves us with 160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1600, and continue the process.

Going ahead to step 14:
If we divide 1600 by 520, we get 3 and a remainder of 40.
Record the quotient 3 as the next digit in the result. 
Result so far: 10057.4326923
Subtracting 1560 from 1600 leaves us with 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Going ahead to step 15:
The number 520 fits into 400 0 times, leaving a remainder of 400.
The next digit of our result is 0. 
Result so far: 10057.4326923
If we subtract 0 from 400, we get 400.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4000, and continue the process.

The quotient of the division is 10057.4326923, and the remainder is 4e-07.