Let's divide 305788 by 8
Let's see how many times 8 fits into 305788.

On to step 1:
8 goes into 3 0 times with a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Append the next digit (0) from the dividend to 3 and continue with: 30 / 8

Let's proceed to step 2:
8 can be fit into 30 3 times, resulting in a remainder of 6.
The next digit of our result is 3. 
Result so far: 3.0
Deduct 24 from 30 and we're left with 6.
Fetch the next digit (5) from the dividend, attach it to 6 and continue: 65 / 8

On to step 3:
The number 8 fits into 65 8 times, leaving a remainder of 1.
The next digit of our result is 8. 
Result so far: 38.0
Subtract 64 from 65 to get 1.
Include the next digit (7) from the dividend after 1, then repeat: 17 / 8

Let's proceed to step 4:
If we divide 17 by 8, we get 2 and a remainder of 1.
The next digit of our result is 2. 
Result so far: 382.0
The remainder is 1 after subtracting 16 from 17.
Append the next digit (8) from the dividend to 1 and continue with: 18 / 8

Step 5:
8 can be fit into 18 2 times, resulting in a remainder of 2.
Put 2 as the next digit of the answer. 
Result so far: 3822.0
The remainder is 2 after subtracting 16 from 18.
Take the next digit (8) from the dividend and append it to 2, then repeat: 28 / 8

Advancing to step 6:
If we divide 28 by 8, we get 3 and a remainder of 4.
The next digit of our result is 3. 
Result so far: 38223.0
The remainder is 4 after subtracting 24 from 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Step 7:
40 divided by 8 is 5 with a remainder of 0.
Record the quotient 5 as the next digit in the result. 
Result so far: 38223.5
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.

Advancing to step 8:
8 goes into 0 0 times with a remainder of 0.
The next digit of our result is 0. 
Result so far: 38223.5
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.

On to step 9:
0 divided by 8 is 0 with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 38223.5
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 final result is 38223.5 with a remainder of 0.0.