In a sequence of numbers, a term is called "golden" if it is divisible by the term immediately before it. What is the maximum possible number of golden terms in a permutation of $1, 2, 3, \ldots, 2021$?

Let's think step by step and output the final answer within \boxed{}.
user