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”).

A044110
Numbers n such that string 1,2 occurs in the base 6 representation of n but not of n-1.
0
8, 44, 48, 80, 116, 152, 188, 224, 260, 264, 288, 332, 368, 404, 440, 476, 480, 512, 548, 584, 620, 656, 692, 696, 728, 764, 800, 836, 872, 908, 912, 944, 980, 1016, 1052, 1088, 1124, 1128, 1160, 1196, 1232, 1268, 1304, 1340, 1344
OFFSET
1,1
MATHEMATICA
SequencePosition[Table[If[SequenceCount[IntegerDigits[n, 6], {1, 2}]>0, 1, 0], {n, 1500}], {0, 1}][[All, 2]] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, May 28 2017 *)
CROSSREFS
Sequence in context: A144039 A282189 A210125 * A044491 A178918 A357896
KEYWORD
nonn,base
STATUS
approved