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.
%I A333451 #18 Feb 06 2023 10:06:00 %S A333451 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, %T A333451 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, %U A333451 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 %N A333451 Expansion of golden ratio (1 + sqrt(5))/2 in base 3. %e A333451 1.12120011220212102001021001... %t A333451 RealDigits[ (1+Sqrt[5])/2, 3, 1000][[1]] %o A333451 (PARI) a(n) = floor(quadgen(5)*3^(n-1))%3 \\ _Chittaranjan Pardeshi_, Feb 06 2023 %Y A333451 Cf. A001622, A068432, A164629, A333452, A333454. %K A333451 nonn,base,cons,easy %O A333451 1,3 %A A333451 _William C. Laursen_, Mar 21 2020