Jesse S. answered • 05/07/17

Tutor

New to Wyzant
Patient and knowledgeable Math tutor

P is prime and n is a positive integer

P is prime means factor of p is 1 and p

so we can write

n*p=21879 ------> n=21879/p

n+p=2000 ------>n=2000-p

by equating both n

2000 - p = 21879/p

2000p-p

^{2}=21879p

^{2}-2000p=-21879p

^{2}-2000p + 21879 =0(p-11)(p-1989)=0

p=11 and p=1989

as 11 is prime no.

p=11

n= 1989