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.

A078825 Sum of distinct binary numbers contained as substrings in binary, circular formed representation of n and not longer than n.

Original entry on oeis.org

0, 1, 3, 4, 7, 17, 17, 11, 15, 37, 18, 62, 37, 62, 62, 26, 31, 77, 69, 130, 69, 120, 120, 186, 77, 130, 120, 186, 130, 186, 186, 57, 63, 157, 141, 266, 70, 249, 249, 382, 141, 249, 81, 371, 249, 189, 371, 501, 157, 266, 249, 382, 249, 371, 189, 501, 266, 382
Offset: 0

Views

Author

Reinhard Zumkeller, Dec 08 2002

Keywords

Comments

a(2^k-1)=2^(k+1)-(k+2); a(2^k)=2^(k+1)-1;
for k>0: a(2^k+1)=a(3*2^(k-1))=2^(k+1);
a(2^k-1)=A078823(2^k-1), a(2^k)=A078823(2^k).

Crossrefs