login
A333451
Expansion of golden ratio (1 + sqrt(5))/2 in base 3.
2
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,3
EXAMPLE
1.12120011220212102001021001...
MATHEMATICA
RealDigits[ (1+Sqrt[5])/2, 3, 1000][[1]]
PROG
(PARI) a(n) = floor(quadgen(5)*3^(n-1))%3 \\ Chittaranjan Pardeshi, Feb 06 2023
CROSSREFS
KEYWORD
nonn,base,cons,easy
AUTHOR
William C. Laursen, Mar 21 2020
STATUS
approved