Let N be the number of sequences of natural numbers d_{1}, d_{2}, \ldots, d_{10} such that the following conditions hold: d_{1}\left|d_{2}, \ldots, d_{9}\right| d_{10} and d_{10} \mid 6^{2018}. Evaluate the remainder when N is divided by 2017.
Let N be the number of sequences of natural numbers d_{1}, d_{2}, \ldots, d_{10} such that the following conditions hold: d_{1}\left|d_{2}, \ldots, d_{9}\right| d_{10} and d_{10} \mid 6^{2018}. Evaluate the remainder when N is divided by 2017.