40586480 divided by 522 
We're looking to find how many times 522 goes into 40586480.

Going ahead to step 1:
When dividing 4 by 522, we get 0 with a remainder of 4.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 4 and we're left with 4.
Take the next digit (0) from the dividend and append it to 4, then repeat: 40 / 522

Moving on to step 2:
40 divided by 522 is 0 with a remainder of 40.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 40, we end up with 40.
Fetch the next digit (5) from the dividend, attach it to 40 and continue: 405 / 522

Advancing to step 3:
522 can be fit into 405 0 times, resulting in a remainder of 405.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 405, we get 405.
Take the next digit (8) from the dividend and append it to 405, then repeat: 4058 / 522

On to step 4:
If we divide 4058 by 522, we get 7 and a remainder of 404.
Write down 7 as next digit of the result. 
Result so far: 7.0
Subtracting 3654 from 4058 leaves us with 404.
Grab the next digit (6) from the dividend, add it to 404, then carry on: 4046 / 522

Let's proceed to step 5:
The number 522 fits into 4046 7 times, leaving a remainder of 392.
The next digit of our result is 7. 
Result so far: 77.0
Deduct 3654 from 4046 and we're left with 392.
Bring next digit (4) of the dividend behind the 392 and repeat the process: 3924 / 522

Let's proceed to step 6:
The number 522 fits into 3924 7 times, leaving a remainder of 270.
Write down 7 as next digit of the result. 
Result so far: 777.0
If we subtract 3654 from 3924, we get 270.
Grab the next digit (8) from the dividend, add it to 270, then carry on: 2708 / 522

On to step 7:
The number 522 fits into 2708 5 times, leaving a remainder of 98.
Write down 5 as next digit of the result. 
Result so far: 7775.0
Deduct 2610 from 2708 and we're left with 98.
Fetch the next digit (0) from the dividend, attach it to 98 and continue: 980 / 522

Advancing to step 8:
522 can be fit into 980 1 times, resulting in a remainder of 458.
Put 1 as the next digit of the answer. 
Result so far: 77751.0
If we take 522 away from 980, we end up with 458.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4580, and continue the process.

Going ahead to step 9:
The number 522 fits into 4580 8 times, leaving a remainder of 404.
Record the quotient 8 as the next digit in the result. 
Result so far: 77751.8
Subtracting 4176 from 4580 leaves us with 404.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4040, and continue the process.

On to step 10:
522 can be fit into 4040 7 times, resulting in a remainder of 386.
Use 7 as the next digit of our solution. 
Result so far: 77751.87
Deduct 3654 from 4040 and we're left with 386.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3860, and continue the process.

Going ahead to step 11:
If we divide 3860 by 522, we get 7 and a remainder of 206.
Use 7 as the next digit of our solution. 
Result so far: 77751.877
The remainder is 206 after subtracting 3654 from 3860.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2060, and continue the process.

Our division results in 77751.877 with a remaining 0.0206.