User Portlet User Portlet

Discussions
Hello all, I try to put all outputs in a set. Unfortunately I cannot it. Here is the program: p = 7; Do[ Do[ If[t^2 + t*k + k^2 == p, {a = t, b = k}] , {t, 1, p}] , {k, 1, p}] tt = a + b - 1; ...
Dear Daniel, Thank you very much for the response. This solved my problem.