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.

A186190 First digit of tribonacci sequence A000213.

Original entry on oeis.org

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

Views

Author

Carmine Suriano, Feb 14 2011

Keywords

Comments

Sequence obeys the Benford law about distribution of first digit d in a sequence: P(d) = log_10(1+1/d).

Examples

			a(10) = 1 since A000213(10) = 193.
		

Crossrefs

Programs

  • Mathematica
    t = {1,1,1}; Do[AppendTo[t, t[[-1]] + t[[-2]] + t[[-3]]], {100}]; Table[IntegerDigits[i][[1]], {i, t}]

Extensions

Offset changed by Georg Fischer, Jun 26 2024