login
A044099
Numbers n such that string 4,2 occurs in the base 5 representation of n but not of n-1.
1
22, 47, 72, 97, 110, 122, 147, 172, 197, 222, 235, 247, 272, 297, 322, 347, 360, 372, 397, 422, 447, 472, 485, 497, 522, 547, 550, 597, 610, 622, 647, 672, 697, 722, 735, 747, 772, 797, 822, 847, 860, 872, 897, 922, 947, 972
OFFSET
1,1
LINKS
MATHEMATICA
SequencePosition[Table[If[SequenceCount[IntegerDigits[n, 5], {4, 2}]>0, 1, 0], {n, 1000}], {0, 1}][[All, 2]] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Dec 04 2019 *)
CROSSREFS
Sequence in context: A161666 A132763 A250723 * A044480 A253602 A217751
KEYWORD
nonn,base
STATUS
approved