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.

A378384 Digital root of the sum of the previous 3 terms; a(0) = a(1) = a(2) = 1.

Original entry on oeis.org

1, 1, 1, 3, 5, 9, 8, 4, 3, 6, 4, 4, 5, 4, 4, 4, 3, 2, 9, 5, 7, 3, 6, 7, 7, 2, 7, 7, 7, 3, 8, 9, 2, 1, 3, 6, 1, 1, 8, 1, 1, 1, 3, 5, 9, 8, 4, 3, 6, 4, 4, 5, 4, 4, 4, 3, 2, 9, 5, 7, 3, 6, 7, 7, 2, 7, 7, 7, 3, 8, 9, 2, 1, 3, 6, 1, 1, 8, 1, 1, 1, 3, 5, 9, 8, 4, 3, 6
Offset: 0

Views

Author

James C. McMahon, Nov 24 2024

Keywords

Comments

This differs from A112661 which is sum of digits of sum of previous 3 terms.
Digital root of A000213 (tribonacci numbers beginning {1,1,1}).
This has a period of 39 beginning with the first term.
Decimal expansion of 12373315960504936995263080863765792902/111111111111111111111111111111111111111 = 0.[111359843644544432957367727773892136118] (periodic).

Crossrefs

Programs

  • Mathematica
    Nest[Append[#,ResourceFunction["AdditiveDigitalRoot"][Total[Take[#,-3]]]]&,{1,1,1},85]

Formula

a(n) = A010888(A000213(n)).