Let's divide 50435 by 4
The aim is to understand the frequency of 4 in 50435.

On to step 1:
If we divide 5 by 4, we get 1 and a remainder of 1.
Write down 1 as next digit of the result. 
Result so far: 1.0
Subtracting 4 from 5 leaves us with 1.
Fetch the next digit (0) from the dividend, attach it to 1 and continue: 10 / 4

Moving on to step 2:
The number 4 fits into 10 2 times, leaving a remainder of 2.
The next digit of our result is 2. 
Result so far: 12.0
Subtracting 8 from 10 leaves us with 2.
Include the next digit (4) from the dividend after 2, then repeat: 24 / 4

Going ahead to step 3:
24 divided by 4 is 6 with a remainder of 0.
Record the quotient 6 as the next digit in the result. 
Result so far: 126.0
If we subtract 24 from 24, we get 0.
Append the next digit (3) from the dividend to 0 and continue with: 3 / 4

Let's proceed to step 4:
4 can be fit into 3 0 times, resulting in a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 1260.0
Subtract 0 from 3 to get 3.
Take the next digit (5) from the dividend and append it to 3, then repeat: 35 / 4

Step 5:
If we divide 35 by 4, we get 8 and a remainder of 3.
Put 8 as the next digit of the answer. 
Result so far: 12608.0
If we take 32 away from 35, we end up with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Step 6:
If we divide 30 by 4, we get 7 and a remainder of 2.
Record the quotient 7 as the next digit in the result. 
Result so far: 12608.7
The remainder is 2 after subtracting 28 from 30.
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 7:
20 divided by 4 is 5 with a remainder of 0.
Put 5 as the next digit of the answer. 
Result so far: 12608.75
Subtract 20 from 20 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.

Let's proceed to step 8:
0 divided by 4 is 0 with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 12608.75
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.

Moving on to step 9:
The number 4 fits into 0 0 times, leaving a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 12608.75
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.

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