login
A044256
Numbers k such that string 0,5 occurs in the base 9 representation of k but not of k-1.
1
86, 167, 248, 329, 410, 491, 572, 653, 734, 774, 815, 896, 977, 1058, 1139, 1220, 1301, 1382, 1463, 1503, 1544, 1625, 1706, 1787, 1868, 1949, 2030, 2111, 2192, 2232, 2273, 2354, 2435, 2516, 2597, 2678, 2759, 2840, 2921
OFFSET
1,1
MATHEMATICA
A044256Q[k_] := StringContainsQ[IntegerString[k, 9], "05"] && StringFreeQ[IntegerString[k - 1, 9], "05"];
Select[Range[5000], A044256Q] (* Paolo Xausa, Sep 02 2025 *)
SequencePosition[Table[If[SequenceCount[IntegerDigits[n, 9], {0, 5}]>0, 1, 0], {n, 3000}], {0, 1}][[;; , 2]] (* Harvey P. Dale, May 05 2026 *)
CROSSREFS
Sequence in context: A097399 A039488 A098466 * A044637 A229359 A063353
KEYWORD
nonn,base
STATUS
approved