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

A044552
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, 237, 278, 327, 376, 425, 474, 523, 572, 580, 621, 670, 719, 768, 817, 866, 915, 923, 964, 1013, 1062, 1111, 1160, 1209, 1258, 1266, 1307, 1356, 1405, 1454, 1503, 1552, 1601, 1609, 1665, 1699, 1748, 1797
OFFSET
1,1
MATHEMATICA
SequencePosition[Table[If[SequenceCount[IntegerDigits[n, 7], {4, 5}]>0, 1, 0], {n, 2000}], {1, 0}][[All, 1]] (* Harvey P. Dale, Nov 24 2021 *)
CROSSREFS
Sequence in context: A001987 A094846 A044171 * A045939 A056809 A073251
KEYWORD
nonn,base
STATUS
approved