Let's divide 87071791 by 162
The aim is to understand the frequency of 162 in 87071791.

Advancing to step 1:
8 divided by 162 is 0 with a remainder of 8.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 8, we get 8.
Include the next digit (7) from the dividend after 8, then repeat: 87 / 162

Moving on to step 2:
The number 162 fits into 87 0 times, leaving a remainder of 87.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 87 leaves us with 87.
Take the next digit (0) from the dividend and append it to 87, then repeat: 870 / 162

Advancing to step 3:
If we divide 870 by 162, we get 5 and a remainder of 60.
Use 5 as the next digit of our solution. 
Result so far: 5.0
Subtract 810 from 870 to get 60.
Append the next digit (7) from the dividend to 60 and continue with: 607 / 162

Advancing to step 4:
If we divide 607 by 162, we get 3 and a remainder of 121.
The next digit of our result is 3. 
Result so far: 53.0
If we subtract 486 from 607, we get 121.
Grab the next digit (1) from the dividend, add it to 121, then carry on: 1211 / 162

Step 5:
1211 divided by 162 is 7 with a remainder of 77.
Write down 7 as next digit of the result. 
Result so far: 537.0
Subtracting 1134 from 1211 leaves us with 77.
Bring next digit (7) of the dividend behind the 77 and repeat the process: 777 / 162

Moving on to step 6:
The number 162 fits into 777 4 times, leaving a remainder of 129.
Use 4 as the next digit of our solution. 
Result so far: 5374.0
If we take 648 away from 777, we end up with 129.
Fetch the next digit (9) from the dividend, attach it to 129 and continue: 1299 / 162

Let's proceed to step 7:
162 goes into 1299 8 times with a remainder of 3.
Record the quotient 8 as the next digit in the result. 
Result so far: 53748.0
Subtract 1296 from 1299 to get 3.
Append the next digit (1) from the dividend to 3 and continue with: 31 / 162

Advancing to step 8:
31 divided by 162 is 0 with a remainder of 31.
Write down 0 as next digit of the result. 
Result so far: 537480.0
Deduct 0 from 31 and we're left with 31.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

On to step 9:
162 goes into 310 1 times with a remainder of 148.
Write down 1 as next digit of the result. 
Result so far: 537480.1
Subtract 162 from 310 to get 148.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1480, and continue the process.

On to step 10:
1480 divided by 162 is 9 with a remainder of 22.
Use 9 as the next digit of our solution. 
Result so far: 537480.19
The remainder is 22 after subtracting 1458 from 1480.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

On to step 11:
When dividing 220 by 162, we get 1 with a remainder of 58.
Use 1 as the next digit of our solution. 
Result so far: 537480.191
If we take 162 away from 220, we end up with 58.
Since there are no more digits in the dividend, we add a zero to the remainder making it 580, and continue the process.

Let's proceed to step 12:
When dividing 580 by 162, we get 3 with a remainder of 94.
Put 3 as the next digit of the answer. 
Result so far: 537480.1913
If we subtract 486 from 580, we get 94.
Since there are no more digits in the dividend, we add a zero to the remainder making it 940, and continue the process.

On to step 13:
162 can be fit into 940 5 times, resulting in a remainder of 130.
Record the quotient 5 as the next digit in the result. 
Result so far: 537480.19135
Deduct 810 from 940 and we're left with 130.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1300, and continue the process.

Moving on to step 14:
162 can be fit into 1300 8 times, resulting in a remainder of 4.
Record the quotient 8 as the next digit in the result. 
Result so far: 537480.191358
If we subtract 1296 from 1300, we 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.

Let's proceed to step 15:
162 can be fit into 40 0 times, resulting in a remainder of 40.
The number 0 becomes the next digit in our result. 
Result so far: 537480.191358
Deduct 0 from 40 and we're left with 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Going ahead to step 16:
When dividing 400 by 162, we get 2 with a remainder of 76.
Use 2 as the next digit of our solution. 
Result so far: 537480.19135802
Subtract 324 from 400 to get 76.
Since there are no more digits in the dividend, we add a zero to the remainder making it 760, and continue the process.

The final result is 537480.19135802 with a remainder of 7.6e-08.