There really is no single "obvious" choice here...
Possibly the sequence is periodic, with seven copies of -1 followed by six copies of 0, or perhaps seven -1s and seven 0s. Or maybe seven -1s, followed by six 0s, then five 1s, and so on, but after a certain point it would seem we have to have negative copies of a number, which is meaningless.
Or maybe it's not periodic, and every seventh value in the sequence is incremented by 1? Who knows?
I'll go ahead and assume the latter case, that the sequence is not periodic, since that's technically somewhat easier to manage. We can assign the following rule to the
-th term in the sequence:
for
.
So the generating function for this sequence might be
As to what is meant by "closed form", I'm not sure. Would this answer be acceptable? Or do you need to find a possibly more tractable form for the coefficient not in terms of the floor function?
To solve for p, square both sides and move the equation to one side is equal to zero. Then factor. I chose -2 and -5 because -2 x -5 = 10 and -2 + -5 = -7. After factoring, solve p-5=0 and p-2=0. When one of those equals zero then the equation (p-5)(p-2)=0 is true.
Y=1.6x+2
that’s just what i got
-3
Solution,
Let the points be A and B
A(-3,2)------->( X1,y1)
B(-2,5)------>( x2,y2)
0/2=0 because anything divided by zero is zero.