Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
A352679
Expansion of sqrt(3) in base phi where phi = (1+sqrt(5))/2.
0
1, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 1, 0, 0, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 1
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
nonn,cons,base
AUTHOR
STATUS
approved