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

%I #11 Oct 31 2021 16:09:40

%S 56,71,120,135,184,199,248,263,312,327,376,391,440,455,504,519,575,

%T 583,632,647,696,711,760,775,824,839,888,903,952,967,1016,1031,1087,

%U 1095,1144,1159,1208,1223,1272,1287,1336,1351,1400

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

%t SequencePosition[Table[If[SequenceCount[IntegerDigits[n,8],{0,7}]> 0 || SequenceCount[IntegerDigits[n,8],{7,0}]>0,1,0],{n,1500}],{1,0}][[All,1]] (* _Harvey P. Dale_, Oct 31 2021 *)

%Y Cf. A007094.

%K nonn,base

%O 1,1

%A _Clark Kimberling_