login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

A036162
a(n) = 6^n mod 229.
1
1, 6, 36, 216, 151, 219, 169, 98, 130, 93, 100, 142, 165, 74, 215, 145, 183, 182, 176, 140, 153, 2, 12, 72, 203, 73, 209, 109, 196, 31, 186, 200, 55, 101, 148, 201, 61, 137, 135, 123, 51, 77, 4, 24, 144, 177, 146, 189, 218, 163, 62, 143, 171, 110, 202, 67, 173, 122
OFFSET
0,2
REFERENCES
I. M. Vinogradov, Elements of Number Theory, pp. 220 ff.
LINKS
MATHEMATICA
PowerMod[6, Range[0, 50], 229] (* Harvey P. Dale, Apr 18 2017 *)
PROG
(PARI) a(n)=lift(Mod(6, 229)^n) \\ Charles R Greathouse IV, Mar 22 2016
(Magma) [Modexp(6, n, 229): n in [0..60]]; // Vincenzo Librandi, Apr 20 2017
CROSSREFS
Sequence in context: A250348 A199525 A074436 * A061708 A216127 A337970
KEYWORD
nonn,easy
AUTHOR
STATUS
approved