I tried the following thing just for fun (so it does not have a deeper sense), but unfortunately i failed to solve it.
Assume this function is given: $$ f\left(x\right)=\sum_{k=1}^{n}{a_kx^{2k}}=a_1x^2+a_2x^4+a_3x^6+...+a_nx^{2n} $$
With these bounardy conditions: $$ f(0)=0\\ f(n)=n $$
Of course the first condition is always true by definition for the given function / polynomial.
$a_k$ should be chosen to minimize this expression (which equals to the length of the function from $0$ to $n$): $$ \int\limits_0^n \sqrt{1+\left(f'(x)\right)^2}\mathrm{d}x $$
Is there a way to do this?
Thank you very much
Best regards
Kevin
Edit 20151230
I've been studying the root structure of the polynomials we're creating. (Perhaps it will be easier to bound the roots and hence find bounds on the arc length? Alternatively, it may be faster/easier to find the roots numerically than find the coefficients numerically.) What I've seen:
From the theory of (complex) holomorphic functions, we should never expect the arc length to be particularly good. We are attempting to approximate $x$ with $x^2 f(x^2)$ for some truncated power series $f$. That is, we wish to find $f$ such that $f(x^2) = \frac{1}{x}$. (The way the problem is set, we would expand the RHS in powers around $n/2$ so that the disk of convergence includes all of $[0,n]$.) Unfortunately, this gives coefficients for every degree, all of the same general magnitude. We then deform this by suppressing the terms of odd degree, but this deformation is so large that almost anything can happen.
A table of small arclengths:$$ \begin{align} \mathbf{n} && \mathbf{n \sqrt{2}} && \textbf{arclength} && \textbf{excess}\\ 1 && 1.41421... && 1.47894... && 0.0647293... \\ 2 && 2.82843... && 2.90038... && 0.0719484... \\ 3 && 4.24264... && 4.31624... && 0.0735977... \\ 4 && 5.65685... && 5.73166... && 0.0748082... \\ 5 && 7.07107... && 7.14639... && 0.0753231... \\ 6 && 8.48528... && 8.56107... && 0.0757936... \\ 7 && 9.89949... && 9.97557... && 0.0760791... \\ 8 && 11.31370... && 11.38999... && 0.0762907... \\ \end{align}$$ We can see the excess slowly increasing as $n$ increases. I haven't seen any evidence that this reverses. (Although numerically integrating the arc length for large $n$ is slow, so I haven't spent the time for $n>10$ and I'm not convinced I have even one significant digit in the $n \in \{9,10\}$ arclengths I have.)
Original Answer
This seems hopeless analytically. Let's define $f_n(x) = \sum_{k=1}^n a_k x^{2k}$, so all the functions of interest have distinct names. Require $f_n(0) = 0$ (trivial) and $f_n(n) = n$. Then...
I did look at applying the Euler-Lagrange equations (random reference), but did not find a tractable way to attack the resulting system. I'd be happy to see someone else make some headway by this method.