login
A043124
Numbers k such that 1 and 5 occur juxtaposed in the base-6 representation of k but not of k-1.
0
11, 31, 47, 66, 83, 103, 119, 139, 155, 175, 186, 211, 227, 247, 263, 282, 299, 319, 335, 355, 371, 391, 396, 443, 463, 479, 498, 515, 535, 551, 571, 587, 607, 618, 643, 659, 679, 695, 714, 731, 751, 767, 787, 803, 823, 834, 859
OFFSET
1,1
MATHEMATICA
SequencePosition[Table[If[SequenceCount[IntegerDigits[n, 6], {1, 5}]>0 || SequenceCount[ IntegerDigits[ n, 6], {5, 1}]>0 , 1, 0], {n, 900}], {0, 1}][[;; , 2]] (* Harvey P. Dale, Jul 03 2024 *)
CROSSREFS
Cf. A007092.
Sequence in context: A347815 A142343 A271653 * A043904 A152293 A377460
KEYWORD
nonn,base
STATUS
approved