Let's create an example with safe primes, suppose we have a group Zp* (operation is multiplication), and where p=23, q=11 and g=2.
Then group elements are {1 2 4 8 16 9 18 13 3 6 12}, so there are exactly q count elements and it turns out that all these elements are quadratic residues modulo p.
However if I take a group Zp* and where p=59, q=29 and g=2, it will generate me a group with p count elements where 50/50 are quadratic and non-quadratic residues modulo p.
How many elements will generate, for example, DH2048bit group and are all they quadratic residues modulo p? Where this guarantee comes from?
I believe that it is a dumb question, but I'm kinda stuck on understanding it...