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

A044179
Numbers n such that string 5,6 occurs in the base 7 representation of n but not of n-1.
0
41, 90, 139, 188, 237, 286, 335, 384, 433, 482, 531, 580, 629, 678, 727, 776, 825, 874, 923, 972, 1021, 1070, 1119, 1168, 1217, 1266, 1315, 1364, 1413, 1462, 1511, 1560, 1609, 1658, 1707, 1756, 1805, 1854, 1903, 1952, 2001
OFFSET
1,1
MATHEMATICA
SequencePosition[Table[If[SequenceCount[IntegerDigits[n, 7], {5, 6}] >0, 1, 0], {n, 2500}], {0, 1}][[All, 2]] (* Harvey P. Dale, Mar 21 2019 *)
CROSSREFS
Sequence in context: A107145 A087857 A139995 * A044560 A039469 A124247
KEYWORD
nonn,base
STATUS
approved