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

A044521
Numbers n such that string 0,2 occurs in the base 7 representation of n but not of n+1.
0
51, 100, 149, 198, 247, 296, 345, 363, 394, 443, 492, 541, 590, 639, 688, 706, 737, 786, 835, 884, 933, 982, 1031, 1049, 1080, 1129, 1178, 1227, 1276, 1325, 1374, 1392, 1423, 1472, 1521, 1570, 1619, 1668, 1717, 1735, 1766, 1815
OFFSET
1,1
MATHEMATICA
SequencePosition[Table[If[SequenceCount[IntegerDigits[n, 7], {0, 2}]>0, 1, 0], {n, 2000}], {1, 0}][[All, 1]] (* Harvey P. Dale, Aug 31 2021 *)
CROSSREFS
Sequence in context: A075894 A229274 A044140 * A160847 A260517 A235878
KEYWORD
nonn,base
STATUS
approved