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”).

A139731
a(n) = 9^n mod 6^n.
1
0, 3, 9, 81, 81, 4617, 18225, 24057, 1056321, 4468041, 40212369, 180512793, 1624615137, 8091189225, 72820703025, 420293834937, 2372089560705, 4422146601609, 90579297748689, 510533809732953, 938645847533601, 19416287947991337, 108935739610788465, 585556544970294777
OFFSET
0,2
LINKS
MATHEMATICA
Table[PowerMod[9, n, 6^n], {n, 0, 30}] (* Harvey P. Dale, Jan 13 2024 *)
PROG
(Magma) [9^n mod 6^n: n in [0..35]]; // Vincenzo Librandi, Jun 03 2011
CROSSREFS
Sequence in context: A301535 A215712 A000218 * A259986 A124049 A067623
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, May 20 2008
STATUS
approved