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.

A003572 Order of 3 mod 3n+2.

Original entry on oeis.org

1, 4, 2, 5, 6, 16, 4, 11, 3, 28, 8, 12, 18, 8, 10, 23, 20, 52, 6, 29, 30, 12, 16, 35, 18, 30, 4, 41, 42, 88, 22, 36, 42, 100, 6, 53, 20, 112, 28, 48, 10, 100, 32, 65, 22, 136, 12, 15, 12, 148, 18, 60, 78, 66, 8, 83, 16, 172
Offset: 0

Views

Author

Keywords

Crossrefs

Programs

  • GAP
    List([0..60],n->OrderMod(3,3*n+2)); # Muniru A Asiru, Feb 16 2019
  • Maple
    with(numtheory): f := n->order(3,3*n+2);
  • Mathematica
    Table[MultiplicativeOrder[3, 3*n + 2], {n, 0, 57}] (* Jinyuan Wang, Feb 16 2019 *)
  • PARI
    a(n) = znorder(Mod(3, 3*n+2)); \\ Michel Marcus, Feb 16 2019