%I
%S 51,151,251,351,451,519,551,651,751,851,951,1051,1151,1251,1351,1451,
%T 1519,1551,1651,1751,1851,1951,2051,2151,2251,2351,2451,2519,2551,
%U 2651,2751,2851,2951,3051,3151,3251,3351,3451,3519
%N Numbers n such that string 5,1 occurs in the base 10 representation of n but not of n+1.
%t Flatten[Position[Partition[Table[If[MemberQ[Partition[ IntegerDigits[ n],2,1],{5,1}],1,0],{n,3600}],2,1],{1,0}]] (* _Harvey P. Dale_, Aug 17 2014 *)
%K nonn,base
%O 1,1
%A _Clark Kimberling_
|