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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A066604 6^n mod n. 2
0, 0, 0, 0, 1, 0, 6, 0, 0, 6, 6, 0, 6, 8, 6, 0, 6, 0, 6, 16, 6, 14, 6, 0, 1, 10, 0, 8, 6, 6, 6, 0, 18, 2, 6, 0, 6, 36, 21, 16, 6, 36, 6, 20, 36, 36, 6, 0, 48, 26, 12, 48, 6, 0, 21, 8, 45, 36, 6, 36, 6, 36, 27, 0, 41, 60, 6, 4, 9, 36, 6, 0, 6, 36, 51, 4, 41, 12, 6, 16 (list; graph; refs; listen; history; internal format)
OFFSET

1,7

LINKS

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

EXAMPLE

a(7) = 6 as 6^7 =279936 =7*39990 + 6.

MAPLE

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

MATHEMATICA

Table[PowerMod[6, n, n], {n, 80} ]

PROG

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

CROSSREFS

Sequence in context: A019956 A114760 A113555 * A019929 A021866 A037215

Adjacent sequences:  A066601 A066602 A066603 * A066605 A066606 A066607

KEYWORD

easy,nonn

AUTHOR

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

EXTENSIONS

More terms from Floor van Lamoen (fvlamoen(AT)hotmail.com) and 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 16 16:00 EST 2012. Contains 205938 sequences.