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.

A211864 Powers of three read in base 2.

Original entry on oeis.org

1, 3, 9, 11, 17, 19, 41, 43, 81, 131, 169, 219, 241, 419, 681, 651, 849, 1203, 2441, 1867, 4369, 3027, 5625, 12475, 15457, 26403, 26553, 48795, 54561, 99667, 80345, 158731, 221313, 332467, 460857, 375451, 569345, 987267, 1181145, 1594971, 1924001, 4458531
Offset: 0

Views

Author

Robert G. Wilson v, Feb 10 2013

Keywords

Examples

			a(3)=11 because 3^3=27_10 but in base 2 it is interpreted as 2*2^1+7*2^0=4+7=11. That is to say, digits larger than the base are carried.
		

Crossrefs

Cf. A004656.

Programs

  • Mathematica
    f[n_] := FromDigits[ IntegerDigits[3^n], 2]; Array[f, 42, 0]