[go: up one dir, main page]

login
A044322
Numbers n such that the string 7,8 occurs in the base 9 representation of n but not of n-1.
0
71, 152, 233, 314, 395, 476, 557, 638, 719, 800, 881, 962, 1043, 1124, 1205, 1286, 1367, 1448, 1529, 1610, 1691, 1772, 1853, 1934, 2015, 2096, 2177, 2258, 2339, 2420, 2501, 2582, 2663, 2744, 2825, 2906, 2987, 3068, 3149
OFFSET
1,1
COMMENTS
Appears to satisfy the recurrence a(n) = a(n-1) + 81, a(0) = 71, but this fails since 5822 is not a member.
MATHEMATICA
SequencePosition[Table[If[SequenceCount[IntegerDigits[n, 9], {7, 8}]>0, 1, 0], {n, 3200}], {0, 1}][[;; , 2]] (* Harvey P. Dale, Mar 04 2023 *)
CROSSREFS
Sequence in context: A033224 A142178 A046004 * A044703 A372188 A142277
KEYWORD
nonn,base
STATUS
approved