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

A139786
a(n) = 7^n mod 6^n.
7
0, 1, 13, 127, 1105, 1255, 24337, 263671, 725953, 42823, 40610545, 163341463, 780593185, 5464152295, 51309760081, 45711664183, 2200721587585, 12583941205639, 3454291215793, 430419865184215, 3012939056289505, 10122098073837607, 92791637157241105, 517919756258420599
OFFSET
0,3
LINKS
CROSSREFS
Cf. k^n mod (k-1)^n: A002380 (k=3), A064629 (k=4), A138589 (k=5), A138649 (k=6), this sequence (k=7), A138973 (k=8), A139733 (k=9).
Sequence in context: A202662 A202122 A201086 * A016169 A125401 A089763
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, May 20 2008
STATUS
approved