5340685 divided by 522 
The aim is to understand the frequency of 522 in 5340685.

Advancing to step 1:
522 can be fit into 5 0 times, resulting in a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Fetch the next digit (3) from the dividend, attach it to 5 and continue: 53 / 522

Going ahead to step 2:
522 goes into 53 0 times with a remainder of 53.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 53, we end up with 53.
Include the next digit (4) from the dividend after 53, then repeat: 534 / 522

Let's proceed to step 3:
522 goes into 534 1 times with a remainder of 12.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Subtract 522 from 534 to get 12.
Append the next digit (0) from the dividend to 12 and continue with: 120 / 522

On to step 4:
If we divide 120 by 522, we get 0 and a remainder of 120.
Put 0 as the next digit of the answer. 
Result so far: 10.0
Subtracting 0 from 120 leaves us with 120.
Include the next digit (6) from the dividend after 120, then repeat: 1206 / 522

On to step 5:
1206 divided by 522 is 2 with a remainder of 162.
Write down 2 as next digit of the result. 
Result so far: 102.0
The remainder is 162 after subtracting 1044 from 1206.
Grab the next digit (8) from the dividend, add it to 162, then carry on: 1628 / 522

Going ahead to step 6:
When dividing 1628 by 522, we get 3 with a remainder of 62.
The next digit of our result is 3. 
Result so far: 1023.0
If we subtract 1566 from 1628, we get 62.
Include the next digit (5) from the dividend after 62, then repeat: 625 / 522

Step 7:
522 goes into 625 1 times with a remainder of 103.
Record the quotient 1 as the next digit in the result. 
Result so far: 10231.0
Subtracting 522 from 625 leaves us with 103.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1030, and continue the process.

Step 8:
522 can be fit into 1030 1 times, resulting in a remainder of 508.
The number 1 becomes the next digit in our result. 
Result so far: 10231.1
The remainder is 508 after subtracting 522 from 1030.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5080, and continue the process.

Step 9:
5080 divided by 522 is 9 with a remainder of 382.
Put 9 as the next digit of the answer. 
Result so far: 10231.19
If we subtract 4698 from 5080, we get 382.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3820, and continue the process.

Advancing to step 10:
When dividing 3820 by 522, we get 7 with a remainder of 166.
Use 7 as the next digit of our solution. 
Result so far: 10231.197
Deduct 3654 from 3820 and we're left with 166.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1660, and continue the process.

On to step 11:
When dividing 1660 by 522, we get 3 with a remainder of 94.
Record the quotient 3 as the next digit in the result. 
Result so far: 10231.1973
If we take 1566 away from 1660, we end up with 94.
Since there are no more digits in the dividend, we add a zero to the remainder making it 940, and continue the process.

Step 12:
When dividing 940 by 522, we get 1 with a remainder of 418.
Use 1 as the next digit of our solution. 
Result so far: 10231.19731
If we subtract 522 from 940, we get 418.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4180, and continue the process.

Going ahead to step 13:
522 can be fit into 4180 8 times, resulting in a remainder of 4.
Write down 8 as next digit of the result. 
Result so far: 10231.197318
Subtract 4176 from 4180 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 14:
When dividing 40 by 522, we get 0 with a remainder of 40.
Put 0 as the next digit of the answer. 
Result so far: 10231.197318
If we take 0 away from 40, we end up 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.

Moving on to step 15:
522 can be fit into 400 0 times, resulting in a remainder of 400.
Put 0 as the next digit of the answer. 
Result so far: 10231.197318
Subtracting 0 from 400 leaves us with 400.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4000, and continue the process.

The final result is 10231.197318 with a remainder of 4e-07.