login
A059808
Numbers which contain the same digits in two different bases.
1
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,1
EXAMPLE
13 can be written as 12 (in base 11) or 21 (in base 6)
PROG
(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
CROSSREFS
Cf. A059809.
Sequence in context: A004169 A295299 A066669 * A020742 A193071 A329112
KEYWORD
base,nonn
AUTHOR
Erich Friedman, Feb 24 2001
STATUS
approved