Let's divide 523317 by 42
Let's see how many times 42 fits into 523317.

Moving on to step 1:
5 divided by 42 is 0 with a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Take the next digit (2) from the dividend and append it to 5, then repeat: 52 / 42

Moving on to step 2:
The number 42 fits into 52 1 times, leaving a remainder of 10.
Use 1 as the next digit of our solution. 
Result so far: 1.0
The remainder is 10 after subtracting 42 from 52.
Bring next digit (3) of the dividend behind the 10 and repeat the process: 103 / 42

Going ahead to step 3:
42 goes into 103 2 times with a remainder of 19.
The next digit of our result is 2. 
Result so far: 12.0
If we subtract 84 from 103, we get 19.
Grab the next digit (3) from the dividend, add it to 19, then carry on: 193 / 42

Advancing to step 4:
If we divide 193 by 42, we get 4 and a remainder of 25.
Record the quotient 4 as the next digit in the result. 
Result so far: 124.0
Deduct 168 from 193 and we're left with 25.
Fetch the next digit (1) from the dividend, attach it to 25 and continue: 251 / 42

Going ahead to step 5:
The number 42 fits into 251 5 times, leaving a remainder of 41.
Record the quotient 5 as the next digit in the result. 
Result so far: 1245.0
If we take 210 away from 251, we end up with 41.
Take the next digit (7) from the dividend and append it to 41, then repeat: 417 / 42

Advancing to step 6:
The number 42 fits into 417 9 times, leaving a remainder of 39.
Put 9 as the next digit of the answer. 
Result so far: 12459.0
Subtract 378 from 417 to get 39.
Since there are no more digits in the dividend, we add a zero to the remainder making it 390, and continue the process.

Advancing to step 7:
If we divide 390 by 42, we get 9 and a remainder of 12.
Put 9 as the next digit of the answer. 
Result so far: 12459.9
Deduct 378 from 390 and we're left with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

On to step 8:
The number 42 fits into 120 2 times, leaving a remainder of 36.
The next digit of our result is 2. 
Result so far: 12459.92
Subtracting 84 from 120 leaves us with 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Going ahead to step 9:
When dividing 360 by 42, we get 8 with a remainder of 24.
Record the quotient 8 as the next digit in the result. 
Result so far: 12459.928
Subtract 336 from 360 to get 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

On to step 10:
240 divided by 42 is 5 with a remainder of 30.
The next digit of our result is 5. 
Result so far: 12459.9285
If we subtract 210 from 240, we get 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

On to step 11:
When dividing 300 by 42, we get 7 with a remainder of 6.
Write down 7 as next digit of the result. 
Result so far: 12459.92857
If we subtract 294 from 300, we get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Let's proceed to step 12:
42 can be fit into 60 1 times, resulting in a remainder of 18.
The next digit of our result is 1. 
Result so far: 12459.928571
If we take 42 away from 60, we end up 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.

On to step 13:
If we divide 180 by 42, we get 4 and a remainder of 12.
Put 4 as the next digit of the answer. 
Result so far: 12459.9285714
Subtracting 168 from 180 leaves us with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Going ahead to step 14:
42 can be fit into 120 2 times, resulting in a remainder of 36.
Record the quotient 2 as the next digit in the result. 
Result so far: 12459.92857142
Subtract 84 from 120 to get 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

After the division, we end up with 12459.92857142 and a remainder of 3.6e-08.