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

A044087
Numbers n such that string 2,0 occurs in the base 5 representation of n but not of n-1.
0
10, 35, 50, 60, 85, 110, 135, 160, 175, 185, 210, 235, 250, 285, 300, 310, 335, 360, 385, 410, 425, 435, 460, 485, 510, 535, 550, 560, 585, 610, 635, 660, 675, 685, 710, 735, 760, 785, 800, 810, 835, 860, 875, 910, 925, 935, 960
OFFSET
1,1
MATHEMATICA
SequencePosition[Table[If[SequenceCount[IntegerDigits[n, 5], {2, 0}]>0, 1, 0], {n, 1000}], {0, 1}][[All, 2]] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Apr 29 2017 *)
CROSSREFS
Sequence in context: A243939 A065195 A115149 * A022702 A044468 A355491
KEYWORD
nonn,base
STATUS
approved