Assume $\alpha_{0},...,\alpha_{k}, \beta_{0},...,\beta_{j}, \gamma_{0},...,\gamma_{k}, \delta_{0},...,\delta_{j}$ are sets of indexed positive integers.
Assume also:
$$a=\sum_{i=0}^k (-1)^i\alpha_i^{\frac1\gamma_i} $$
$$b=\sum_{i=0}^j (-1)^i\beta_i^{\frac1\delta_i} $$
Under which non-trivial conditions $a^2+b^2$ is equal to a positive integer $n$?
Ok, the question as it is apparently doesn't meet the standards.
Given that the problem for natural numbers is quite simple and irreducible rationals cannot be generated by the sums, I'm talking about sums of radicals. I'm not immediately interested in complex extensions so the radicals will be evaluated to the positive branch or remain unevaluated until they meet a multiple or their additive inverse.
So the problem can be split into 2 questions.
1) More basic. When does a squared alternating finite sum of radicals generate an integer?
2) When does the sum of 2 squared alternating sums of radicals generate an integer?
First case. These sums considered singularly, once squared, can generate an integer IFF:
a) trivial. The terms are already integers OR
b) trivial. the terms consist of a single square root $(i.e. k = 0$ and $\gamma_0=2)$ OR
c) non-trivial @Vincent. For constant $\gamma$ the $\alpha$ terms' non common prime factors must have degree equal to a multiple of $\gamma$. The common prime factors of $\alpha$ terms must have degrees modulo $\gamma$ congruent to $m$ where $m=\gamma$ or $m=\frac{\gamma}{2}$
d) Here I stop because there seem to be a lot of other options and I can't figure out a way to characterize all of them.
Second case. Here we can say that the sum of 2 squared alternating series of radicals generates an integer IFF:
a) trivial. both the sums satisfy a condition of the previous point OR
b) Given expansions similar to $a = 2-\sqrt2$ and $b = 32^\frac14 = 2*2^\frac14$ we get an integer n despite both terms being irrational. And this strategy can apparently be used for much more intricate terms.
c) Here I stop too.
Every non-answering suggestion/comment regarding which approach could be more promising is appreciated too.