login
A070575
a(n) = n^4 mod 32.
0
0, 1, 16, 17, 0, 17, 16, 1, 0, 1, 16, 17, 0, 17, 16, 1, 0, 1, 16, 17, 0, 17, 16, 1, 0, 1, 16, 17, 0, 17, 16, 1, 0, 1, 16, 17, 0, 17, 16, 1, 0, 1, 16, 17, 0, 17, 16, 1, 0, 1, 16, 17, 0, 17, 16, 1, 0, 1, 16, 17, 0, 17, 16, 1, 0, 1, 16, 17, 0, 17, 16, 1, 0, 1, 16, 17, 0, 17, 16, 1, 0, 1, 16, 17
OFFSET
0,3
PROG
(Sage) [power_mod(n, 4, 32) for n in range(84)] # Zerinvary Lajos, Nov 01 2009
(PARI) a(n)=n^4%32 \\ Charles R Greathouse IV, Apr 06 2016
CROSSREFS
Sequence in context: A324023 A221278 A239533 * A004505 A262460 A190582
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, May 13 2002
STATUS
approved