Annual Appeal: Please make a donation (tax deductible in USA) to keep the OEIS running. Over 5000 articles have referenced us, often saying "we discovered this result with the help of the OEIS".
Table of n, a(n) for n=0..28.
(Sage) [power_mod(8, n, 3^n)for n in xrange(0, 29)] # [From Zerinvary Lajos, Nov 28 2009]
Sequence in context: A087452 A098878 A235031 * A089963 A012411 A012415
Adjacent sequences: A138952 A138953 A138954 * A138956 A138957 A138958
N. J. A. Sloane, May 20 2008