Let's divide 816161 by 7
The aim is to understand the frequency of 7 in 816161.

Going ahead to step 1:
When dividing 8 by 7, we get 1 with a remainder of 1.
The next digit of our result is 1. 
Result so far: 1.0
Deduct 7 from 8 and we're left with 1.
Fetch the next digit (1) from the dividend, attach it to 1 and continue: 11 / 7

Moving on to step 2:
When dividing 11 by 7, we get 1 with a remainder of 4.
Write down 1 as next digit of the result. 
Result so far: 11.0
Subtract 7 from 11 to get 4.
Append the next digit (6) from the dividend to 4 and continue with: 46 / 7

Moving on to step 3:
When dividing 46 by 7, we get 6 with a remainder of 4.
Write down 6 as next digit of the result. 
Result so far: 116.0
The remainder is 4 after subtracting 42 from 46.
Fetch the next digit (1) from the dividend, attach it to 4 and continue: 41 / 7

Advancing to step 4:
The number 7 fits into 41 5 times, leaving a remainder of 6.
The number 5 becomes the next digit in our result. 
Result so far: 1165.0
Subtracting 35 from 41 leaves us with 6.
Fetch the next digit (6) from the dividend, attach it to 6 and continue: 66 / 7

Going ahead to step 5:
If we divide 66 by 7, we get 9 and a remainder of 3.
Record the quotient 9 as the next digit in the result. 
Result so far: 11659.0
Deduct 63 from 66 and we're left with 3.
Take the next digit (1) from the dividend and append it to 3, then repeat: 31 / 7

Step 6:
7 goes into 31 4 times with a remainder of 3.
Write down 4 as next digit of the result. 
Result so far: 116594.0
If we take 28 away from 31, 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.

Moving on to step 7:
7 can be fit into 30 4 times, resulting in a remainder of 2.
Put 4 as the next digit of the answer. 
Result so far: 116594.4
If we subtract 28 from 30, we 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.

On to step 8:
If we divide 20 by 7, we get 2 and a remainder of 6.
Use 2 as the next digit of our solution. 
Result so far: 116594.42
The remainder is 6 after subtracting 14 from 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Let's proceed to step 9:
7 can be fit into 60 8 times, resulting in a remainder of 4.
Put 8 as the next digit of the answer. 
Result so far: 116594.428
Subtract 56 from 60 to get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Advancing to step 10:
7 goes into 40 5 times with a remainder of 5.
Write down 5 as next digit of the result. 
Result so far: 116594.4285
If we take 35 away from 40, we end up with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Going ahead to step 11:
When dividing 50 by 7, we get 7 with a remainder of 1.
Record the quotient 7 as the next digit in the result. 
Result so far: 116594.42857
If we subtract 49 from 50, 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.

Step 12:
The number 7 fits into 10 1 times, leaving a remainder of 3.
Put 1 as the next digit of the answer. 
Result so far: 116594.428571
Subtracting 7 from 10 leaves us 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.

Going ahead to step 13:
7 goes into 30 4 times with a remainder of 2.
Write down 4 as next digit of the result. 
Result so far: 116594.4285714
Deduct 28 from 30 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 14:
The number 7 fits into 20 2 times, leaving a remainder of 6.
Put 2 as the next digit of the answer. 
Result so far: 116594.42857142
Deduct 14 from 20 and we're left with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

The quotient of the division is 116594.42857142, and the remainder is 6e-09.