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

A044171
Numbers n such that string 4,5 occurs in the base 7 representation of n but not of n-1.
0
33, 82, 131, 180, 229, 231, 278, 327, 376, 425, 474, 523, 572, 574, 621, 670, 719, 768, 817, 866, 915, 917, 964, 1013, 1062, 1111, 1160, 1209, 1258, 1260, 1307, 1356, 1405, 1454, 1503, 1552, 1601, 1603, 1617, 1699, 1748, 1797
OFFSET
1,1
MATHEMATICA
SequencePosition[Table[If[SequenceCount[IntegerDigits[n, 7], {4, 5}]>0, 1, 0], {n, 2000}], {0, 1}][[All, 2]] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Feb 14 2017 *)
CROSSREFS
Sequence in context: A138866 A001987 A094846 * A044552 A045939 A056809
KEYWORD
nonn,base
STATUS
approved