login
A044360
Numbers n such that string 2,8 occurs in the base 10 representation of n but not of n-1.
0
28, 128, 228, 280, 328, 428, 528, 628, 728, 828, 928, 1028, 1128, 1228, 1280, 1328, 1428, 1528, 1628, 1728, 1828, 1928, 2028, 2128, 2228, 2280, 2328, 2428, 2528, 2628, 2728, 2800, 2928, 3028, 3128, 3228, 3280, 3328, 3428
OFFSET
1,1
MATHEMATICA
SequencePosition[Table[If[SequenceCount[IntegerDigits[n], {2, 8}]>0, 1, 0], {n, 3500}], {0, 1}][[All, 2]] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Aug 18 2016 *)
CROSSREFS
Sequence in context: A320885 A045823 A327750 * A044741 A318778 A184679
KEYWORD
nonn,base
STATUS
approved