We're dividing 540353 by 4 
The aim is to understand the frequency of 4 in 540353.

Let's proceed to step 1:
The number 4 fits into 5 1 times, leaving a remainder of 1.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
Deduct 4 from 5 and we're left with 1.
Take the next digit (4) from the dividend and append it to 1, then repeat: 14 / 4

Advancing to step 2:
14 divided by 4 is 3 with a remainder of 2.
Use 3 as the next digit of our solution. 
Result so far: 13.0
The remainder is 2 after subtracting 12 from 14.
Append the next digit (0) from the dividend to 2 and continue with: 20 / 4

Going ahead to step 3:
The number 4 fits into 20 5 times, leaving a remainder of 0.
Use 5 as the next digit of our solution. 
Result so far: 135.0
Deduct 20 from 20 and we're left with 0.
Bring next digit (3) of the dividend behind the 0 and repeat the process: 3 / 4

Advancing to step 4:
If we divide 3 by 4, we get 0 and a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 1350.0
The remainder is 3 after subtracting 0 from 3.
Append the next digit (5) from the dividend to 3 and continue with: 35 / 4

On to step 5:
If we divide 35 by 4, we get 8 and a remainder of 3.
Record the quotient 8 as the next digit in the result. 
Result so far: 13508.0
If we take 32 away from 35, we end up with 3.
Fetch the next digit (3) from the dividend, attach it to 3 and continue: 33 / 4

On to step 6:
The number 4 fits into 33 8 times, leaving a remainder of 1.
Put 8 as the next digit of the answer. 
Result so far: 135088.0
If we take 32 away from 33, we end up with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Advancing to step 7:
If we divide 10 by 4, we get 2 and a remainder of 2.
Write down 2 as next digit of the result. 
Result so far: 135088.2
Subtracting 8 from 10 leaves us with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Moving on to step 8:
20 divided by 4 is 5 with a remainder of 0.
The next digit of our result is 5. 
Result so far: 135088.25
Subtracting 20 from 20 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.

Going ahead to step 9:
When dividing 0 by 4, we get 0 with a remainder of 0.
The next digit of our result is 0. 
Result so far: 135088.25
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.

Going ahead to step 10:
If we divide 0 by 4, we get 0 and a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 135088.25
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.

The final result is 135088.25 with a remainder of 0.0.