335359 divided by 31 
Let's see how many times 31 fits into 335359.

Advancing to step 1:
31 goes into 3 0 times with a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Append the next digit (3) from the dividend to 3 and continue with: 33 / 31

Moving on to step 2:
31 goes into 33 1 times with a remainder of 2.
The next digit of our result is 1. 
Result so far: 1.0
Deduct 31 from 33 and we're left with 2.
Append the next digit (5) from the dividend to 2 and continue with: 25 / 31

Going ahead to step 3:
25 divided by 31 is 0 with a remainder of 25.
Use 0 as the next digit of our solution. 
Result so far: 10.0
Deduct 0 from 25 and we're left with 25.
Include the next digit (3) from the dividend after 25, then repeat: 253 / 31

Step 4:
The number 31 fits into 253 8 times, leaving a remainder of 5.
Put 8 as the next digit of the answer. 
Result so far: 108.0
Subtract 248 from 253 to get 5.
Bring next digit (5) of the dividend behind the 5 and repeat the process: 55 / 31

On to step 5:
55 divided by 31 is 1 with a remainder of 24.
Write down 1 as next digit of the result. 
Result so far: 1081.0
The remainder is 24 after subtracting 31 from 55.
Append the next digit (9) from the dividend to 24 and continue with: 249 / 31

Moving on to step 6:
The number 31 fits into 249 8 times, leaving a remainder of 1.
The number 8 becomes the next digit in our result. 
Result so far: 10818.0
The remainder is 1 after subtracting 248 from 249.
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 7:
The number 31 fits into 10 0 times, leaving a remainder of 10.
The number 0 becomes the next digit in our result. 
Result so far: 10818.0
Subtract 0 from 10 to get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Step 8:
100 divided by 31 is 3 with a remainder of 7.
The next digit of our result is 3. 
Result so far: 10818.03
The remainder is 7 after subtracting 93 from 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Step 9:
The number 31 fits into 70 2 times, leaving a remainder of 8.
The number 2 becomes the next digit in our result. 
Result so far: 10818.032
If we take 62 away from 70, we end up with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Moving on to step 10:
80 divided by 31 is 2 with a remainder of 18.
Put 2 as the next digit of the answer. 
Result so far: 10818.0322
Subtracting 62 from 80 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.

The quotient of the division is 10818.0322, and the remainder is 0.00018.