[go: up one dir, main page]

login
A004656
Powers of 3 written in base 2.
19
1, 11, 1001, 11011, 1010001, 11110011, 1011011001, 100010001011, 1100110100001, 100110011100011, 1110011010101001, 101011001111111011, 10000001101111110001, 110000101001111010011, 10010001111101101111001
OFFSET
0,2
REFERENCES
S. Wolfram, A New Kind of Science, Wolfram Media, 2002, pp. 120 and 903.
LINKS
MATHEMATICA
Table[ FromDigits[ IntegerDigits[3^n, 2]], {n, 0, 14}]
PROG
(PARI) a(n)=fromdigits(binary(3^n)) \\ M. F. Hasler, Jun 23 2018
(Magma) [Seqint(Intseq(3^n, 2)): n in [0..30]]; // G. C. Greubel, Sep 10 2018
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, ...
Sequence in context: A266670 A272654 A342036 * A143016 A152577 A278757
KEYWORD
nonn,base,easy
STATUS
approved