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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A066601 3^n mod n. 6
0, 1, 0, 1, 3, 3, 3, 1, 0, 9, 3, 9, 3, 9, 12, 1, 3, 9, 3, 1, 6, 9, 3, 9, 18, 9, 0, 25, 3, 9, 3, 1, 27, 9, 12, 9, 3, 9, 27, 1, 3, 15, 3, 37, 18, 9, 3, 33, 31, 49, 27, 29, 3, 27, 12, 9, 27, 9, 3, 21, 3, 9, 27, 1, 48, 3, 3, 13, 27, 39, 3, 9, 3, 9, 57 (list; graph; refs; listen; history; internal format)
OFFSET

1,5

LINKS

Harry J. Smith, Table of n, a(n) for n=1,...,1000

EXAMPLE

a(7) = 3 as 3^7 = 2187= 7*312 +3.

MAPLE

seq(irem(3^n, n), n=1..75); - Zerinvary Lajos (zerinvarylajos(AT)yahoo.com), Apr 20 2008

MATHEMATICA

Table[PowerMod[3, n, n], {n, 75}]

PROG

(PARI) { for (n=1, 1000, write("b066601.txt", n, " ", 3^n % n) ) } [From Harry J. Smith (hjsmithh(AT)sbcglobal.net), Mar 09 2010]

CROSSREFS

Sequence in context: A164884 A019801 A086634 * A110566 A126066 A177693

Adjacent sequences:  A066598 A066599 A066600 * A066602 A066603 A066604

KEYWORD

base,easy,nonn

AUTHOR

Amarnath Murthy (amarnath_murthy(AT)yahoo.com), Dec 22 2001

EXTENSIONS

More terms from Robert G. Wilson v (rgwv(AT)rgwv.com), Dec 27 2001

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 14 08:47 EST 2012. Contains 205614 sequences.