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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A067602 5^n reduced modulo 3^n. 1
0, 2, 7, 17, 58, 209, 316, 1580, 3526, 4508, 22540, 112700, 209206, 1046030, 447181, 11801843, 30311401, 108510284, 155130931, 775654655, 391488874, 1957444370, 9787221850, 48936109250, 150537367423, 470257300634, 656709284284 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

LINKS

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

MAPLE

a:=n->5^n mod(3^(n)): seq(a(n), n=0..26); # Zerinvary Lajos, Feb 15 2008

MATHEMATICA

Table[Mod[5^n, 3^n], {n, 0, 30}] (* Vincenzo Librandi, Jun 24 2015 *)

PROG

(PARI) for(n=0, 50, print1(lift(Mod(5^n, 3^n)), ", "))

(PARI) a(n)= lift(Mod(5, 3^n)^n); \\ Michel Marcus, Jun 24 2015

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

(MAGMA) [5^n mod 3^n: n in [0..30]]; // Vincenzo Librandi, Jun 24 2015

CROSSREFS

Sequence in context: A007049 A133407 A182667 * A216389 A154298 A225806

Adjacent sequences:  A067599 A067600 A067601 * A067603 A067604 A067605

KEYWORD

nonn

AUTHOR

Benoit Cloitre, Jan 31 2002

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 September 16 11:09 EDT 2019. Contains 327095 sequences. (Running on oeis4.)