0,3

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

(Sage) [power_mod(n, 5, 18)for n in xrange(0, 87)] # - Zerinvary Lajos, Nov 04 2009

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

Sequence in context: A245175 A010237 A035418 * A206641 A266014 A086050

Adjacent sequences: A070599 A070600 A070601 * A070603 A070604 A070605

nonn,easy

N. J. A. Sloane, May 13 2002

approved