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!)
A044808 Numbers n such that string 9,5 occurs in the base 10 representation of n but not of n+1. 0

%I #7 May 24 2016 18:08:55

%S 95,195,295,395,495,595,695,795,895,959,995,1095,1195,1295,1395,1495,

%T 1595,1695,1795,1895,1959,1995,2095,2195,2295,2395,2495,2595,2695,

%U 2795,2895,2959,2995,3095,3195,3295,3395,3495,3595

%N Numbers n such that string 9,5 occurs in the base 10 representation of n but not of n+1.

%t Transpose[SequencePosition[Table[If[SequenceCount[IntegerDigits[n],{9,5}]>0,1,0],{n,4000}],{1,0}]][[1]] (* The program uses the SequencePosition and SequenceCount functions from Mathematica version 10 *) (* _Harvey P. Dale_, May 24 2016 *)

%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 23 13:51 EDT 2024. Contains 371914 sequences. (Running on oeis4.)