login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A044128
Numbers n such that string 4,2 occurs in the base 6 representation of n but not of n-1.
0
26, 62, 98, 134, 156, 170, 206, 242, 278, 314, 350, 372, 386, 422, 458, 494, 530, 566, 588, 602, 638, 674, 710, 746, 782, 804, 818, 854, 890, 926, 936, 998, 1020, 1034, 1070, 1106, 1142, 1178, 1214, 1236, 1250, 1286, 1322, 1358
OFFSET
1,1
MATHEMATICA
SequencePosition[Table[If[SequenceCount[IntegerDigits[n, 6], {4, 2}]>0, 1, 0], {n, 1500}], {0, 1}][[All, 2]] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Oct 11 2018 *)
CROSSREFS
Sequence in context: A267294 A162316 A173085 * A044509 A039413 A043236
KEYWORD
nonn,base
STATUS
approved