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”).

A044797
Numbers n such that string 8,4 occurs in the base 10 representation of n but not of n+1.
0
84, 184, 284, 384, 484, 584, 684, 784, 849, 884, 984, 1084, 1184, 1284, 1384, 1484, 1584, 1684, 1784, 1849, 1884, 1984, 2084, 2184, 2284, 2384, 2484, 2584, 2684, 2784, 2849, 2884, 2984, 3084, 3184, 3284, 3384, 3484, 3584
OFFSET
1,1
MATHEMATICA
SequencePosition[Table[If[SequenceCount[IntegerDigits[n], {8, 4}]>0, 1, 0], {n, 4000}], {1, 0}][[All, 1]] (* Harvey P. Dale, Apr 09 2022 *)
CROSSREFS
Sequence in context: A287118 A306514 A044416 * A072589 A181113 A254464
KEYWORD
nonn,base
STATUS
approved