login
A037421
Positive numbers having the same set of digits in base 3 and base 9.
1
1, 2, 9, 18, 81, 82, 83, 90, 99, 162, 163, 164, 171, 180, 729, 730, 731, 738, 739, 740, 747, 748, 749, 810, 811, 812, 819, 828, 891, 892, 893, 900, 909, 1458, 1459, 1460, 1467, 1468, 1469, 1476, 1477, 1478, 1539, 1540, 1541, 1548, 1557, 1620, 1621
OFFSET
1,2
PROG
(PARI) is(n)=Set(digits(n, 3))==Set(digits(n, 9)) \\ Charles R Greathouse IV, Feb 11 2017
CROSSREFS
Sequence in context: A083708 A280588 A191520 * A083423 A068978 A006226
KEYWORD
nonn,base
EXTENSIONS
Corrected by Don Reble, Apr 28 2006
Name edited by John Cerkan, Jan 25 2017
STATUS
approved