161585 ÷ 32 
The aim is to understand the frequency of 32 in 161585.

Step 1:
32 goes into 1 0 times with a remainder of 1.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 1 after subtracting 0 from 1.
Fetch the next digit (6) from the dividend, attach it to 1 and continue: 16 / 32

Step 2:
The number 32 fits into 16 0 times, leaving a remainder of 16.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 16 after subtracting 0 from 16.
Fetch the next digit (1) from the dividend, attach it to 16 and continue: 161 / 32

On to step 3:
The number 32 fits into 161 5 times, leaving a remainder of 1.
Write down 5 as next digit of the result. 
Result so far: 5.0
If we subtract 160 from 161, we get 1.
Take the next digit (5) from the dividend and append it to 1, then repeat: 15 / 32

On to step 4:
The number 32 fits into 15 0 times, leaving a remainder of 15.
The number 0 becomes the next digit in our result. 
Result so far: 50.0
If we take 0 away from 15, we end up with 15.
Bring next digit (8) of the dividend behind the 15 and repeat the process: 158 / 32

Going ahead to step 5:
When dividing 158 by 32, we get 4 with a remainder of 30.
Record the quotient 4 as the next digit in the result. 
Result so far: 504.0
The remainder is 30 after subtracting 128 from 158.
Append the next digit (5) from the dividend to 30 and continue with: 305 / 32

Let's proceed to step 6:
When dividing 305 by 32, we get 9 with a remainder of 17.
Record the quotient 9 as the next digit in the result. 
Result so far: 5049.0
The remainder is 17 after subtracting 288 from 305.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Let's proceed to step 7:
When dividing 170 by 32, we get 5 with a remainder of 10.
Use 5 as the next digit of our solution. 
Result so far: 5049.5
If we subtract 160 from 170, we get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Going ahead to step 8:
32 can be fit into 100 3 times, resulting in a remainder of 4.
The number 3 becomes the next digit in our result. 
Result so far: 5049.53
The remainder is 4 after subtracting 96 from 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Going ahead to step 9:
The number 32 fits into 40 1 times, leaving a remainder of 8.
The next digit of our result is 1. 
Result so far: 5049.531
Subtract 32 from 40 to get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Let's proceed to step 10:
32 goes into 80 2 times with a remainder of 16.
Use 2 as the next digit of our solution. 
Result so far: 5049.5312
Subtract 64 from 80 to get 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 11:
160 divided by 32 is 5 with a remainder of 0.
The next digit of our result is 5. 
Result so far: 5049.53125
If we subtract 160 from 160, we get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

On to step 12:
0 divided by 32 is 0 with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 5049.53125
Deduct 0 from 0 and we're left with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Let's proceed to step 13:
32 goes into 0 0 times with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 5049.53125
If we take 0 away from 0, we end up with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

The final outcome is 5049.53125, with a leftover of 0.0.