313515 divided by 8 
The aim is to understand the frequency of 8 in 313515.

Advancing to step 1:
When dividing 3 by 8, we get 0 with a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Take the next digit (1) from the dividend and append it to 3, then repeat: 31 / 8

Let's proceed to step 2:
31 divided by 8 is 3 with a remainder of 7.
Write down 3 as next digit of the result. 
Result so far: 3.0
If we subtract 24 from 31, we get 7.
Grab the next digit (3) from the dividend, add it to 7, then carry on: 73 / 8

Let's proceed to step 3:
When dividing 73 by 8, we get 9 with a remainder of 1.
Use 9 as the next digit of our solution. 
Result so far: 39.0
Subtract 72 from 73 to get 1.
Append the next digit (5) from the dividend to 1 and continue with: 15 / 8

Going ahead to step 4:
8 goes into 15 1 times with a remainder of 7.
Put 1 as the next digit of the answer. 
Result so far: 391.0
Deduct 8 from 15 and we're left with 7.
Grab the next digit (1) from the dividend, add it to 7, then carry on: 71 / 8

Step 5:
The number 8 fits into 71 8 times, leaving a remainder of 7.
The number 8 becomes the next digit in our result. 
Result so far: 3918.0
Deduct 64 from 71 and we're left with 7.
Grab the next digit (5) from the dividend, add it to 7, then carry on: 75 / 8

Going ahead to step 6:
The number 8 fits into 75 9 times, leaving a remainder of 3.
Write down 9 as next digit of the result. 
Result so far: 39189.0
The remainder is 3 after subtracting 72 from 75.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Moving on to step 7:
If we divide 30 by 8, we get 3 and a remainder of 6.
Write down 3 as next digit of the result. 
Result so far: 39189.3
If we subtract 24 from 30, we get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

On to step 8:
The number 8 fits into 60 7 times, leaving a remainder of 4.
Put 7 as the next digit of the answer. 
Result so far: 39189.37
The remainder is 4 after subtracting 56 from 60.
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:
When dividing 40 by 8, we get 5 with a remainder of 0.
The next digit of our result is 5. 
Result so far: 39189.375
Deduct 40 from 40 and we're left 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 10:
If we divide 0 by 8, we get 0 and a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 39189.375
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.

Advancing to step 11:
0 divided by 8 is 0 with a remainder of 0.
The next digit of our result is 0. 
Result so far: 39189.375
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.

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