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.

User: Karol Bacik

Karol Bacik's wiki page.

Karol Bacik has authored 1 sequences.

A203580 a(n) = Sum{d(i)*2^i: i=0,1,...,m}, where Sum{d(i)*7^i: i=0,1,...,m}=n, d(i)∈{0,1,...,6}.

Original entry on oeis.org

0, 1, 2, 3, 4, 5, 6, 2, 3, 4, 5, 6, 7, 8, 4, 5, 6, 7, 8, 9, 10, 6, 7, 8, 9, 10, 11, 12, 8, 9, 10, 11, 12, 13, 14, 10, 11, 12, 13, 14, 15, 16, 12, 13, 14, 15, 16, 17, 18, 4, 5, 6, 7, 8, 9, 10, 6, 7, 8, 9, 10, 11, 12, 8, 9, 10, 11, 12, 13, 14, 10, 11, 12, 13, 14
Offset: 0

Author

Karol Bacik, Jan 03 2012

Keywords

Comments

Change-of-base sequence 7->2.

Crossrefs

Cf. A033044.

Programs

  • Mathematica
    t = Table[FromDigits[RealDigits[n, 7], 2], {n, 0, 100}] (* Clark Kimberling, Aug 03 2012 *)

Formula

a(0)=0, a(n)=2*a(n/7) if n==0 (mod 7), a(n)=a(n-1)+1 otherwise.