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.

A086087 a(n) is the minimal m such that the group GL(m,3) has an element of order n.

Original entry on oeis.org

1, 2, 2, 4, 2, 6, 2, 4, 4, 5, 4, 3, 6, 6, 4, 16, 4, 18, 4, 8, 5, 11, 4
Offset: 2

Views

Author

Yuval Dekel (dekelyuval(AT)hotmail.com), Aug 24 2003

Keywords

Comments

For n > 2, a(prime(n)) = A062117(n). Also, for any n, a(n) <= n. - Eric M. Schmidt, May 18 2013

Crossrefs

Programs

  • GAP
    A086087 := function(n) local m; if IsPrime(n) and n>3 then return Order(3*Z(n)^0); fi; m := 1; while true do if ForAny(ConjugacyClasses(GL(m, 3)), cc->Order(Representative(cc))=n) then return m; fi; m := m + 1; od; end; # Eric M. Schmidt, May 18 2013

Extensions

Extended and corrected by Eric M. Schmidt, May 18 2013