login
A044525
Numbers n such that string 0,6 occurs in the base 7 representation of n but not of n+1.
0
55, 104, 153, 202, 251, 300, 349, 391, 398, 447, 496, 545, 594, 643, 692, 734, 741, 790, 839, 888, 937, 986, 1035, 1077, 1084, 1133, 1182, 1231, 1280, 1329, 1378, 1420, 1427, 1476, 1525, 1574, 1623, 1672, 1721, 1763, 1770, 1819
OFFSET
1,1
MATHEMATICA
Select[Range[2000], MemberQ[Partition[IntegerDigits[#, 7], 2, 1], {0, 6}]&& !MemberQ[Partition[ IntegerDigits[ #+1, 7], 2, 1], {0, 6}]&] (* Harvey P. Dale, Apr 29 2011 *)
SequencePosition[Table[If[SequenceCount[IntegerDigits[n, 7], {0, 6}]>0, 1, 0], {n, 2000}], {1, 0}][[;; , 1]] (* Harvey P. Dale, Sep 22 2024 *)
CROSSREFS
Sequence in context: A115377 A146145 A044144 * A323070 A118151 A277273
KEYWORD
nonn,base
STATUS
approved