login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A138959 a(n) = 8^n mod 5^n. 6
0, 3, 14, 12, 346, 1518, 12144, 65902, 370966, 1405228, 9288699, 45012717, 115961111, 439407638, 3515261104, 28122088832, 102906398156, 365487513373, 1398021200734, 14998866871497, 24623503331351, 387722889932058, 1194434486643964, 7171290102136087 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

LINKS

Table of n, a(n) for n=0..23.

PROG

(Sage) [power_mod(8, n, 5^n)for n in xrange(0, 24)] # Zerinvary Lajos, Nov 28 2009

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

CROSSREFS

Cf. A000351, A001018.

Sequence in context: A155886 A319456 A222713 * A171653 A055435 A242868

Adjacent sequences:  A138956 A138957 A138958 * A138960 A138961 A138962

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 July 21 02:02 EDT 2019. Contains 325189 sequences. (Running on oeis4.)