login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A285512 a(n) = smallest integer m>0 such that the positive integers not exceeding m and coprime to n generate the multiplicative group U(Z/nZ). 6
1, 1, 2, 3, 2, 5, 3, 5, 2, 3, 2, 7, 2, 3, 7, 5, 3, 5, 2, 11, 5, 7, 5, 13, 2, 5, 2, 5, 2, 11, 3, 5, 5, 3, 3, 7, 2, 3, 7, 11, 3, 11, 3, 7, 7, 5, 5, 13, 3, 3, 5, 5, 2, 5, 3, 11, 5, 3, 2, 13, 2, 3, 5, 5, 3, 7, 2, 5, 5, 19, 7, 13, 5, 5 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
COMMENTS
Denoted G(n) in Burthe (1997).
If A046145(n)>0, then a(n) <= A046145(n).
For all n>=3, a(n) is prime.
LINKS
Burthe, R. J., Jr. Upper bounds for least witnesses and generating sets. Acta Arith. 80:4 (1997), 311-326.
PROG
(PARI) { A285512(n) = my(S, s, t); S=Set([Mod(1, n)]); t=1; while( #S!=eulerphi(n), until(n%t, t=nextprime(t+1)); until(#S==s, s=#S; S=setunion(S, Set(S*t))); ); t; }
CROSSREFS
Sequence in context: A131470 A352708 A255709 * A232928 A323021 A026235
KEYWORD
nonn
AUTHOR
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 22:17 EDT 2024. Contains 371964 sequences. (Running on oeis4.)