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.

User: Robert Bruce Gray

Robert Bruce Gray's wiki page.

Robert Bruce Gray has authored 1 sequences.

A377231 a(n) = digital root of 2^Fibonacci(n).

Original entry on oeis.org

1, 2, 2, 4, 8, 5, 4, 2, 8, 7, 2, 5, 1, 5, 5, 7, 8, 2, 7, 5, 8, 4, 5, 2, 1, 2, 2, 4, 8, 5, 4, 2, 8, 7, 2, 5, 1, 5, 5, 7, 8, 2, 7, 5, 8, 4, 5, 2, 1, 2, 2, 4, 8, 5, 4, 2, 8, 7, 2, 5, 1, 5, 5, 7, 8, 2, 7, 5, 8, 4, 5, 2, 1, 2, 2, 4, 8, 5, 4, 2, 8, 7, 2, 5, 1, 5, 5, 7, 8, 2, 7, 5, 8, 4, 5, 2
Offset: 0

Author

Robert Bruce Gray, Oct 20 2024

Keywords

Comments

This sequence has period 24.

Crossrefs

Programs

  • Mathematica
    Module[{a, n}, RecurrenceTable[{a[n] == Mod[a[n-1]*a[n-2] - 1, 9] + 1, a[0] == 1, a[1] == 2}, a, {n, 0, 99}]] (* or *)
    PadRight[{}, 100, {1, 2, 2, 4, 8, 5, 4, 2, 8, 7, 2, 5, 1, 5, 5, 7, 8, 2, 7, 5, 8, 4, 5, 2}] (* Paolo Xausa, Nov 08 2024 *)

Formula

a(n) = (a(n-1) * a(n-2) - 1) mod 9 + 1.
a(n) = A010888(A000301(n)).