OFFSET
0,2
LINKS
Jinyuan Wang, Table of n, a(n) for n = 0..10000
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 *)
PROG
(PARI) a(n) = znorder(Mod(3, 3*n+2)); \\ Michel Marcus, Feb 16 2019
(GAP) List([0..60], n->OrderMod(3, 3*n+2)); # Muniru A Asiru, Feb 16 2019
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved