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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A138964 a(n) = 8^n mod 6^n. 0
0, 2, 28, 80, 208, 1664, 28864, 137600, 1660672, 3207680, 45816832, 245602304, 1239224320, 1206665216, 9653321728, 390683230208, 2185095872512, 554107535360, 38286179172352, 306289433378816, 1231595987009536, 9852767896076288, 78822143168610304, 367333737664348160 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

LINKS

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

MATHEMATICA

Table[PowerMod[8, n, 6^n], {n, 0, 30}]  (* Harvey P. Dale, Apr 20 2011 *)

PROG

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

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

CROSSREFS

Cf. A000400, A001018.

Sequence in context: A245801 A296245 A156471 * A200040 A281201 A051958

Adjacent sequences:  A138961 A138962 A138963 * A138965 A138966 A138967

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 20 11:28 EDT 2019. Contains 325180 sequences. (Running on oeis4.)