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.

A333451 Expansion of golden ratio (1 + sqrt(5))/2 in base 3.

Original entry on oeis.org

1, 1, 2, 1, 2, 0, 0, 1, 1, 2, 2, 0, 2, 1, 2, 1, 0, 2, 0, 0, 1, 0, 2, 1, 0, 0, 1, 0, 2, 0, 0, 1, 0, 2, 0, 1, 1, 2, 2, 1, 0, 2, 1, 2, 0, 0, 2, 2, 1, 1, 1, 0, 1, 1, 0, 0, 1, 0, 1, 2, 2, 1, 1, 2, 0, 0, 2, 1, 0, 0, 0, 2, 1, 0, 0, 0, 1, 2, 0, 2, 1, 1, 1, 2, 2, 2, 0, 2, 2, 0, 0, 2, 0, 2, 1, 1, 0, 2, 2, 1, 0
Offset: 1

Views

Author

William C. Laursen, Mar 21 2020

Keywords

Examples

			1.12120011220212102001021001...
		

Crossrefs

Programs

  • Mathematica
    RealDigits[ (1+Sqrt[5])/2, 3, 1000][[1]]
  • PARI
    a(n) = floor(quadgen(5)*3^(n-1))%3 \\ Chittaranjan Pardeshi, Feb 06 2023