login
A037432
Positive numbers having the same set of digits in base 5 and base 9.
1
1, 2, 3, 4, 11, 22, 121, 181, 199, 362, 849, 895, 900, 911, 994, 1074, 1084, 1495, 1703, 1711, 1723, 1739, 1794, 1800, 1813, 1822, 2225, 2287, 2288, 2299, 2385, 2469, 2513, 2515, 2945, 3001, 3006, 3034, 3117, 3249, 6582, 6663, 6759, 6761
OFFSET
1,2
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
Subsequence of A037396.
Sequence in context: A118596 A139763 A037396 * A357360 A301877 A369438
KEYWORD
nonn,base
EXTENSIONS
More terms from Don Reble, Apr 28 2006
STATUS
approved