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.

A014392 Final 2 digits of 8^n.

Original entry on oeis.org

1, 8, 64, 12, 96, 68, 44, 52, 16, 28, 24, 92, 36, 88, 4, 32, 56, 48, 84, 72, 76, 8, 64, 12, 96, 68, 44, 52, 16, 28, 24, 92, 36, 88, 4, 32, 56, 48, 84, 72, 76, 8, 64, 12, 96, 68, 44, 52, 16, 28, 24, 92, 36, 88, 4, 32, 56
Offset: 0

Views

Author

Keywords

Comments

Periodic with period = 20. - Harvey P. Dale, Jul 22 2025

Programs

  • Magma
    [Modexp(8, n, 100): n in [0..110]]; // Vincenzo Librandi, Aug 15 2016
  • Mathematica
    PowerMod[8, Range[0, 60], 100] (* Vincenzo Librandi, Aug 15 2016 *)
    PadRight[{1},120,{76,8,64,12,96,68,44,52,16,28,24,92,36,88,4,32,56,48,84,72}] (* or *) LinearRecurrence[{1,0,0,0,0,0,0,0,0,-1,1},{1,8,64,12,96,68,44,52,16,28,24,92},120] (* Harvey P. Dale, Jul 22 2025 *)