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.

A105108 Write numbers in ternary under each other; to get the next block of 3^k (k >= 0) terms of the sequence, start at 3^k, read diagonals in upward direction and convert to decimal.

Original entry on oeis.org

0, 1, 2, 5, 3, 4, 8, 6, 7, 16, 11, 9, 10, 14, 12, 13, 17, 15, 25, 20, 18, 19, 23, 21, 22, 26, 24, 51, 34, 29, 27, 28, 32, 30, 31, 35, 33, 43, 38, 36, 37, 41, 39, 40, 44, 42, 52, 47, 45, 46, 50, 48, 49, 53, 78, 61, 56, 54, 55, 59, 57, 58, 62, 60, 70, 65, 63, 64, 68, 66, 67, 71, 69
Offset: 0

Views

Author

John W. Layman, Apr 07 2005

Keywords

Comments

This is a permutation of the nonnegative integers.

Examples

			..0
..1
..2
.10
.11
.12
.20
.21
.22
100 <- Starting here, the upward diagonals
101 read 121,102,100,..., giving 16,11,9,...
102
		

Crossrefs

Cf. A105027.