login
Numbers n such that string 2,0 occurs in the base 3 representation of n but not of n+1.
0

%I #7 Aug 31 2023 13:43:05

%S 6,15,20,24,33,42,47,51,62,69,74,78,87,96,101,105,114,123,128,132,143,

%T 150,155,159,188,195,204,209,213,224,231,236,240,249,258,263,267,276,

%U 285,290,294,305,312,317,321,330,339,344,348

%N Numbers n such that string 2,0 occurs in the base 3 representation of n but not of n+1.

%t SequencePosition[Table[If[SequenceCount[IntegerDigits[n,3],{2,0}]>0,1,0],{n,350}],{1,0}][[;;,1]] (* _Harvey P. Dale_, Aug 31 2023 *)

%K nonn,base

%O 1,1

%A _Clark Kimberling_