A037438 Positive numbers having the same set of digits in base 7 and base 8.
1, 2, 3, 4, 5, 6, 94, 133, 220, 227, 305, 385, 597, 620, 629, 1043, 1059, 1195, 1441, 1540, 1571, 1893, 1904, 1905, 1906, 1907, 1908, 1909, 1910, 2086, 2278, 3080, 3170, 4165, 4200, 4365, 4389, 4464, 4483, 4504, 4512, 4880, 5156, 5202, 5211
Offset: 1
Examples
227 is in the sequence because 227 in base 7 is 443 and in base 8 it is 343.
Links
- John Cerkan, Table of n, a(n) for n = 1..10000
Crossrefs
Subsequence of A037402.
Programs
-
Mathematica
Select[Range[6000],Union[IntegerDigits[#,7]]==Union[IntegerDigits[#,8]]&] (* Harvey P. Dale, Jul 22 2015 *)
Extensions
More terms from Don Reble, Apr 28 2006
Edited by John Cerkan, Feb 17 2017