login
A043892
Numbers k such that 1 and 4 occur juxtaposed in the base-5 representation of k but not of k+1.
0
9, 21, 34, 49, 59, 71, 84, 96, 109, 121, 134, 146, 159, 174, 184, 196, 209, 221, 249, 259, 271, 284, 299, 309, 321, 334, 346, 359, 371, 384, 396, 409, 424, 434, 446, 459, 471, 484, 496, 509, 521, 549, 559, 571, 584, 596, 609, 621
OFFSET
1,1
MATHEMATICA
SequencePosition[Table[If[SequenceCount[IntegerDigits[n, 5], {1, 4}]>0||SequenceCount[ IntegerDigits[ n, 5], {4, 1}]>0, 1, 0], {n, 700}], {1, 0}][[;; , 1]] (* Harvey P. Dale, May 30 2023 *)
CROSSREFS
Cf. A007091.
Sequence in context: A226355 A253052 A043112 * A332019 A146069 A140673
KEYWORD
nonn,base
STATUS
approved