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

A044092
Numbers n such that string 3,0 occurs in the base 5 representation of n but not of n-1.
0
15, 40, 65, 75, 90, 115, 140, 165, 190, 200, 215, 240, 265, 290, 315, 325, 340, 365, 375, 415, 440, 450, 465, 490, 515, 540, 565, 575, 590, 615, 640, 665, 690, 700, 715, 740, 765, 790, 815, 825, 840, 865, 890, 915, 940, 950, 965
OFFSET
1,1
MATHEMATICA
Flatten[Position[Partition[Table[If[MemberQ[Partition[ IntegerDigits[ n, 5], 2, 1], {3, 0}], 1, 0], {n, 1000}], 2, 1], {0, 1}]]+1 (* Harvey P. Dale, Jan 18 2015 *)
CROSSREFS
Sequence in context: A369758 A325659 A223432 * A044473 A321491 A067724
KEYWORD
nonn,base
STATUS
approved