login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A070593 a(n) = n^5 mod 7. 1
0, 1, 4, 5, 2, 3, 6, 0, 1, 4, 5, 2, 3, 6, 0, 1, 4, 5, 2, 3, 6, 0, 1, 4, 5, 2, 3, 6, 0, 1, 4, 5, 2, 3, 6, 0, 1, 4, 5, 2, 3, 6, 0, 1, 4, 5, 2, 3, 6, 0, 1, 4, 5, 2, 3, 6, 0, 1, 4, 5, 2, 3, 6, 0, 1, 4, 5, 2, 3, 6, 0, 1, 4, 5, 2, 3, 6, 0, 1, 4, 5, 2, 3, 6, 0, 1, 4, 5, 2, 3, 6, 0, 1, 4, 5, 2, 3, 6, 0, 1, 4 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
COMMENTS
Equivalently n^11 mod 7. - Zerinvary Lajos, Nov 07 2009
LINKS
MATHEMATICA
Table[If[Mod[n, 7] == 0, 0, ModularInverse[n, 7]], {n, 0, 100}] (* Jean-François Alcover, May 03 2017 *)
PROG
(Sage) [power_mod(n, 5, 7)for n in range(0, 101)] # Zerinvary Lajos, Nov 07 2009
(Sage) [power_mod(n, 11, 7)for n in range(0, 101)] # Zerinvary Lajos, Nov 07 2009
(PARI) a(n)=n^5%7 \\ Charles R Greathouse IV, Apr 06 2016
CROSSREFS
Sequence in context: A074459 A371747 A155793 * A070599 A057301 A344531
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, May 13 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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 06:49 EDT 2024. Contains 371964 sequences. (Running on oeis4.)