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

Moving on to step 1:
8 can be fit into 5 0 times, resulting in a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Fetch the next digit (1) from the dividend, attach it to 5 and continue: 51 / 8

Advancing to step 2:
If we divide 51 by 8, we get 6 and a remainder of 3.
Put 6 as the next digit of the answer. 
Result so far: 6.0
The remainder is 3 after subtracting 48 from 51.
Include the next digit (2) from the dividend after 3, then repeat: 32 / 8

On to step 3:
The number 8 fits into 32 4 times, leaving a remainder of 0.
Write down 4 as next digit of the result. 
Result so far: 64.0
If we take 32 away from 32, we end up with 0.
Take the next digit (5) from the dividend and append it to 0, then repeat: 5 / 8

Advancing to step 4:
If we divide 5 by 8, we get 0 and a remainder of 5.
The next digit of our result is 0. 
Result so far: 640.0
If we subtract 0 from 5, we get 5.
Append the next digit (4) from the dividend to 5 and continue with: 54 / 8

Going ahead to step 5:
8 can be fit into 54 6 times, resulting in a remainder of 6.
The number 6 becomes the next digit in our result. 
Result so far: 6406.0
If we subtract 48 from 54, we get 6.
Fetch the next digit (3) from the dividend, attach it to 6 and continue: 63 / 8

Let's proceed to step 6:
The number 8 fits into 63 7 times, leaving a remainder of 7.
Record the quotient 7 as the next digit in the result. 
Result so far: 64067.0
If we subtract 56 from 63, we get 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Moving on to step 7:
The number 8 fits into 70 8 times, leaving a remainder of 6.
Put 8 as the next digit of the answer. 
Result so far: 64067.8
Subtracting 64 from 70 leaves us with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Let's proceed to step 8:
When dividing 60 by 8, we get 7 with a remainder of 4.
Write down 7 as next digit of the result. 
Result so far: 64067.87
If we subtract 56 from 60, 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.

Let's proceed to step 9:
8 goes into 40 5 times with a remainder of 0.
The next digit of our result is 5. 
Result so far: 64067.875
If we take 40 away from 40, 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.

Advancing to step 10:
8 goes into 0 0 times with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 64067.875
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.

Moving on to step 11:
When dividing 0 by 8, we get 0 with a remainder of 0.
The next digit of our result is 0. 
Result so far: 64067.875
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 64067.875 with a remaining 0.0.