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.

A059808 Numbers which contain the same digits in two different bases.

Original entry on oeis.org

7, 9, 11, 13, 15, 16, 17, 19, 21, 22, 23, 25, 26, 27, 28, 29, 30, 31, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87
Offset: 1

Views

Author

Erich Friedman, Feb 24 2001

Keywords

Examples

			13 can be written as 12 (in base 11) or 21 (in base 6)
		

Crossrefs

Cf. A059809.

Programs

  • PARI
    isok(n) = {for (b=3, n, db = vecsort(digits(n, b)); for (c = 2, b-1, dc = vecsort(digits(n, c)); if (dc == db, return (1));););} \\ Michel Marcus, Aug 03 2015