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!)
A066438 a(n) = 7^n mod n. 10
0, 1, 1, 1, 2, 1, 0, 1, 1, 9, 7, 1, 7, 7, 13, 1, 7, 1, 7, 1, 7, 5, 7, 1, 7, 23, 1, 21, 7, 19, 7, 1, 13, 15, 28, 1, 7, 11, 31, 1, 7, 7, 7, 25, 37, 3, 7, 1, 0, 49, 37, 9, 7, 1, 43, 49, 1, 49, 7, 1, 7, 49, 28, 1, 37, 37, 7, 21, 67, 49, 7, 1, 7, 49, 43, 45, 28, 25, 7, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,5

LINKS

Harry J. Smith and Seiichi Manyama, Table of n, a(n) for n = 1..10000 (first 1000 terms from Harry J. Smith)

MAPLE

seq(irem(7^n, n), n=1..80); # Zerinvary Lajos, Apr 20 2008

MATHEMATICA

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

PROG

(PARI) { for (n=1, 1000, write("b066438.txt", n, " ", 7^n % n) ) } \\ Harry J. Smith, Feb 14 2010

CROSSREFS

Cf. k^n mod n; A015910 (k=2), A066601 (k=3), A066602 (k=4), A066603 (k=5), A066604 (k=6), this sequence (k=7), A066439 (k=8), A066440 (k=9), A056969 (k=10), A066441 (k=11), A066442 (k=12), A116609 (k=13).

Sequence in context: A273712 A129634 A266825 * A279291 A051126 A168120

Adjacent sequences:  A066435 A066436 A066437 * A066439 A066440 A066441

KEYWORD

nonn

AUTHOR

Robert G. Wilson v, Dec 27 2001

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 June 4 10:04 EDT 2020. Contains 334825 sequences. (Running on oeis4.)