The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A333349 a(n) is the least prime p such that n <= ord(n, p)^n < p, where ord(n, p) is the multiplicative order of n modulo p, or 1, if there is no such p. 0
2, 31, 757, 65537, 19531, 3154757, 2767631689, 9857737155463, 926510094425921, 440334654777631, 50544702849929377, 3335672988472972523, 846041103974872866961, 459715689149916492091, 92978587355640205970336221, 78919881726271091143763623681, 26552618219228090162977481, 1338029376807245057016053427001, 11951068054199383402102234839038071 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
MAPLE
f:= proc(n) local k, pmin, p;
pmin:= infinity;
for k from n while k^n < pmin do
for p in numtheory:-factorset(n^k-1) do
if p < pmin and p > k^n then pmin:= p fi
od
od;
pmin
end proc:
f(1):= 2:
seq(f(n), n=1..18); # Robert Israel, Mar 17 2020
CROSSREFS
Inspired by A333245.
Sequence in context: A245051 A024235 A010789 * A349071 A224863 A263075
KEYWORD
nonn,hard
AUTHOR
Peter Luschny, Mar 17 2020
EXTENSIONS
More terms from Robert Israel, Mar 17 2020
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 May 15 19:42 EDT 2024. Contains 372549 sequences. (Running on oeis4.)