513793 divided by 4 
The aim is to understand the frequency of 4 in 513793.

Let's proceed to step 1:
If we divide 5 by 4, we get 1 and a remainder of 1.
The next digit of our result is 1. 
Result so far: 1.0
If we take 4 away from 5, we end up with 1.
Grab the next digit (1) from the dividend, add it to 1, then carry on: 11 / 4

Step 2:
11 divided by 4 is 2 with a remainder of 3.
Use 2 as the next digit of our solution. 
Result so far: 12.0
Subtracting 8 from 11 leaves us with 3.
Include the next digit (3) from the dividend after 3, then repeat: 33 / 4

Advancing to step 3:
The number 4 fits into 33 8 times, leaving a remainder of 1.
Write down 8 as next digit of the result. 
Result so far: 128.0
Subtract 32 from 33 to get 1.
Take the next digit (7) from the dividend and append it to 1, then repeat: 17 / 4

Moving on to step 4:
4 can be fit into 17 4 times, resulting in a remainder of 1.
Use 4 as the next digit of our solution. 
Result so far: 1284.0
If we subtract 16 from 17, we get 1.
Include the next digit (9) from the dividend after 1, then repeat: 19 / 4

Moving on to step 5:
The number 4 fits into 19 4 times, leaving a remainder of 3.
The number 4 becomes the next digit in our result. 
Result so far: 12844.0
Subtract 16 from 19 to get 3.
Grab the next digit (3) from the dividend, add it to 3, then carry on: 33 / 4

Moving on to step 6:
4 goes into 33 8 times with a remainder of 1.
Write down 8 as next digit of the result. 
Result so far: 128448.0
If we subtract 32 from 33, we get 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:
4 goes into 10 2 times with a remainder of 2.
Use 2 as the next digit of our solution. 
Result so far: 128448.2
Deduct 8 from 10 and we're left 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.

Step 8:
20 divided by 4 is 5 with a remainder of 0.
The next digit of our result is 5. 
Result so far: 128448.25
If we take 20 away from 20, 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.

Step 9:
If we divide 0 by 4, we get 0 and a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 128448.25
Subtract 0 from 0 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.

Step 10:
0 divided by 4 is 0 with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 128448.25
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.

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