login
A044756
Numbers n such that string 4,3 occurs in the base 10 representation of n but not of n+1.
0
43, 143, 243, 343, 439, 443, 543, 643, 743, 843, 943, 1043, 1143, 1243, 1343, 1439, 1443, 1543, 1643, 1743, 1843, 1943, 2043, 2143, 2243, 2343, 2439, 2443, 2543, 2643, 2743, 2843, 2943, 3043, 3143, 3243, 3343, 3439, 3443
OFFSET
1,1
MATHEMATICA
Transpose[SequencePosition[Table[If[SequenceCount[IntegerDigits[n], {4, 3}]>0, 1, 0], {n, 3500}], {1, 0}]][[1]] (* The program uses the SequencePosition and SequenceCount functions from Mathematica version 10 *) (* Harvey P. Dale, Nov 28 2015 *)
CROSSREFS
Sequence in context: A142412 A175683 A044375 * A142573 A142691 A200845
KEYWORD
nonn,base
STATUS
approved