login
Numbers k with the property that k is a substring of its base-6 representation.
9

%I #18 Mar 11 2023 12:34:35

%S 0,1,2,3,4,5,45240,45241,45242,45243,45244,45245,54000,54001,54002,

%T 54003,54004,54005,304200,304201,304202,304203,304204,304205,3240000,

%U 3240001,3240002,3240003,3240004,3240005,3544200,3544201,3544202

%N Numbers k with the property that k is a substring of its base-6 representation.

%H Giovanni Resta, <a href="/A038106/b038106.txt">Table of n, a(n) for n = 1..125</a> (terms < 10^18)

%e 304201_10 = 10{304201}_6.

%t Select[Range[0,355*10^4],SequenceCount[IntegerDigits[#,6],IntegerDigits[#]]>0&] (* _Harvey P. Dale_, Mar 11 2023 *)

%Y Cf. A038102-A038105, A228050-A228052, A227549.

%K nonn,base

%O 1,3

%A _Patrick De Geest_, Feb 15 1999