39897579 ÷ 512 
The aim is to understand the frequency of 512 in 39897579.

Going ahead to step 1:
512 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 subtract 0 from 3, we get 3.
Include the next digit (9) from the dividend after 3, then repeat: 39 / 512

On to step 2:
When dividing 39 by 512, we get 0 with a remainder of 39.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 39 leaves us with 39.
Grab the next digit (8) from the dividend, add it to 39, then carry on: 398 / 512

Step 3:
The number 512 fits into 398 0 times, leaving a remainder of 398.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 398 after subtracting 0 from 398.
Append the next digit (9) from the dividend to 398 and continue with: 3989 / 512

On to step 4:
The number 512 fits into 3989 7 times, leaving a remainder of 405.
The next digit of our result is 7. 
Result so far: 7.0
If we subtract 3584 from 3989, we get 405.
Include the next digit (7) from the dividend after 405, then repeat: 4057 / 512

On to step 5:
When dividing 4057 by 512, we get 7 with a remainder of 473.
Use 7 as the next digit of our solution. 
Result so far: 77.0
Subtracting 3584 from 4057 leaves us with 473.
Grab the next digit (5) from the dividend, add it to 473, then carry on: 4735 / 512

On to step 6:
The number 512 fits into 4735 9 times, leaving a remainder of 127.
Write down 9 as next digit of the result. 
Result so far: 779.0
Deduct 4608 from 4735 and we're left with 127.
Fetch the next digit (7) from the dividend, attach it to 127 and continue: 1277 / 512

Advancing to step 7:
When dividing 1277 by 512, we get 2 with a remainder of 253.
Use 2 as the next digit of our solution. 
Result so far: 7792.0
Deduct 1024 from 1277 and we're left with 253.
Bring next digit (9) of the dividend behind the 253 and repeat the process: 2539 / 512

On to step 8:
If we divide 2539 by 512, we get 4 and a remainder of 491.
Write down 4 as next digit of the result. 
Result so far: 77924.0
Subtracting 2048 from 2539 leaves us with 491.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4910, and continue the process.

Let's proceed to step 9:
512 goes into 4910 9 times with a remainder of 302.
Record the quotient 9 as the next digit in the result. 
Result so far: 77924.9
Subtracting 4608 from 4910 leaves us with 302.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3020, and continue the process.

On to step 10:
3020 divided by 512 is 5 with a remainder of 460.
The next digit of our result is 5. 
Result so far: 77924.95
If we subtract 2560 from 3020, we get 460.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4600, and continue the process.

Advancing to step 11:
If we divide 4600 by 512, we get 8 and a remainder of 504.
Record the quotient 8 as the next digit in the result. 
Result so far: 77924.958
The remainder is 504 after subtracting 4096 from 4600.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5040, and continue the process.

Advancing to step 12:
If we divide 5040 by 512, we get 9 and a remainder of 432.
The next digit of our result is 9. 
Result so far: 77924.9589
The remainder is 432 after subtracting 4608 from 5040.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4320, and continue the process.

Step 13:
The number 512 fits into 4320 8 times, leaving a remainder of 224.
Put 8 as the next digit of the answer. 
Result so far: 77924.95898
If we subtract 4096 from 4320, we get 224.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2240, and continue the process.

Advancing to step 14:
512 can be fit into 2240 4 times, resulting in a remainder of 192.
Use 4 as the next digit of our solution. 
Result so far: 77924.958984
Deduct 2048 from 2240 and we're left with 192.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1920, and continue the process.

Moving on to step 15:
1920 divided by 512 is 3 with a remainder of 384.
The number 3 becomes the next digit in our result. 
Result so far: 77924.9589843
The remainder is 384 after subtracting 1536 from 1920.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3840, and continue the process.

Going ahead to step 16:
If we divide 3840 by 512, we get 7 and a remainder of 256.
The next digit of our result is 7. 
Result so far: 77924.95898437
Subtract 3584 from 3840 to get 256.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2560, and continue the process.

The final result is 77924.95898437 with a remainder of 2.56e-07.