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!)
A204817 Final nonzero digit of n^n in base 7. 1
1, 1, 4, 6, 4, 3, 1, 1, 1, 1, 4, 2, 1, 6, 4, 1, 2, 5, 1, 5, 1, 6, 1, 4, 1, 4, 4, 6, 4, 1, 1, 3, 2, 6, 1, 3, 1, 2, 2, 1, 2, 6, 1, 1, 4, 6, 4, 3, 1, 1, 1, 1, 4, 2, 1, 6, 1, 1, 2, 5, 1, 5, 1, 1, 1, 4, 1, 4, 4, 6, 4, 1, 1, 3, 2, 6, 1, 2, 1, 2, 2, 1, 2, 6, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
LINKS
MATHEMATICA
f[0]=1; f[n_]:=Module[{m=n^n}, While[Mod[m, 7]==0, m=m/7]; Mod[m, 7]]; Table[f[i], {i, 0, 100}]
PROG
(PARI) a(n)=lift(Mod(n/7^valuation(n, 7), 7)^n) \\ Charles R Greathouse IV, Jan 23 2012
CROSSREFS
Sequence in context: A001138 A133587 A204693 * A199721 A349942 A187147
KEYWORD
nonn,easy,base
AUTHOR
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 March 28 18:04 EDT 2024. Contains 371254 sequences. (Running on oeis4.)