cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

Showing 1-2 of 2 results.

A244331 Number of binary digits in the high-water marks of the terms of the continued fraction of the base-2 Champernowne constant.

Original entry on oeis.org

0, 1, 3, 9, 23, 53, 115, 241, 495, 1005, 2027, 4073, 8167, 16357, 32739, 65505, 131039, 262109, 524251, 1048537, 2097111, 4194261, 8388563, 16777169
Offset: 1

Views

Author

John K. Sikora, Jun 27 2014

Keywords

Comments

Conjecture: partial sums of A296965 (equivalent to observation about A183155 below). - Sean A. Irvine, Jul 16 2022

Crossrefs

Programs

  • Ruby
    puts (4..24).collect{|n| 2**n-2*n+1}
    
  • Ruby
    puts (4..24).collect {|n| (1..n).inject(0) {|sum, m| sum+m*2**(m-1)}-n-2*((1..(n-1)).inject(0) {|sum1, m1| sum1+m1*2**(m1-1)}-(n-1))-3*n+4}

Formula

It appears that for n >= 4, a(n) = 2^n - 2*n + 1 = A183155(n-1).
Also it appears that if we define NCD(N) = (Sum_{m=1..N} m*2^(m-1)) - N, then for n >= 4, a(n) = NCD(n) - 2*NCD(n-1) - 3*n + 4.

A244758 Number of binary digits in the n-th term of the continued fraction of the base-2 Champernowne constant (A066717).

Original entry on oeis.org

0, 1, 3, 2, 1, 3, 3, 2, 2, 1, 3, 3, 1, 2, 9, 1, 3, 1, 1, 2, 9, 3, 2, 3, 1, 2, 1, 2, 1, 1, 23, 1, 3, 3, 1, 2, 1, 3, 1, 5, 1, 3, 1, 3, 3, 1, 3, 1, 3, 1, 2, 1, 3, 2, 2, 6, 2, 4, 1, 4, 2, 3, 2, 5, 53, 1, 1, 7, 1, 3, 3, 3, 3
Offset: 1

Views

Author

John K. Sikora, Jul 05 2014

Keywords

Crossrefs

Cf. A066717 (The continued fraction for the "binary" Champernowne constant.)
Cf. A244330 (Position of the incrementally largest term in the continued fraction for the base 2 Champernowne constant.)
Showing 1-2 of 2 results.