OFFSET
1,2
LINKS
John Cerkan, Table of n, a(n) for n = 1..10000
EXAMPLE
362 is in the sequence because 362 in base 5 is 2422 and in base 9 it is 442.
MATHEMATICA
Select[Range[7000], Union[IntegerDigits[#, 5]]==Union[IntegerDigits[#, 9]]&] (* Harvey P. Dale, Mar 08 2011 *)
PROG
(PARI) is(n)=Set(digits(n, 5))==Set(digits(n, 9)) \\ Charles R Greathouse IV, Feb 11 2017
CROSSREFS
KEYWORD
nonn,base
AUTHOR
EXTENSIONS
More terms from Don Reble, Apr 28 2006
STATUS
approved