Hi all, i am trying a find all possible multiplier of a particular number. For example, a number 4 has 1x4 & 2x2, and a number 12 has 1x12, 2x6 & 3x4, and so on. So i basically came up with a code block for this but it only gives me the first multiplier. Any idea what is wrong with the codeblock?

```
x:int;
z = {};
y = {};
[Imperative]
{
d=0;
dd=0;
while (d<x)
{
while(dd<x)
{
y = (d+1)*(dd+1);
if (y == x)
{
z[d] = (d+1) + " x " + (dd+1);
}
dd=dd+1;
}
d=d+1;
}
}
out = z;
```