login
A044084
Numbers n such that string 1,2 occurs in the base 5 representation of n but not of n-1.
0
7, 32, 35, 57, 82, 107, 132, 157, 160, 175, 207, 232, 257, 282, 285, 307, 332, 357, 382, 407, 410, 432, 457, 482, 507, 532, 535, 557, 582, 607, 632, 657, 660, 682, 707, 732, 757, 782, 785, 800, 832, 857, 875, 1007, 1032, 1035, 1057
OFFSET
1,1
MATHEMATICA
SequencePosition[Table[If[SequenceCount[IntegerDigits[n, 5], {1, 2}]>0, 1, 0], {n, 1100}], {0, 1}][[All, 2]] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Mar 06 2019 *)
CROSSREFS
Sequence in context: A360261 A164819 A067811 * A044465 A029484 A153716
KEYWORD
nonn,base
STATUS
approved