login
A070636
a(n) = n^6 mod 13.
1
0, 1, 12, 1, 1, 12, 12, 12, 12, 1, 1, 12, 1, 0, 1, 12, 1, 1, 12, 12, 12, 12, 1, 1, 12, 1, 0, 1, 12, 1, 1, 12, 12, 12, 12, 1, 1, 12, 1, 0, 1, 12, 1, 1, 12, 12, 12, 12, 1, 1, 12, 1, 0, 1, 12, 1, 1, 12, 12, 12, 12, 1, 1, 12, 1, 0, 1, 12, 1, 1, 12, 12, 12, 12, 1, 1, 12, 1, 0, 1, 12, 1, 1, 12
OFFSET
0,3
FORMULA
a(n) = a(n-13). - Wesley Ivan Hurt, Dec 26 2023
MATHEMATICA
PowerMod[Range[0, 90], 6, 13] (* Harvey P. Dale, Feb 13 2011 *)
PROG
(Sage) [power_mod(n, 6, 13)for n in range(0, 84)] # Zerinvary Lajos, Nov 06 2009
(PARI) a(n)=n^6%13 \\ Charles R Greathouse IV, Apr 06 2016
CROSSREFS
Sequence in context: A010207 A010206 A174096 * A168646 A051457 A174450
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, May 13 2002
STATUS
approved