login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

A378029
Record values in A377059.
2
0, 2, 6, 8, 10, 20, 22, 42, 54, 58, 110, 156, 162, 166, 168, 294, 342, 506, 812, 930, 1210, 1332, 1458, 2028, 2162, 2756, 3422, 3660, 4422, 4970, 6162, 6498, 6806, 7832, 10100, 11342, 11638, 13310, 16002, 17030, 19182, 22052, 23548, 26406, 27722, 28830, 29756, 31862, 32580, 38612, 39402, 44310, 49506
OFFSET
1,2
COMMENTS
Numbers k such that for some j, A377059(j) = k and A377059(i) < k for all i < j.
FORMULA
a(n) = A377059(A378028(n)).
EXAMPLE
a(3) = 6 because A377059(9) = 6 and A377059(k) < 6 for all k < 9.
MAPLE
f:= proc(n) local x, r;
for x from 2 to n do
if igcd(x, n) <> 1 then next fi;
r:= numtheory:-order(x, n);
if r::even and r < n-1 then return r fi
od;
0
end proc:
R:= 1: m:= 0: count:= 0:
for k from 2 while count < 100 do
v:= f(k);
if v > m then m:= v; R:= R, v; count:= count+1 fi;
od:
R;
CROSSREFS
Sequence in context: A084909 A038619 A118257 * A066762 A066198 A362667
KEYWORD
nonn
AUTHOR
Robert Israel, Nov 14 2024
STATUS
approved