login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A044337 Numbers n such that string 0,5 occurs in the base 10 representation of n but not of n-1. 0

%I #9 Dec 24 2022 11:30:27

%S 105,205,305,405,505,605,705,805,905,1005,1050,1105,1205,1305,1405,

%T 1505,1605,1705,1805,1905,2005,2050,2105,2205,2305,2405,2505,2605,

%U 2705,2805,2905,3005,3050,3105,3205,3305,3405,3505

%N Numbers n such that string 0,5 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],{0,5}],1,0],{n,3600}],2,1],{0,1}]]+1 (* _Harvey P. Dale_, Mar 23 2015 *)

%t SequencePosition[Table[If[SequenceCount[IntegerDigits[n],{0,5}]>0,1,0],{n,4000}],{0,1}][[All,2]] (* _Harvey P. Dale_, Dec 24 2022 *)

%K nonn,base

%O 1,1

%A _Clark Kimberling_

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 19 18:05 EDT 2024. Contains 371798 sequences. (Running on oeis4.)