login
A044751
Numbers n such that string 3,8 occurs in the base 10 representation of n but not of n+1.
0
38, 138, 238, 338, 389, 438, 538, 638, 738, 838, 938, 1038, 1138, 1238, 1338, 1389, 1438, 1538, 1638, 1738, 1838, 1938, 2038, 2138, 2238, 2338, 2389, 2438, 2538, 2638, 2738, 2838, 2938, 3038, 3138, 3238, 3338, 3389, 3438
OFFSET
1,1
MATHEMATICA
SequencePosition[Table[If[SequenceCount[IntegerDigits[n], {3, 8}]>0, 1, 0], {n, 3500}], {1, 0}][[All, 1]] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Jun 21 2017 *)
CROSSREFS
Sequence in context: A216896 A158525 A044370 * A221403 A320309 A164093
KEYWORD
nonn,base
STATUS
approved