login
A043915
Numbers k such that 0 and 5 occur juxtaposed in the base-7 representation of k but not of k+1.
0
35, 54, 84, 103, 133, 152, 182, 201, 231, 251, 280, 299, 329, 348, 384, 397, 427, 446, 476, 495, 525, 544, 574, 594, 623, 642, 672, 691, 727, 740, 770, 789, 819, 838, 868, 887, 917, 937, 966, 985, 1015, 1034, 1070, 1083, 1113
OFFSET
1,1
MATHEMATICA
SequencePosition[Table[If[SequenceCount[IntegerDigits[n, 7], {0, 5}]>0||SequenceCount[ IntegerDigits[ n, 7], {5, 0}]>0, 1, 0], {n, 1200}], {1, 0}][[;; , 1]] (* Harvey P. Dale, Jul 25 2023 *)
CROSSREFS
Cf. A007093.
Sequence in context: A044021 A043135 A039312 * A359448 A355812 A318572
KEYWORD
nonn,base
STATUS
approved