login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

Positive numbers having the same set of digits in base 7 and base 8.
2

%I #15 Apr 23 2021 22:23:59

%S 1,2,3,4,5,6,94,133,220,227,305,385,597,620,629,1043,1059,1195,1441,

%T 1540,1571,1893,1904,1905,1906,1907,1908,1909,1910,2086,2278,3080,

%U 3170,4165,4200,4365,4389,4464,4483,4504,4512,4880,5156,5202,5211

%N Positive numbers having the same set of digits in base 7 and base 8.

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

%e 227 is in the sequence because 227 in base 7 is 443 and in base 8 it is 343.

%t Select[Range[6000],Union[IntegerDigits[#,7]]==Union[IntegerDigits[#,8]]&] (* _Harvey P. Dale_, Jul 22 2015 *)

%Y Subsequence of A037402.

%K nonn,base

%O 1,2

%A _Clark Kimberling_

%E More terms from _Don Reble_, Apr 28 2006

%E Edited by _John Cerkan_, Feb 17 2017