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

Moving on to step 1:
6 divided by 4 is 1 with a remainder of 2.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Deduct 4 from 6 and we're left with 2.
Bring next digit (5) of the dividend behind the 2 and repeat the process: 25 / 4

Advancing to step 2:
If we divide 25 by 4, we get 6 and a remainder of 1.
The next digit of our result is 6. 
Result so far: 16.0
Deduct 24 from 25 and we're left with 1.
Fetch the next digit (1) from the dividend, attach it to 1 and continue: 11 / 4

Going ahead to step 3:
4 goes into 11 2 times with a remainder of 3.
Use 2 as the next digit of our solution. 
Result so far: 162.0
If we subtract 8 from 11, we get 3.
Grab the next digit (1) from the dividend, add it to 3, then carry on: 31 / 4

Going ahead to step 4:
The number 4 fits into 31 7 times, leaving a remainder of 3.
Put 7 as the next digit of the answer. 
Result so far: 1627.0
If we take 28 away from 31, we end up with 3.
Include the next digit (9) from the dividend after 3, then repeat: 39 / 4

Going ahead to step 5:
39 divided by 4 is 9 with a remainder of 3.
Record the quotient 9 as the next digit in the result. 
Result so far: 16279.0
Subtracting 36 from 39 leaves us with 3.
Take the next digit (7) from the dividend and append it to 3, then repeat: 37 / 4

Step 6:
37 divided by 4 is 9 with a remainder of 1.
Use 9 as the next digit of our solution. 
Result so far: 162799.0
Subtract 36 from 37 to 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:
If we divide 10 by 4, we get 2 and a remainder of 2.
Put 2 as the next digit of the answer. 
Result so far: 162799.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.

On to step 8:
When dividing 20 by 4, we get 5 with a remainder of 0.
Use 5 as the next digit of our solution. 
Result so far: 162799.25
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.

Going ahead to step 9:
0 divided by 4 is 0 with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 162799.25
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.

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

Our division results in 162799.25 with a remaining 0.0.