0,3

Table of n, a(n) for n=0..81.

PowerMod[Range[0, 90], 6, 22] (* Harvey P. Dale, Aug 24 2013 *)

(Sage) [power_mod(n, 6, 22)for n in xrange(0, 82)] # - Zerinvary Lajos, Nov 06 2009

(PARI) a(n)=n^6%22 \\ Charles R Greathouse IV, Apr 06 2016

Sequence in context: A255860 A195600 A118295 * A248136 A040392 A317320

Adjacent sequences: A070642 A070643 A070644 * A070646 A070647 A070648

nonn,easy

N. J. A. Sloane, May 13 2002

approved