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

%I #7 May 25 2015 14:58:07

%S 27,127,227,279,327,427,527,627,727,827,927,1027,1127,1227,1279,1327,

%T 1427,1527,1627,1727,1827,1927,2027,2127,2227,2279,2327,2427,2527,

%U 2627,2799,2827,2927,3027,3127,3227,3279,3327,3427

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

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

%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 July 12 21:16 EDT 2024. Contains 374257 sequences. (Running on oeis4.)