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!)
A081889 Least primitive root corresponding to A081888(n). 2
1, 2, 3, 5, 7, 11, 19, 21, 23, 31, 35, 41, 43, 53, 57, 69, 87, 93, 95, 101, 115, 141, 173, 203 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
PROG
(Python)
from sympy import primitive_root
from itertools import count, islice
def f(n): r = primitive_root(n); return r if r != None else 0
def agen(r=0): yield from ((m, r:=f(m))[1] for m in count(1) if f(m) > r)
print(list(islice(agen(), 18))) # Michael S. Branicky, Feb 13 2023
CROSSREFS
Sequence in context: A284250 A291660 A069749 * A078139 A347337 A210186
KEYWORD
nonn,more
AUTHOR
Sven Simon, Mar 30 2003
EXTENSIONS
a(24) from Michael S. Branicky, Feb 20 2023
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 July 30 18:07 EDT 2024. Contains 374770 sequences. (Running on oeis4.)