login
A044154
Numbers n such that string 2,2 occurs in the base 7 representation of n but not of n-1.
0
16, 65, 112, 163, 212, 261, 310, 359, 408, 455, 506, 555, 604, 653, 702, 751, 784, 849, 898, 947, 996, 1045, 1094, 1141, 1192, 1241, 1290, 1339, 1388, 1437, 1484, 1535, 1584, 1633, 1682, 1731, 1780, 1827, 1878, 1927, 1976
OFFSET
1,1
MATHEMATICA
SequencePosition[Table[If[SequenceCount[IntegerDigits[n, 7], {2, 2}]>0, 1, 0], {n, 2000}], {0, 1}][[All, 2]] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Aug 02 2018 *)
CROSSREFS
Sequence in context: A257107 A249689 A043402 * A044535 A034720 A232050
KEYWORD
nonn,base
STATUS
approved