Let's divide 400664 by 52
The aim is to understand the frequency of 52 in 400664.

On to step 1:
When dividing 4 by 52, we get 0 with a remainder of 4.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 4 and we're left with 4.
Take the next digit (0) from the dividend and append it to 4, then repeat: 40 / 52

Let's proceed to step 2:
The number 52 fits into 40 0 times, leaving a remainder of 40.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 40 and we're left with 40.
Append the next digit (0) from the dividend to 40 and continue with: 400 / 52

Advancing to step 3:
52 can be fit into 400 7 times, resulting in a remainder of 36.
Write down 7 as next digit of the result. 
Result so far: 7.0
The remainder is 36 after subtracting 364 from 400.
Take the next digit (6) from the dividend and append it to 36, then repeat: 366 / 52

On to step 4:
The number 52 fits into 366 7 times, leaving a remainder of 2.
Write down 7 as next digit of the result. 
Result so far: 77.0
If we subtract 364 from 366, we get 2.
Include the next digit (6) from the dividend after 2, then repeat: 26 / 52

Step 5:
52 can be fit into 26 0 times, resulting in a remainder of 26.
Use 0 as the next digit of our solution. 
Result so far: 770.0
If we take 0 away from 26, we end up with 26.
Bring next digit (4) of the dividend behind the 26 and repeat the process: 264 / 52

Going ahead to step 6:
52 can be fit into 264 5 times, resulting in a remainder of 4.
The number 5 becomes the next digit in our result. 
Result so far: 7705.0
If we subtract 260 from 264, 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.

On to step 7:
40 divided by 52 is 0 with a remainder of 40.
The number 0 becomes the next digit in our result. 
Result so far: 7705.0
The remainder is 40 after subtracting 0 from 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 8:
If we divide 400 by 52, we get 7 and a remainder of 36.
Use 7 as the next digit of our solution. 
Result so far: 7705.07
If we subtract 364 from 400, we get 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

On to step 9:
If we divide 360 by 52, we get 6 and a remainder of 48.
The number 6 becomes the next digit in our result. 
Result so far: 7705.076
Subtract 312 from 360 to get 48.
Since there are no more digits in the dividend, we add a zero to the remainder making it 480, and continue the process.

Step 10:
480 divided by 52 is 9 with a remainder of 12.
Use 9 as the next digit of our solution. 
Result so far: 7705.0769
Subtract 468 from 480 to get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Step 11:
The number 52 fits into 120 2 times, leaving a remainder of 16.
Record the quotient 2 as the next digit in the result. 
Result so far: 7705.07692
Deduct 104 from 120 and we're left with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Going ahead to step 12:
The number 52 fits into 160 3 times, leaving a remainder of 4.
Record the quotient 3 as the next digit in the result. 
Result so far: 7705.076923
The remainder is 4 after subtracting 156 from 160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Moving on to step 13:
The number 52 fits into 40 0 times, leaving a remainder of 40.
The next digit of our result is 0. 
Result so far: 7705.076923
The remainder is 40 after subtracting 0 from 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Step 14:
52 can be fit into 400 7 times, resulting in a remainder of 36.
The next digit of our result is 7. 
Result so far: 7705.07692307
The remainder is 36 after subtracting 364 from 400.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

After the division, we end up with 7705.07692307 and a remainder of 3.6e-08.