login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo

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 56th year, we are closing in on 350,000 sequences, and we’ve crossed 9,700 citations (which often say “discovered thanks to the OEIS”).

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A138973 a(n) = 8^n mod 7^n. 7
0, 1, 15, 169, 1695, 15961, 26846, 450066, 5247614, 13156907, 226316077, 680627620, 13354327932, 65310761853, 328708074010, 1951441519231, 15611532153848, 158125187800385, 101848932467045, 7328445851378156, 35829776440278962, 286638211522231696 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,3

LINKS

Seiichi Manyama, Table of n, a(n) for n = 0..1183

PROG

(Sage) [power_mod(8, n, 7^n) for n in range(0, 22)] # Zerinvary Lajos, Nov 28 2009

(PARI) a(n) = if (n, lift(Mod(8, 7^n)^n), 0); \\ Michel Marcus, Feb 20 2018

CROSSREFS

Cf. k^n mod (k-1)^n: A002380 (k=3), A064629 (k=4), A138589 (k=5), A138649 (k=6), A139786 (k=7), this sequence (k=8), A139733 (k=9).

Cf. A000420, A001018.

Sequence in context: A202663 A202123 A201087 * A016177 A125427 A016279

Adjacent sequences:  A138970 A138971 A138972 * A138974 A138975 A138976

KEYWORD

nonn

AUTHOR

N. J. A. Sloane, May 20 2008

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified December 6 17:58 EST 2021. Contains 349567 sequences. (Running on oeis4.)