login
A070631
a(n) = n^5 mod 48.
0
0, 1, 32, 3, 16, 5, 0, 7, 32, 9, 16, 11, 0, 13, 32, 15, 16, 17, 0, 19, 32, 21, 16, 23, 0, 25, 32, 27, 16, 29, 0, 31, 32, 33, 16, 35, 0, 37, 32, 39, 16, 41, 0, 43, 32, 45, 16, 47, 0, 1, 32, 3, 16, 5, 0, 7, 32, 9, 16, 11, 0, 13, 32, 15, 16, 17, 0, 19, 32, 21, 16, 23, 0, 25, 32, 27, 16
OFFSET
0,3
LINKS
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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1).
FORMULA
a(n) = a(n-48). - Wesley Ivan Hurt, Dec 26 2023
MATHEMATICA
PowerMod[Range[0, 80], 5, 48] (* or *) PadRight[{}, 80, {0, 1, 32, 3, 16, 5, 0, 7, 32, 9, 16, 11, 0, 13, 32, 15, 16, 17, 0, 19, 32, 21, 16, 23, 0, 25, 32, 27, 16, 29, 0, 31, 32, 33, 16, 35, 0, 37, 32, 39, 16, 41, 0, 43, 32, 45, 16, 47}](* Harvey P. Dale, Sep 10 2016 *)
PROG
(Sage) [power_mod(n, 5, 48)for n in range(0, 77)] # Zerinvary Lajos, Nov 05 2009
(PARI) a(n)=n^5%48 \\ Charles R Greathouse IV, Apr 06 2016
CROSSREFS
Sequence in context: A285417 A303328 A298921 * A070623 A249597 A303322
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, May 13 2002
STATUS
approved