|
|
A230024
|
|
Final nonzero digit of n^n in base 16.
|
|
3
|
|
|
1, 4, 11, 1, 5, 4, 7, 1, 9, 4, 3, 1, 13, 4, 15, 1, 1, 4, 11, 1, 5, 4, 7, 1, 9, 4, 3, 1, 13, 4, 15, 1, 1, 4, 11, 1, 5, 4, 7, 1, 9, 4, 3, 1, 13, 4, 15, 1, 1, 4, 11, 1, 5, 4, 7, 1, 9, 4, 3, 1, 13, 4, 15, 1, 1, 4, 11, 1, 5, 4, 7, 1, 9, 4, 3, 1, 13, 4, 15, 1, 1
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
The sequence is periodic with period length 16.
|
|
LINKS
|
|
|
MATHEMATICA
|
f[n_, b_] := Module[{m = n^n}, While[Mod[m, b] == 0, m = m/b]; Mod[m, b]]; y = Table[f[i, 16], {i, 1, 100}]
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|