Group order of Z_p + Z_p*(sqrt(n))
If anyone can shed some light on the problem below (even if your unsure of the answer), your help would be much appreciated.
Let
be a positive non-square integer and
a prime number.
Consider the set 
In this set, we define multiplication as follows:
 \cdot (a_2 + b_2\cdot \sqrt{n}) = <br /> <br />
(a_1 \cdot a_2 + n \cdot b_1 \cdot b_2) Z_p + ((a_1 \cdot b_2 + b_1 \cdot a_2)Z_p) \cdot \sqrt{n})
The questions I'm interested in are the following:
1) Does this set contain primitive elements regardless of
? That is, does there always exist some element
such that
.
2) If the answer to the above is in the negative, then when is the multiplicative order of S less than
? When is it equal to
?