login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A044340
Numbers n such that string 0,8 occurs in the base 10 representation of n but not of n-1.
0
108, 208, 308, 408, 508, 608, 708, 808, 908, 1008, 1080, 1108, 1208, 1308, 1408, 1508, 1608, 1708, 1808, 1908, 2008, 2080, 2108, 2208, 2308, 2408, 2508, 2608, 2708, 2808, 2908, 3008, 3080, 3108, 3208, 3308, 3408, 3508
OFFSET
1,1
MATHEMATICA
SequencePosition[Table[If[SequenceCount[IntegerDigits[n], {0, 8}]>0, 1, 0], {n, 4000}], {0, 1}][[All, 2]] (* Harvey P. Dale, Dec 04 2021 *)
CROSSREFS
Sequence in context: A338382 A338384 A344702 * A044721 A095050 A339983
KEYWORD
nonn,base
STATUS
approved