login
A044637
Numbers n such that string 0,5 occurs in the base 9 representation of n but not of n+1.
1
86, 167, 248, 329, 410, 491, 572, 653, 734, 782, 815, 896, 977, 1058, 1139, 1220, 1301, 1382, 1463, 1511, 1544, 1625, 1706, 1787, 1868, 1949, 2030, 2111, 2192, 2240, 2273, 2354, 2435, 2516, 2597, 2678, 2759, 2840, 2921
OFFSET
1,1
LINKS
MATHEMATICA
Transpose[SequencePosition[Table[If[MemberQ[Partition[IntegerDigits[n, 9], 2, 1], {0, 5}], 1, 0], {n, 3000}], {1, 0}]][[1]] (* The program uses the SequencePosition function from Mathematica version 10 *) (* Harvey P. Dale, May 01 2015 *)
SequencePosition[Table[If[SequenceCount[IntegerDigits[n, 9], {0, 5}]>0, 1, 0], {n, 3000}], {1, 0}][[;; , 1]] (* Harvey P. Dale, Mar 29 2026 *)
CROSSREFS
Sequence in context: A039488 A098466 A044256 * A229359 A063353 A044418
KEYWORD
nonn,base
STATUS
approved