Let's divide 38163191 by 522
The aim is to understand the frequency of 522 in 38163191.

Step 1:
522 can be fit into 3 0 times, resulting in a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Append the next digit (8) from the dividend to 3 and continue with: 38 / 522

On to step 2:
When dividing 38 by 522, we get 0 with a remainder of 38.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 38, we end up with 38.
Fetch the next digit (1) from the dividend, attach it to 38 and continue: 381 / 522

Let's proceed to step 3:
When dividing 381 by 522, we get 0 with a remainder of 381.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 381, we end up with 381.
Bring next digit (6) of the dividend behind the 381 and repeat the process: 3816 / 522

Moving on to step 4:
522 goes into 3816 7 times with a remainder of 162.
The number 7 becomes the next digit in our result. 
Result so far: 7.0
Deduct 3654 from 3816 and we're left with 162.
Take the next digit (3) from the dividend and append it to 162, then repeat: 1623 / 522

On to step 5:
1623 divided by 522 is 3 with a remainder of 57.
The next digit of our result is 3. 
Result so far: 73.0
Subtract 1566 from 1623 to get 57.
Bring next digit (1) of the dividend behind the 57 and repeat the process: 571 / 522

On to step 6:
If we divide 571 by 522, we get 1 and a remainder of 49.
Record the quotient 1 as the next digit in the result. 
Result so far: 731.0
The remainder is 49 after subtracting 522 from 571.
Include the next digit (9) from the dividend after 49, then repeat: 499 / 522

Moving on to step 7:
522 goes into 499 0 times with a remainder of 499.
The number 0 becomes the next digit in our result. 
Result so far: 7310.0
Subtracting 0 from 499 leaves us with 499.
Append the next digit (1) from the dividend to 499 and continue with: 4991 / 522

Going ahead to step 8:
The number 522 fits into 4991 9 times, leaving a remainder of 293.
Write down 9 as next digit of the result. 
Result so far: 73109.0
Subtract 4698 from 4991 to get 293.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2930, and continue the process.

Moving on to step 9:
The number 522 fits into 2930 5 times, leaving a remainder of 320.
The number 5 becomes the next digit in our result. 
Result so far: 73109.5
Deduct 2610 from 2930 and we're left with 320.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3200, and continue the process.

Let's proceed to step 10:
522 can be fit into 3200 6 times, resulting in a remainder of 68.
The next digit of our result is 6. 
Result so far: 73109.56
The remainder is 68 after subtracting 3132 from 3200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 680, and continue the process.

Advancing to step 11:
The number 522 fits into 680 1 times, leaving a remainder of 158.
Record the quotient 1 as the next digit in the result. 
Result so far: 73109.561
Subtracting 522 from 680 leaves us with 158.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1580, and continue the process.

On to step 12:
522 can be fit into 1580 3 times, resulting in a remainder of 14.
Write down 3 as next digit of the result. 
Result so far: 73109.5613
The remainder is 14 after subtracting 1566 from 1580.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Going ahead to step 13:
When dividing 140 by 522, we get 0 with a remainder of 140.
Write down 0 as next digit of the result. 
Result so far: 73109.5613
If we subtract 0 from 140, we get 140.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1400, and continue the process.

Going ahead to step 14:
If we divide 1400 by 522, we get 2 and a remainder of 356.
Use 2 as the next digit of our solution. 
Result so far: 73109.561302
Subtract 1044 from 1400 to get 356.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3560, and continue the process.

Step 15:
When dividing 3560 by 522, we get 6 with a remainder of 428.
Record the quotient 6 as the next digit in the result. 
Result so far: 73109.5613026
If we subtract 3132 from 3560, we get 428.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4280, and continue the process.

Let's proceed to step 16:
When dividing 4280 by 522, we get 8 with a remainder of 104.
The number 8 becomes the next digit in our result. 
Result so far: 73109.56130268
If we take 4176 away from 4280, we end up with 104.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1040, and continue the process.

The final result is 73109.56130268 with a remainder of 1.04e-07.