Let a pair

which allows us to write the entire set of integers on the blackboard
good. We claim that all pairs

such that

, atleast one of

is positive and

are good. First we eliminate the bad pairs.
Clearly, if

or
, then no other new numbers can be created using move (i) and thus, we cannot create any other new numbers. Further, if the starting pair is
, the only new number we can create using move (i) is 0. Thus, the only polynomials of the form

we can form are

(which has roots
),

(which has the same roots),

(which has the roots

and
),

(which has the same roots),

(which has the root
) and

(which has the same root). Thus, no new numbers can be created as claimed. Further, if both

are negative, any new numbers formed by rule (i) will also be negative. Further, any polynomial of the given form will have negative coefficients and thus,
![\[-ax^2-bx-c=0 \implies - (ax^2+bx+c)=0\]](https://latex.artofproblemsolving.com/5/e/7/5e7abd601a5a04fc3314b55b09715a9928f0e2b9.png)
for positive
. Thus, if this factors as

we see that

and

must both be negative for

to all be positive. Thus, the roots of this equation are negative which implies that rule (ii) also creates only negative numbers.
Now, we show that all other numbers are good. We first prove the following claim.
Claim : All pairs of the form
for some integer
are good.
Proof : Note that using rule (i), we can write all integers greater than
. In particular, we can create arbitrarily large positive integers. Now, this means for all sufficiently large positive
, we can write the numbers

and

on the board. Thus,
![\[x^2+2kx+k^2=0 \implies (x+k)^2=0\]](https://latex.artofproblemsolving.com/5/c/5/5c58229a32fca23c350e9781c258ce57479d4154.png)
which allows us to write

on the board as well for sufficiently large positive
. Then, using rule (i), we can create all integers greater than

as well which implies that we can write all integers on the board using a finite number of steps.
Now, consider a initial pair

where
. Then, we can write

on the board. Further, we can also clearly write

for all positive integers
, so consider sufficiently large

such that
. Now, we can also write

as it is a linear combination of

and

with positive integral coefficients. Then, since we can write

,

and
, considering the polynomial,
![\[kx^2+(k+r)x+r = 0 \implies (kx+r)(x+1) =0\]](https://latex.artofproblemsolving.com/9/7/0/9704db949575d656f67f8ee21d16aa9dd8040a1e.png)
which allows us to write

on the board. But now, applying rule (i) on

and

we obtain
, continuing this likewise, we can obtain
. Once

is written on the board, by the previous claim, we know that we can write all integers on the board which finishes the proof.