OFFSET
1,1
EXAMPLE
a(7)=2 because x^2+7 has roots in the 2-adic integers. Roots are 1 + 2^2 + 2^4 + 2^5 + 2^7 + O(2^9) and 1 + 2 + 2^3 + 2^6 + 2^8 + O(2^9).
MAPLE
p:=1; anz:=0; while anz=0 do p:=nextprime(p); poly:=x^2+i; anz:=nops([rootp(poly, p)]); od; a(n):=p;
PROG
(PARI) { a(n) = forprime(p=2, 10^5, if(!polisirreducible((x^2+n)*(1+O(p))), return(p)) ) } \\ Max Alekseyev, Sep 12 2009
CROSSREFS
KEYWORD
nonn
AUTHOR
Volker Schmitt (clamsi(AT)gmx.net), Nov 17 2004
EXTENSIONS
More terms from Max Alekseyev, Sep 12 2009
STATUS
approved