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”).

A211452
(p-1)/x, where p = prime(n) and x = ord(7,p), the smallest positive integer such that 7^x == 1 mod p.
6
1, 2, 1, 0, 1, 1, 1, 6, 1, 4, 2, 4, 1, 7, 2, 2, 2, 1, 1, 1, 3, 1, 2, 1, 1, 1, 2, 1, 4, 8, 1, 2, 2, 2, 2, 1, 3, 1, 2, 1, 1, 15, 19, 8, 2, 2, 1, 6, 2, 1, 2, 1, 1, 2, 1, 1, 1, 2, 2, 14, 2, 1, 2, 10, 3, 2, 3, 6, 1, 1, 11, 1, 6, 6, 1, 2, 4, 1, 2, 17, 22, 6, 1, 1, 6
OFFSET
1,2
MATHEMATICA
nn = 7; Table[If[Mod[nn, p] == 0, 0, (p-1)/MultiplicativeOrder[nn, p]], {p, Prime[Range[100]]}]
KEYWORD
nonn
AUTHOR
T. D. Noe, Apr 11 2012
STATUS
approved