# Project Euler Problem 438 – Integer Part of Polynomial Equation - Solutions

**Spoiler Alert!** This blog entry contains content that might help you solve problem 438 of Project Euler. Please don’t read any further if you have yet to attempt to solve the problem on your own. The information is intended for those who failed to solve the problem and are looking for hints.

## Test Data

### Polynomials for n=4

Those are the 12 polynomials for *n* =4 mentioned in the problem statement:

$$ \begin{align} x^4 -12x^3+ 50x^2 -84x^1+ 46 \\ x^4 -12x^3+ 50x^2 -84x^1+ 47\\ x^4 -12x^3+ 51x^2 -91x^1+ 57\\ x^4 -12x^3+ 51x^2 -91x^1+ 58\\ x^4 -12x^3+ 51x^2 -90x^1+ 55\\ x^4 -11x^3+ 42x^2 -66x^1+ 36\\ x^4 -11x^3+ 42x^2 -65x^1+ 33\\ x^4 -11x^3+ 42x^2 -65x^1+ 34\\ x^4 -11x^3+ 43x^2 -71x^1+ 42\\ x^4 -11x^3+ 43x^2 -70x^1+ 39\\ x^4 -11x^3+ 43x^2 -70x^1+ 40\\ x^4 -10x^3+ 35x^2 -50x^1+ 24 \end{align} $$

### One of the Polynomials for n=7

$$ \begin{equation} x^7 -30x^6 + 371x^5 -2449x^4 + 9307x^3 -20334x^2 + 23617x -11236 \end{equation} $$

## Archived Comments

**Note: **I removed the Disqus integration in an effort to cut down on bloat. The following comments were retrieved with the export functionality of Disqus. If you have comments, please reach out to me by Twitter or email.