OFFSET
2
FORMULA
sqrt(3) = phi + 1/phi^5 + 1/phi^8 + 1/phi^13 + 1/phi^16 + ...
EXAMPLE
10.00001001000010010100000101010010000001010100001010101... base phi.
MATHEMATICA
RealDigits[Sqrt[3], GoldenRatio, 90][[1]] (* Harvey P. Dale, Dec 04 2022 *)
PROG
(PARI)
alist(len) = {
my(phi = quadgen(5), w=phi^2, t = 0);
vector(len, i,
w /= phi;
if ( ( t + w )^2 <= 3,
t += w;
1,
0))
};
print(alist(300));
CROSSREFS
KEYWORD
AUTHOR
Chittaranjan Pardeshi, Apr 29 2022
STATUS
approved