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.

A004645 Powers of 2 written in base 6.

Original entry on oeis.org

1, 2, 4, 12, 24, 52, 144, 332, 1104, 2212, 4424, 13252, 30544, 101532, 203504, 411412, 1223224, 2450452, 5341344, 15123132, 34250304, 112541012, 225522024, 455444052, 1355332144, 3155104332, 10354213104
Offset: 0

Views

Author

Keywords

Crossrefs

Cf. A000079, A004642, ..., A004655: powers of 2 written in base 10, 3, 4, ..., 16
Cf. A000244, A004656, A004658, A004659, ... : powers of 3 written in base 10, 2, 4, 5, ...

Programs

  • Magma
    [Seqint(Intseq(2^n, 6)): n in [0..30]]; // G. C. Greubel, Sep 10 2018
  • Mathematica
    Table[FromDigits[IntegerDigits[2^n, 6]], {n, 0, 40}] (* Vincenzo Librandi, Jun 07 2013 *)
  • PARI
    a(n)=fromdigits(digits(2^n,6)) \\ M. F. Hasler, Jun 23 2018