Let $M^{m}$ be a smooth closed $m$-dimensional manifold ($m\geq1$). Then it is well known that we can embed $M$ into $\mathbb{R}^{2m}$ (this is the strong form of Whitney's embedding theorem).
Suppose now that $M^{m}\subseteq N^{n}$ is a closed submanifold of a larger $n$-dimensional manifold $N$. Define $d(M,N)$ to be the minimal integer $k\in\mathbb{N}$ such that we can embed $N$ into $\mathbb{R}^{k}$ in such a way that there exists an affine subspace $W\cong\mathbb{R}^{l}$ (for some $l\leq k$) such that $N\cap W=M$. What is known about the integer $d(M,N)$? In particular, is it always finite?
As an example, take $N$ to be the 2-torus and $M$ to be an embedded circle in $N$. Then $d(M,N)$ certainly depends on the choice of $M$. For instance, for certain nullhomologous choices of $M$ we have $d(M,N)=3$. Recall now that the torus knot $T_{p,q}$ winds $p$ times around a circle inside the torus, which goes all the way around the torus, and $q$ times around a line through the hole in the torus, which passes once through the hole, (usually drawn as an axis of symmetry). If $M$ is the torus knot $T_{1,0}$ then $d(M,N)=4$. If $M$ is the torus knot $T_{2,3}$ however then $d(M,N)=5$. In fact, $d(T_{p,q},N)\leq5$ for any choice of $p,q$.