4661791 divided by 512 
The aim is to understand the frequency of 512 in 4661791.

On to step 1:
When dividing 4 by 512, we get 0 with a remainder of 4.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 4 to get 4.
Take the next digit (6) from the dividend and append it to 4, then repeat: 46 / 512

Advancing to step 2:
512 goes into 46 0 times with a remainder of 46.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 46, we get 46.
Take the next digit (6) from the dividend and append it to 46, then repeat: 466 / 512

Going ahead to step 3:
If we divide 466 by 512, we get 0 and a remainder of 466.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 466 and we're left with 466.
Include the next digit (1) from the dividend after 466, then repeat: 4661 / 512

On to step 4:
4661 divided by 512 is 9 with a remainder of 53.
Write down 9 as next digit of the result. 
Result so far: 9.0
Subtract 4608 from 4661 to get 53.
Grab the next digit (7) from the dividend, add it to 53, then carry on: 537 / 512

Step 5:
If we divide 537 by 512, we get 1 and a remainder of 25.
The next digit of our result is 1. 
Result so far: 91.0
If we subtract 512 from 537, we get 25.
Grab the next digit (9) from the dividend, add it to 25, then carry on: 259 / 512

Moving on to step 6:
512 goes into 259 0 times with a remainder of 259.
Record the quotient 0 as the next digit in the result. 
Result so far: 910.0
Subtracting 0 from 259 leaves us with 259.
Grab the next digit (1) from the dividend, add it to 259, then carry on: 2591 / 512

Let's proceed to step 7:
If we divide 2591 by 512, we get 5 and a remainder of 31.
Write down 5 as next digit of the result. 
Result so far: 9105.0
If we take 2560 away from 2591, we end up 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.

Moving on to step 8:
The number 512 fits into 310 0 times, leaving a remainder of 310.
Record the quotient 0 as the next digit in the result. 
Result so far: 9105.0
Subtract 0 from 310 to get 310.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3100, and continue the process.

On to step 9:
512 goes into 3100 6 times with a remainder of 28.
The number 6 becomes the next digit in our result. 
Result so far: 9105.06
Deduct 3072 from 3100 and we're left with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Step 10:
280 divided by 512 is 0 with a remainder of 280.
Record the quotient 0 as the next digit in the result. 
Result so far: 9105.06
If we subtract 0 from 280, we get 280.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2800, and continue the process.

Step 11:
2800 divided by 512 is 5 with a remainder of 240.
Put 5 as the next digit of the answer. 
Result so far: 9105.0605
If we subtract 2560 from 2800, we get 240.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2400, and continue the process.

Advancing to step 12:
512 can be fit into 2400 4 times, resulting in a remainder of 352.
Record the quotient 4 as the next digit in the result. 
Result so far: 9105.06054
If we subtract 2048 from 2400, we get 352.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3520, and continue the process.

Let's proceed to step 13:
If we divide 3520 by 512, we get 6 and a remainder of 448.
The number 6 becomes the next digit in our result. 
Result so far: 9105.060546
The remainder is 448 after subtracting 3072 from 3520.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4480, and continue the process.

Let's proceed to step 14:
When dividing 4480 by 512, we get 8 with a remainder of 384.
Use 8 as the next digit of our solution. 
Result so far: 9105.0605468
If we subtract 4096 from 4480, we get 384.
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 15:
512 can be fit into 3840 7 times, resulting in a remainder of 256.
The number 7 becomes the next digit in our result. 
Result so far: 9105.06054687
Deduct 3584 from 3840 and we're left with 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 9105.06054687 with a remainder of 2.56e-07.