$f(x) =ax^6 +bx^5+cx^4+dx^3+ex^2+gx+h $, find $f(7)$. Problem : 

Given a polynomial $f(x) =ax^6 +bx^5+cx^4+dx^3+ex^2+gx+h$
  such that $f(1)= 1, f(2) =2 , f(3) = 3, f(4) =4, f(5)=5, f(6) =6$.
Find $f(7)$ in terms of $h$.

My approach: 
We can put the values of $f(1) = 1$ in the given equation and $f(2) = 2$, etc. But this is quite time consuming by making six different equations and then solve them to get the values of $a,b,c,d,e,g,h$.  Please suggest some alternate solution for this.
 A: For a method which is intermediate in cleverness between the one given by the other answers and just solving the system of simultaneous equations, you could use successive differences. We write the following table:
$$
\begin{array}{ccccccccccccccc}
h & & 1 & & 2 & & 3 & & 4 & & 5 & & 6 & & x_6 \\
& 1-h & & 1 & & 1 & & 1 & & 1 & & 1 & & x_5 \\
&& h && 0 && 0 && 0 && 0 && x_4 \\
&&& -h && 0 && 0 && 0 && x_3 \\
&&&& h && 0 && 0 && x_2 \\
&&&&& -h && 0 && x_1 \\
&&&&&& h && x_0
\end{array}$$
where each number is the difference of the two directly above it. Then each row of this table represents a polynomial whose degree is one lower than the row above it; since we started with a degree-6 polynomial, the bottom row is constant, and so $x_0=h$. Working our way back up the table, we then have
$$
x_1=0+x_0=h\\
x_2=0+x_1=h\\
x_3=0+x_2=h\\
x_4=0+x_3=h\\
x_5=1+x_4=h+1\\
x_6=6+x_5=h+7
$$
and so $f(7)=h+7$.
A: If f(0) were 0 then the answer would be 7, because fixing the 7 points leads to a unique solution and f(x) = x is obviously a solution. Now, suppose we change f(0) to some value h. One can then argue that the function g(x) = f(x) - x will have the symmetry g(7-x) = g(x). Therefore adding h to f(0) will increase the value of f(7) by h, therefore it will be increased to 7+h.
A: let $g(x) = f(x) - x$
Then:
$$g(1)=g(2)=g(3)=g(4)=g(5)=g(6)=0$$
So:
$$g(x) = A(x-1)(x-2)(x-3)(x-4)(x-5)(x-6)$$
We also know that $g(0)=f(0)-0=f(0)=h$ so we can find $A$.
$h=A\times 1\times 2\times 3\times 4\times 5\times 6$ so $A=\frac{h}{6!}$
$f(7) = g(7) + 7 = 6\times 5\times 4\times 3\times 2\times 1\times \frac{h}{6!} + 7 = h + 7$
A: \begin{align}
f(x) &=ax^6 +bx^5+cx^4+dx^3+ex^2+fx+3
\end{align}
Given that :
$f(1)= 1$, $f(2) =2$ , $f(3) = 3$, $f(4) =4$, $f(5)=5$, $f(6) =6$,
find $f(7)$.
It is also useful to add that $f(0)=3$.
Application of successive differences
lowers the degree of the polynomial on every step
down to $0$, and this useful formula shows up:
\begin{align}
\sum_{k=0}^7 (-1)^k\binom{7}{k}f(x-k)
&=0
\end{align}
\begin{align}
f(7)&=
-\sum_{k=1}^7 (-1)^k\binom{7}{k}f(7-k)
\\
&=
7 f(6)-21 f(5)+35 f(4)-35 f(3)+21 f(2)-7 f(1)+f(0)
\\
&=
7\cdot 6-21 \cdot 5+35 \cdot 4-35 \cdot 3 +21 \cdot 2 -7\cdot 1+3
\\
f(7)&=10.
\end{align}
A: Hint:
$$f(x)=K(x-1)(x-2)(x-3)(x-4)(x-5)(x-6)+x$$
For some constant K. Plug in $x=0$ to get K and then plug $x=7$ to get answer. 
A: Since $f(x) - x$ is a polynomial of degree $6$ and has $6$ roots $1, 2, 3, 4, 5, 6$ by condition, we can factorize $f(x) - x$ as:
$$f(x) - x = C(x - 1)(x - 2)(x - 3)(x - 4)(x - 5)(x - 6).$$
Plug in $x = 0$ in the above expression, we have
$3 - 0 = C\times 6!$, hence $C = \dfrac{3}{6!}$.
Therefore, 
$$f(7) = 7 + (f(7) - 7) = 7 + \frac{3}{6!}(7 - 1)(7 - 2)(7 - 3)(7 - 4)(7 -5 )(7 - 6) = 7 + \frac{3}{6!}\times 6! = 10.$$
