338042 divided by 8 
Our goal is to divide 338042 by 8.

Let's proceed to step 1:
3 divided by 8 is 0 with a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Bring next digit (3) of the dividend behind the 3 and repeat the process: 33 / 8

Step 2:
8 can be fit into 33 4 times, resulting in a remainder of 1.
Record the quotient 4 as the next digit in the result. 
Result so far: 4.0
If we take 32 away from 33, we end up with 1.
Grab the next digit (8) from the dividend, add it to 1, then carry on: 18 / 8

Going ahead to step 3:
8 goes into 18 2 times with a remainder of 2.
The next digit of our result is 2. 
Result so far: 42.0
If we subtract 16 from 18, we get 2.
Take the next digit (0) from the dividend and append it to 2, then repeat: 20 / 8

Let's proceed to step 4:
20 divided by 8 is 2 with a remainder of 4.
Use 2 as the next digit of our solution. 
Result so far: 422.0
Subtract 16 from 20 to get 4.
Include the next digit (4) from the dividend after 4, then repeat: 44 / 8

Going ahead to step 5:
The number 8 fits into 44 5 times, leaving a remainder of 4.
Put 5 as the next digit of the answer. 
Result so far: 4225.0
The remainder is 4 after subtracting 40 from 44.
Include the next digit (2) from the dividend after 4, then repeat: 42 / 8

On to step 6:
8 goes into 42 5 times with a remainder of 2.
The number 5 becomes the next digit in our result. 
Result so far: 42255.0
If we take 40 away from 42, we end up with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Advancing to step 7:
If we divide 20 by 8, we get 2 and a remainder of 4.
Use 2 as the next digit of our solution. 
Result so far: 42255.2
If we subtract 16 from 20, we get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Advancing to step 8:
8 can be fit into 40 5 times, resulting in a remainder of 0.
Write down 5 as next digit of the result. 
Result so far: 42255.25
If we take 40 away from 40, we end up with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Step 9:
8 can be fit into 0 0 times, resulting in a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 42255.25
Subtracting 0 from 0 leaves us with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

On to step 10:
When dividing 0 by 8, we get 0 with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 42255.25
Subtract 0 from 0 to get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

The quotient of the division is 42255.25, and the remainder is 0.0.