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.

A004656 Powers of 3 written in base 2.

Original entry on oeis.org

1, 11, 1001, 11011, 1010001, 11110011, 1011011001, 100010001011, 1100110100001, 100110011100011, 1110011010101001, 101011001111111011, 10000001101111110001, 110000101001111010011, 10010001111101101111001
Offset: 0

Views

Author

Keywords

References

  • S. Wolfram, A New Kind of Science, Wolfram Media, 2002, pp. 120 and 903.

Crossrefs

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

Programs

  • Magma
    [Seqint(Intseq(3^n, 2)): n in [0..30]]; // G. C. Greubel, Sep 10 2018
  • Mathematica
    Table[ FromDigits[ IntegerDigits[3^n, 2]], {n, 0, 14}]
  • PARI
    a(n)=fromdigits(binary(3^n)) \\ M. F. Hasler, Jun 23 2018