

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
(list;
graph;
refs;
listen;
history;
text;
internal format)



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


AUTHOR



STATUS

approved



