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.

A065367 Replace 3^k with (-3)^k in balanced ternary expansion of n.

Original entry on oeis.org

1, -4, -3, -2, 11, 12, 13, 8, 9, 10, 5, 6, 7, -34, -33, -32, -37, -36, -35, -40, -39, -38, -25, -24, -23, -28, -27, -26, -31, -30, -29, -16, -15, -14, -19, -18, -17, -22, -21, -20, 101, 102, 103, 98, 99, 100, 95, 96, 97, 110, 111, 112, 107, 108, 109, 104, 105, 106, 119, 120, 121, 116, 117, 118, 113
Offset: 1

Views

Author

Marc LeBrun, Oct 31 2001

Keywords

Comments

Notation: (3)< n >(-3)

Examples

			5 = +1(9)-1(3)-1(1) -> +1(9)-1(-3)-1(1) = 11 = a(5)
		

Crossrefs