poly.lp 79 B

12
  1. % Should display from q(0) to q(10) included
  2. p(N,N*N+N+41) :- N=-10..10, N>=0.