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

A044096
Numbers n such that string 3,4 occurs in the base 5 representation of n but not of n-1.
0
19, 44, 69, 94, 119, 144, 169, 194, 219, 244, 269, 294, 319, 344, 369, 394, 419, 444, 469, 519, 544, 569, 594, 619, 644, 669, 694, 719, 744, 769, 794, 819, 844, 869, 894, 919, 944, 969, 994, 1019, 1044, 1069, 1094, 1144, 1169
OFFSET
1,1
MATHEMATICA
SequencePosition[Table[If[SequenceCount[IntegerDigits[n, 5], {3, 4}]>0, 1, 0], {n, 1500}], {0, 1}][[All, 2]] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Jul 13 2019 *)
CROSSREFS
Sequence in context: A229765 A058829 A063313 * A044477 A140680 A183632
KEYWORD
nonn,base
STATUS
approved