Your assignment is to write a simple function using GP.
Your function should be named wilsonquotientfactors, and itsarity is two; thus your definition should look something like:
wilsonquotientfactors(r,s) = { local( .. , .. , .. ); … [ code ] …}
We will define a “Wilson Quotient” wq(x) as
wq(x) = [(x-1)! + 1] / x
The output of your function wilsonquotientfactors is based ontreating r and s as specifying a range; over eachi in that range from r to s, you shouldprint the factorization of wq(i) if wq(i) is aninteger, or a message that wq(i) is not an integer.
For
PayPal Gateway not configured
PayPal Gateway not configured