We look at the division of 81161 by 4 
The aim is to understand the frequency of 4 in 81161.

On to step 1:
The number 4 fits into 8 2 times, leaving a remainder of 0.
Put 2 as the next digit of the answer. 
Result so far: 2.0
Subtract 8 from 8 to get 0.
Bring next digit (1) of the dividend behind the 0 and repeat the process: 1 / 4

Going ahead to step 2:
4 goes into 1 0 times with a remainder of 1.
The next digit of our result is 0. 
Result so far: 20.0
Subtracting 0 from 1 leaves us with 1.
Append the next digit (1) from the dividend to 1 and continue with: 11 / 4

Step 3:
When dividing 11 by 4, we get 2 with a remainder of 3.
Put 2 as the next digit of the answer. 
Result so far: 202.0
Subtracting 8 from 11 leaves us with 3.
Take the next digit (6) from the dividend and append it to 3, then repeat: 36 / 4

Advancing to step 4:
36 divided by 4 is 9 with a remainder of 0.
The next digit of our result is 9. 
Result so far: 2029.0
Deduct 36 from 36 and we're left with 0.
Append the next digit (1) from the dividend to 0 and continue with: 1 / 4

Let's proceed to step 5:
4 can be fit into 1 0 times, resulting in a remainder of 1.
Write down 0 as next digit of the result. 
Result so far: 20290.0
The remainder is 1 after subtracting 0 from 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Let's proceed to step 6:
The number 4 fits into 10 2 times, leaving a remainder of 2.
Write down 2 as next digit of the result. 
Result so far: 20290.2
Subtract 8 from 10 to get 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 7:
If we divide 20 by 4, we get 5 and a remainder of 0.
Put 5 as the next digit of the answer. 
Result so far: 20290.25
Deduct 20 from 20 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.

Step 8:
When dividing 0 by 4, we get 0 with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 20290.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.

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: 20290.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.

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