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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A138955 a(n) = 8^n mod 3^n. 0
0, 2, 1, 26, 46, 206, 433, 2006, 739, 19034, 53857, 76562, 435349, 1357028, 1290286, 5539319, 1267831, 96236090, 124187905, 993503240, 974457118, 4308872543, 13550273938, 45640072286, 176834220634, 567385155629, 1149926807260, 6657548629751, 22757999098060 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

LINKS

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

PROG

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

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

CROSSREFS

Cf. A000244, A001018.

Sequence in context: A317385 A098878 A235031 * A089963 A322230 A012411

Adjacent sequences:  A138952 A138953 A138954 * A138956 A138957 A138958

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 9 16:50 EDT 2020. Contains 335545 sequences. (Running on oeis4.)