OFFSET
1,1
EXAMPLE
Q(2)=0 (mod 3), Q(5)=0 (mod 7), Q(7)=0 (mod 11).
MAPLE
sucesion_primos:=proc(Q, n) local p, x0, lista; lista:=[]; p:=2; while p<n do for x0 from 0 to p do if (eval(Q, x=x0) mod p=0) then lista:=[op(lista), p]; break else end if; end do; p:=nextprime(p); end do; return(lista); end proc;
PROG
(PARI) X=Pol([17, 8, 5, 23]); forprime(p=2, 1000, if(matsize(factormod(X, p))[1]>1, print1(" ", p))) (Alekseyev)
CROSSREFS
KEYWORD
nonn
AUTHOR
Rafael Gallardo Jimenez (thesecretwars(AT)yahoo.com), May 09 2005
EXTENSIONS
More terms from Max Alekseyev, May 17 2005
STATUS
approved