OFFSET
0,3
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1).
MATHEMATICA
PowerMod[Range[0, 90], 7, 36] (* or *) PadRight[{}, 90, {0, 1, 20, 27, 4, 5, 0, 7, 8, 9, 28, 11, 0, 13, 32, 27, 16, 17, 0, 19, 20, 9, 4, 23, 0, 25, 8, 27, 28, 29, 0, 31, 32, 9, 16, 35}] (* Harvey P. Dale, May 24 2017 *)
PROG
(Sage) [power_mod(n, 7, 36)for n in range(0, 83)] # - Zerinvary Lajos, Oct 29 2009
(PARI) a(n)=n^7%36 \\ Charles R Greathouse IV, Apr 06 2016
(Magma) [Modexp(n, 7, 36): n in [0..80]]; // Vincenzo Librandi, May 25 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, May 13 2002
STATUS
approved