login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A139730
a(n) = 9^n mod 5^n.
1
0, 4, 6, 104, 311, 2799, 191, 17344, 77971, 701739, 456276, 33403359, 202973981, 361922079, 815892461, 19550063399, 145432992466, 88193807194, 1556683717871, 10195456195214, 34538646772551, 120112957671709, 2034690935451631, 1622917881955304, 50369047802832111
OFFSET
0,2
LINKS
MATHEMATICA
Table[PowerMod[9, n, 5^n], {n, 0, 30}] (* Harvey P. Dale, Jul 17 2021 *)
PROG
(Magma) [9^n mod 5^n: n in [0..35]]; // Vincenzo Librandi, Jun 03 2011
CROSSREFS
Sequence in context: A052684 A213128 A105037 * A367880 A013023 A012909
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, May 20 2008
STATUS
approved