37.6k views
3 votes
Evaluate y^2 + 2y for y = 0, 1, and 2. Are the resulting numbers prime or composite.

1 Answer

2 votes
y = 0:

(0)^2+2(0)=0+0=0
0 is neither prime nor composite.

y=1:

(1)^2+2(1)=1+2=3
3 is a prime number (because only 3 and 1 divide evenly into it)

y = 2:

(2)^2+2(2)=4+4=8
8 is a composite number (because multiple different numbers divide evenly into it: 1, 2, 4, and 8)
User Tsohtan
by
7.3k points