> Not really: generators of the additive group are coprime to p, not to p-1.
>
> Perhaps Johan was thinking of the fact that if g is one multiplicative
> generator (aka primitive root) then g^k is another if and only if
> gcd(k,p-1)=1.
I think I should just not answer sage-support questions before properly
waking up...
In Cohen's "A course in computational number theory" he says (p. 25):
"To find a primitive root modulo p there seems to be no better way than
to proceed as follows", and then gives an algorithm which is essentially
what Dima suggested, trying 2, 3, ... until a primitive element is
found. Primitivity is tested by factoring p-1.
Best,
Johan