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

Numbers k such that 3 and 9 occur juxtaposed in the base-10 representation of k but not of k+1.
0

%I #11 Mar 26 2023 08:52:16

%S 39,93,139,193,239,293,339,399,439,493,539,593,639,693,739,793,839,

%T 893,939,993,1039,1093,1139,1193,1239,1293,1339,1399,1439,1493,1539,

%U 1593,1639,1693,1739,1793,1839,1893,1939,1993,2039

%N Numbers k such that 3 and 9 occur juxtaposed in the base-10 representation of k but not of k+1.

%t SequencePosition[Table[If[SequenceCount[IntegerDigits[n],{3,9}]>0 || SequenceCount[ IntegerDigits[n],{9,3}]>0,1,0],{n,2500}],{1,0}][[;;,1]] (* _Harvey P. Dale_, Mar 26 2023 *)

%K nonn,base

%O 1,1

%A _Clark Kimberling_