Let's divide 836440 by 8
The aim is to understand the frequency of 8 in 836440.

Step 1:
If we divide 8 by 8, we get 1 and a remainder of 0.
The next digit of our result is 1. 
Result so far: 1.0
Subtract 8 from 8 to get 0.
Include the next digit (3) from the dividend after 0, then repeat: 3 / 8

Let's proceed to step 2:
3 divided by 8 is 0 with a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 10.0
Subtract 0 from 3 to get 3.
Append the next digit (6) from the dividend to 3 and continue with: 36 / 8

Let's proceed to step 3:
When dividing 36 by 8, we get 4 with a remainder of 4.
Put 4 as the next digit of the answer. 
Result so far: 104.0
Deduct 32 from 36 and we're left with 4.
Include the next digit (4) from the dividend after 4, then repeat: 44 / 8

Step 4:
8 goes into 44 5 times with a remainder of 4.
Put 5 as the next digit of the answer. 
Result so far: 1045.0
Subtracting 40 from 44 leaves us with 4.
Grab the next digit (4) from the dividend, add it to 4, then carry on: 44 / 8

Step 5:
44 divided by 8 is 5 with a remainder of 4.
Write down 5 as next digit of the result. 
Result so far: 10455.0
Subtracting 40 from 44 leaves us with 4.
Bring next digit (0) of the dividend behind the 4 and repeat the process: 40 / 8

On to step 6:
When dividing 40 by 8, we get 5 with a remainder of 0.
Write down 5 as next digit of the result. 
Result so far: 104555.0
Subtract 40 from 40 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.

On to step 7:
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: 104555.0
Deduct 0 from 0 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.

On to step 8:
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: 104555.0
If we take 0 away from 0, 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.

The final outcome is 104555.0, with a leftover of 0.0.