User Portlet User Portlet

Discussions
Can someone tell me how to produce the series defined by the number of unique elements a/b, where abs(a) 3 (-1, 0 and 1) n=2 -> 7 (-2, -1, -1/2, 0, 1/2, 1, 2) n=3 -> 15 n=4 -> 23 etc..Thanks a lot!