login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A003572
Order of 3 mod 3n+2.
4
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,2
LINKS
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
STATUS
approved