340581 ÷ 8 
Let's see how many times 8 fits into 340581.

Advancing to step 1:
The number 8 fits into 3 0 times, leaving a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Include the next digit (4) from the dividend after 3, then repeat: 34 / 8

On to step 2:
If we divide 34 by 8, we get 4 and a remainder of 2.
The next digit of our result is 4. 
Result so far: 4.0
Deduct 32 from 34 and we're left with 2.
Fetch the next digit (0) from the dividend, attach it to 2 and continue: 20 / 8

Step 3:
8 goes into 20 2 times with a remainder of 4.
Write down 2 as next digit of the result. 
Result so far: 42.0
The remainder is 4 after subtracting 16 from 20.
Bring next digit (5) of the dividend behind the 4 and repeat the process: 45 / 8

Going ahead to step 4:
If we divide 45 by 8, we get 5 and a remainder of 5.
The number 5 becomes the next digit in our result. 
Result so far: 425.0
Subtracting 40 from 45 leaves us with 5.
Bring next digit (8) of the dividend behind the 5 and repeat the process: 58 / 8

Advancing to step 5:
If we divide 58 by 8, we get 7 and a remainder of 2.
The number 7 becomes the next digit in our result. 
Result so far: 4257.0
The remainder is 2 after subtracting 56 from 58.
Take the next digit (1) from the dividend and append it to 2, then repeat: 21 / 8

Moving on to step 6:
When dividing 21 by 8, we get 2 with a remainder of 5.
The next digit of our result is 2. 
Result so far: 42572.0
The remainder is 5 after subtracting 16 from 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Moving on to step 7:
8 can be fit into 50 6 times, resulting in a remainder of 2.
Use 6 as the next digit of our solution. 
Result so far: 42572.6
Subtract 48 from 50 to get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

On to step 8:
20 divided by 8 is 2 with a remainder of 4.
Record the quotient 2 as the next digit in the result. 
Result so far: 42572.62
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.

Step 9:
The number 8 fits into 40 5 times, leaving a remainder of 0.
The next digit of our result is 5. 
Result so far: 42572.625
Subtracting 40 from 40 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:
If we divide 0 by 8, we get 0 and a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 42572.625
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.

Advancing to step 11:
8 goes into 0 0 times with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 42572.625
If we subtract 0 from 0, we 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.

After the division, we end up with 42572.625 and a remainder of 0.0.