login
Numbers k such that 0 and 5 occur juxtaposed in the base-7 representation of k but not of k+1.
0

%I #9 Jul 25 2023 15:13:39

%S 35,54,84,103,133,152,182,201,231,251,280,299,329,348,384,397,427,446,

%T 476,495,525,544,574,594,623,642,672,691,727,740,770,789,819,838,868,

%U 887,917,937,966,985,1015,1034,1070,1083,1113

%N Numbers k such that 0 and 5 occur juxtaposed in the base-7 representation of k but not of k+1.

%t SequencePosition[Table[If[SequenceCount[IntegerDigits[n,7],{0,5}]>0||SequenceCount[ IntegerDigits[ n,7],{5,0}]>0,1,0],{n,1200}],{1,0}][[;;,1]] (* _Harvey P. Dale_, Jul 25 2023 *)

%Y Cf. A007093.

%K nonn,base

%O 1,1

%A _Clark Kimberling_