OFFSET
0,3
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..10000
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, 1).
FORMULA
a(n+35) = a(n). - David A. Corneth, Nov 08 2018
MATHEMATICA
PowerMod[Range[0, 80], 5, 35] (* Harvey P. Dale, Aug 16 2011 *)
PROG
(Sage) [power_mod(n, 5, 35) for n in range(0, 77)] # Zerinvary Lajos, Nov 04 2009
(Magma) [Modexp(n, 5, 35): n in [0..80]]; // Vincenzo Librandi, Aug 17 2011 - Jun 15 2016
(PARI) a(n)=n^5%35 \\ Charles R Greathouse IV, Apr 06 2016
(PARI) a(n) = lift(Mod(n, 35)^5); \\ Michel Marcus, Nov 08 2018
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, May 13 2002
STATUS
approved