A038106 Numbers k with the property that k is a substring of its base-6 representation.
0, 1, 2, 3, 4, 5, 45240, 45241, 45242, 45243, 45244, 45245, 54000, 54001, 54002, 54003, 54004, 54005, 304200, 304201, 304202, 304203, 304204, 304205, 3240000, 3240001, 3240002, 3240003, 3240004, 3240005, 3544200, 3544201, 3544202
Offset: 1
Examples
304201_10 = 10{304201}_6.
Links
- Giovanni Resta, Table of n, a(n) for n = 1..125 (terms < 10^18)
Programs
-
Mathematica
Select[Range[0,355*10^4],SequenceCount[IntegerDigits[#,6],IntegerDigits[#]]>0&] (* Harvey P. Dale, Mar 11 2023 *)