OFFSET
0,5
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..300
MATHEMATICA
Table[PowerMod[10, n, 3^n], {n, 0, 30}] (* Harvey P. Dale, Aug 04 2012 *)
PROG
(Sage) [power_mod(10, n, 3^n) for n in range(0, 29)] # Zerinvary Lajos, Nov 28 2009
(Magma) [10^n mod 3^n: n in [0..35]]; // Vincenzo Librandi, Jun 04 2011
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, May 20 2008
STATUS
approved