login
A238292
Final digit of imaginary part of (n+n*i)^n.
2
1, 8, 4, 0, 0, 2, 6, 0, 4, 0, 2, 0, 8, 2, 0, 0, 2, 8, 8, 0, 6, 8, 4, 0, 0, 2, 6, 0, 4, 0, 2, 0, 8, 2, 0, 0, 2, 8, 8, 0, 6, 8, 4, 0, 0, 2, 6, 0, 4, 0, 2, 0, 8, 2, 0, 0, 2, 8, 8, 0, 6, 8, 4, 0, 0, 2, 6, 0, 4, 0, 2, 0, 8, 2, 0, 0, 2, 8, 8, 0, 6, 8, 4, 0, 0, 2
OFFSET
1,2
LINKS
Index entries for linear recurrences with constant coefficients, signature (0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1).
MATHEMATICA
im[n_, b_] := Mod[b + Im@PowerMod[(n + n I), n, b], b]; Table[im[n, 10], {n, 100}]
CROSSREFS
Sequence in context: A303626 A100253 A175040 * A350219 A200108 A088397
KEYWORD
nonn,base
AUTHOR
STATUS
approved