login
A044505
Numbers n such that string 3,4 occurs in the base 6 representation of n but not of n+1.
0
22, 58, 94, 130, 137, 166, 202, 238, 274, 310, 346, 353, 382, 418, 454, 490, 526, 562, 569, 598, 634, 670, 706, 742, 778, 785, 827, 850, 886, 922, 958, 994, 1001, 1030, 1066, 1102, 1138, 1174, 1210, 1217, 1246, 1282, 1318, 1354
OFFSET
1,1
MATHEMATICA
Transpose[SequencePosition[Table[If[SequenceCount[IntegerDigits[n, 6], {3, 4}]>0, 1, 0], {n, 1500}], {1, 0}]][[1]] (* The program uses the SequencePosition and SequenceCount functions from Mathematica version 10 *) (* Harvey P. Dale, Jun 09 2016 *)
CROSSREFS
Sequence in context: A019506 A202387 A044124 * A156797 A216299 A255431
KEYWORD
nonn,base
STATUS
approved