login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

Positive numbers having the same set of digits in base 5 and base 9.
1

%I #19 Apr 23 2021 22:21:31

%S 1,2,3,4,11,22,121,181,199,362,849,895,900,911,994,1074,1084,1495,

%T 1703,1711,1723,1739,1794,1800,1813,1822,2225,2287,2288,2299,2385,

%U 2469,2513,2515,2945,3001,3006,3034,3117,3249,6582,6663,6759,6761

%N Positive numbers having the same set of digits in base 5 and base 9.

%H John Cerkan, <a href="/A037432/b037432.txt">Table of n, a(n) for n = 1..10000</a>

%e 362 is in the sequence because 362 in base 5 is 2422 and in base 9 it is 442.

%t Select[Range[7000],Union[IntegerDigits[#,5]]==Union[IntegerDigits[#,9]]&] (* _Harvey P. Dale_, Mar 08 2011 *)

%o (PARI) is(n)=Set(digits(n,5))==Set(digits(n,9)) \\ _Charles R Greathouse IV_, Feb 11 2017

%Y Subsequence of A037396.

%K nonn,base

%O 1,2

%A _Clark Kimberling_

%E More terms from _Don Reble_, Apr 28 2006