We divide 362897 by 8
The aim is to understand the frequency of 8 in 362897.

Moving on to step 1:
3 divided by 8 is 0 with a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Fetch the next digit (6) from the dividend, attach it to 3 and continue: 36 / 8

Going ahead to step 2:
36 divided by 8 is 4 with a remainder of 4.
Record the quotient 4 as the next digit in the result. 
Result so far: 4.0
Deduct 32 from 36 and we're left with 4.
Fetch the next digit (2) from the dividend, attach it to 4 and continue: 42 / 8

Going ahead to step 3:
The number 8 fits into 42 5 times, leaving a remainder of 2.
The next digit of our result is 5. 
Result so far: 45.0
Subtract 40 from 42 to get 2.
Append the next digit (8) from the dividend to 2 and continue with: 28 / 8

Step 4:
When dividing 28 by 8, we get 3 with a remainder of 4.
Put 3 as the next digit of the answer. 
Result so far: 453.0
The remainder is 4 after subtracting 24 from 28.
Grab the next digit (9) from the dividend, add it to 4, then carry on: 49 / 8

Step 5:
The number 8 fits into 49 6 times, leaving a remainder of 1.
Record the quotient 6 as the next digit in the result. 
Result so far: 4536.0
If we take 48 away from 49, we end up with 1.
Fetch the next digit (7) from the dividend, attach it to 1 and continue: 17 / 8

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

Going ahead to step 7:
If we divide 10 by 8, we get 1 and a remainder of 2.
Write down 1 as next digit of the result. 
Result so far: 45362.1
If we take 8 away from 10, 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.

Going ahead to step 8:
8 goes into 20 2 times with a remainder of 4.
Put 2 as the next digit of the answer. 
Result so far: 45362.12
The remainder is 4 after subtracting 16 from 20.
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 9:
When dividing 40 by 8, we get 5 with a remainder of 0.
Put 5 as the next digit of the answer. 
Result so far: 45362.125
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.

Moving on to step 10:
The number 8 fits into 0 0 times, leaving a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 45362.125
The remainder is 0 after subtracting 0 from 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:
0 divided by 8 is 0 with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 45362.125
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.

Our division results in 45362.125 with a remaining 0.0.