A068432 Expansion of golden ratio (1 + sqrt(5))/2 in base 2.
1, 1, 0, 0, 1, 1, 1, 1, 0, 0, 0, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 0, 0, 1, 1, 0, 1, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 0, 0, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 1, 0, 1, 1, 1, 0, 0
Offset: 1
Examples
1.1001111000110111011110011011100101...
Programs
-
Mathematica
RealDigits[ (1+Sqrt[5])/2, 2, 1000][[1]]
-
PARI
concat(binary((1+sqrt(5))/2)) \\ Michel Marcus, Dec 14 2017
-
PARI
a(n) = floor(quadgen(5)*2^(n-1))%2 \\ Chittaranjan Pardeshi, Feb 06 2023
Comments