cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A238291 Final digit of real part of (n+n*i)^n.

Original entry on oeis.org

1, 0, 6, 6, 0, 0, 4, 6, 4, 0, 8, 6, 8, 0, 0, 6, 2, 0, 2, 0, 6, 0, 6, 6, 0, 0, 4, 6, 4, 0, 8, 6, 8, 0, 0, 6, 2, 0, 2, 0, 6, 0, 6, 6, 0, 0, 4, 6, 4, 0, 8, 6, 8, 0, 0, 6, 2, 0, 2, 0, 6, 0, 6, 6, 0, 0, 4, 6, 4, 0, 8, 6, 8, 0, 0, 6, 2, 0, 2, 0, 6, 0, 6, 6, 0, 0
Offset: 1

Views

Author

Keywords

Comments

Starting from a(2) the sequence is periodic with period length 20. - Giovanni Resta, Feb 23 2014

Crossrefs

Programs

  • Mathematica
    re[n_, b_] := Mod[b + Re@PowerMod[(n + n I), n, b], b];
    Table[re[n, 10], {n, 100}]