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!)
A167545 n^6 mod 16. 0
0, 1, 0, 9, 0, 9, 0, 1, 0, 1, 0, 9, 0, 9, 0, 1, 0, 1, 0, 9, 0, 9, 0, 1, 0, 1, 0, 9, 0, 9, 0, 1, 0, 1, 0, 9, 0, 9, 0, 1, 0, 1, 0, 9, 0, 9, 0, 1, 0, 1, 0, 9, 0, 9, 0, 1, 0, 1, 0, 9, 0, 9, 0, 1, 0, 1, 0, 9, 0, 9, 0, 1, 0, 1, 0, 9, 0, 9, 0, 1, 0, 1, 0, 9, 0, 9, 0, 1, 0, 1, 0, 9, 0, 9, 0, 1, 0, 1, 0, 9, 0, 9, 0, 1, 0 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,4
LINKS
MATHEMATICA
PowerMod[Range[0, 110], 6, 16] (* or *) With[{nn=15}, PadRight[{}, 8nn, {0, 1, 0, 9, 0, 9, 0, 1}]] (* Harvey P. Dale, Nov 10 2011 *)
PROG
(Sage) [power_mod(n, 6, 16)for n in range(0, 105)] #
(PARI) a(n)=n^6%16 \\ Charles R Greathouse IV, Apr 06 2016
CROSSREFS
Sequence in context: A259405 A340879 A086199 * A272965 A059058 A343587
KEYWORD
nonn,easy
AUTHOR
Zerinvary Lajos, Nov 06 2009
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 May 9 19:33 EDT 2024. Contains 372354 sequences. (Running on oeis4.)