We divide 366561 by 13
The aim is to understand the frequency of 13 in 366561.

Advancing to step 1:
If we divide 3 by 13, we get 0 and a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Bring next digit (6) of the dividend behind the 3 and repeat the process: 36 / 13

Going ahead to step 2:
13 goes into 36 2 times with a remainder of 10.
The number 2 becomes the next digit in our result. 
Result so far: 2.0
Subtracting 26 from 36 leaves us with 10.
Grab the next digit (6) from the dividend, add it to 10, then carry on: 106 / 13

Going ahead to step 3:
If we divide 106 by 13, we get 8 and a remainder of 2.
The next digit of our result is 8. 
Result so far: 28.0
Subtracting 104 from 106 leaves us with 2.
Include the next digit (5) from the dividend after 2, then repeat: 25 / 13

Let's proceed to step 4:
The number 13 fits into 25 1 times, leaving a remainder of 12.
Use 1 as the next digit of our solution. 
Result so far: 281.0
If we subtract 13 from 25, we get 12.
Grab the next digit (6) from the dividend, add it to 12, then carry on: 126 / 13

Going ahead to step 5:
126 divided by 13 is 9 with a remainder of 9.
Put 9 as the next digit of the answer. 
Result so far: 2819.0
Subtracting 117 from 126 leaves us with 9.
Include the next digit (1) from the dividend after 9, then repeat: 91 / 13

On to step 6:
13 goes into 91 7 times with a remainder of 0.
Put 7 as the next digit of the answer. 
Result so far: 28197.0
If we take 91 away from 91, 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.

Going ahead to step 7:
If we divide 0 by 13, we get 0 and a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 28197.0
If we subtract 0 from 0, 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.

Advancing to step 8:
When dividing 0 by 13, we get 0 with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 28197.0
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.

After the division, we end up with 28197.0 and a remainder of 0.0.