Is there any series of primes $A=(a_1,a_2,...a_n)$ s.t:
$a_1^2+a_2^2+...+a_n^2=S$
And there is a series $B=(b_1,...b_n)$ which every $b_i\in A$ (Yes, it might be $b_i = b_j$ when $ i\neq j$).
And satisfy $b_1^2+b_2^2+...+b_n^2=S$
Note: $a_i \neq a_j$ when $i \neq j$ but not in B.
One more rule, B cannot be a $A$ in other/same order. Wihch means must be in B at least two element in B that are equal.
EDIT: calrification:
I want to find a group of $n$ different primes, that a the sum of their squares will be equal to the sum of square of another group of n primes, which are subset of the first one, for example:
Lets take 3, 5 and 11. Is there any 3 elements you can take from that group (not all of them) so their square in sum will be $3^2+5^2+11^2=155$? A try can be $(11,11,3)$ but $11^2+11^2+3^2 \neq 155$
Don't know were to start from.. Thanks
Yes there are such sequences. For example,
$ \begin{align*} 7^2+13^2+17^2&=13^2+13^2+13^2=507\\2^2+ 7^2 +13^2 +17^2&= 2^2 +13^2 +13^2 +13^2= 511\\7^2+11^2+17^2+19^2&=7^2+7^2+19^2+19^2=820 \end{align*}$
Edit: Posting the code I used to generate these.