login
A043906
Numbers k such that 2 and 4 occur juxtaposed in the base-6 representation of k but not of k+1.
0
16, 26, 52, 62, 88, 101, 124, 134, 161, 170, 196, 206, 232, 242, 268, 278, 304, 317, 340, 350, 377, 386, 412, 422, 448, 458, 484, 494, 520, 533, 556, 566, 611, 628, 638, 664, 674, 700, 710, 736, 749, 772, 782, 809, 818, 844, 854
OFFSET
1,1
MATHEMATICA
SequencePosition[Table[If[SequenceCount[IntegerDigits[n, 6], {2, 4}]>0 ||SequenceCount[ IntegerDigits[n, 6], {4, 2}]>0, 1, 0], {n, 1000}], {1, 0}][[All, 1]] (* Harvey P. Dale, Dec 30 2022 *)
CROSSREFS
Cf. A007092.
Sequence in context: A064420 A038353 A043126 * A152444 A199013 A374007
KEYWORD
nonn,base
STATUS
approved