cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A378029 Record values in A377059.

Original entry on oeis.org

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

Views

Author

Robert Israel, Nov 14 2024

Keywords

Comments

Numbers k such that for some j, A377059(j) = k and A377059(i) < k for all i < j.

Examples

			a(3) = 6 because A377059(9) = 6 and A377059(k) < 6 for all k < 9.
		

Crossrefs

Programs

  • 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;

Formula

a(n) = A377059(A378028(n)).