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”).

A037431
Positive numbers having the same set of digits in base 5 and base 8.
1
1, 2, 3, 4, 91, 136, 200, 272, 540, 545, 609, 672, 705, 1035, 1164, 1665, 1681, 1698, 1699, 1748, 1818, 2115, 2123, 2179, 2323, 4257, 4260, 4625, 4626, 4682, 4691, 4760, 4802, 4817, 4818, 4834, 4880, 5211, 5251, 5315, 5324, 5328, 5331, 5337
OFFSET
1,2
EXAMPLE
545 is in the sequence because 545 in base 5 is 4140 and in base 8 it is 1041.
MATHEMATICA
Select[Range[5500], Union[IntegerDigits[#, 5]]==Union[IntegerDigits[#, 8]]&] (* Harvey P. Dale, Jun 01 2018 *)
CROSSREFS
Subsequence of A037395.
Sequence in context: A263281 A191422 A008405 * A262526 A171564 A244541
KEYWORD
nonn,base
EXTENSIONS
Corrected by Don Reble, Apr 28 2006
Edited by John Cerkan, Feb 11 2017
STATUS
approved