We're dividing 51024 by 3 
The aim is to understand the frequency of 3 in 51024.

On to step 1:
If we divide 5 by 3, we get 1 and a remainder of 2.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
The remainder is 2 after subtracting 3 from 5.
Bring next digit (1) of the dividend behind the 2 and repeat the process: 21 / 3

Step 2:
The number 3 fits into 21 7 times, leaving a remainder of 0.
Put 7 as the next digit of the answer. 
Result so far: 17.0
The remainder is 0 after subtracting 21 from 21.
Include the next digit (0) from the dividend after 0, then repeat: 0 / 3

Moving on to step 3:
0 divided by 3 is 0 with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 170.0
Subtracting 0 from 0 leaves us with 0.
Append the next digit (2) from the dividend to 0 and continue with: 2 / 3

Going ahead to step 4:
If we divide 2 by 3, we get 0 and a remainder of 2.
Write down 0 as next digit of the result. 
Result so far: 1700.0
If we subtract 0 from 2, we get 2.
Grab the next digit (4) from the dividend, add it to 2, then carry on: 24 / 3

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

Going ahead to step 6:
If we divide 0 by 3, we get 0 and a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 17008.0
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.

Step 7:
0 divided by 3 is 0 with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 17008.0
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.

In conclusion, the division gives 17008.0 with a balance of 0.0.