Let x(n) denote the number of 4's among the n first elements of the continued fraction for sum k>=0 1/2^(2^k) (A007400), y(n) the number of 6's and z(n) the number of 2's. Then a(n)=x(n)-y(n)-z(n)-1.
A073097
Let x(n) denote the number of 4's among the n first elements of the continued fraction for sum k>=0 1/2^(2^k) (A007400), y(n) the number of 6's and z(n) the number of 2's. Then a(n)=x(n)-y(n)-z(n)-1.
Terms
- a(0) =-1a(1) =-1a(2) =0a(3) =-1a(4) =0a(5) =1a(6) =0a(7) =1a(8) =0a(9) =1a(10) =0a(11) =-1a(12) =0a(13) =-1a(14) =0a(15) =1a(16) =0a(17) =1a(18) =0a(19) =-1a(20) =0a(21) =1a(22) =0a(23) =1a(24) =0a(25) =-1a(26) =0a(27) =-1a(28) =0a(29) =-1
External references
- oeis: A073097