text
stringlengths
36
215
instruction_seed
stringlengths
5
160
response_seed
stringlengths
1
30
{"question": "What is 56698337 to the power of 1/5, to the nearest integer?", "answer": "36"}
What is 56698337 to the power of 1/5, to the nearest integer?
36
{"question": "Suppose -5*h + 15 = -25. Let l = 8 - h. Let c = 17.19 + -28.19. Are l and c equal?", "answer": "False"}
Suppose -5*h + 15 = -25. Let l = 8 - h. Let c = 17.19 + -28.19. Are l and c equal?
False
{"question": "12 (base 11) to base 2", "answer": "1101"}
12 (base 11) to base 2
1101
{"question": "Evaluate 3 + (-4 - (-2 + 2)).", "answer": "-1"}
Evaluate 3 + (-4 - (-2 + 2)).
-1
{"question": "In base 7, what is 2456 + 235?", "answer": "3024"}
In base 7, what is 2456 + 235?
3024
{"question": "What is the units digit of 5432?", "answer": "2"}
What is the units digit of 5432?
2
{"question": "Evaluate 456/(-240) - 3/(-2).", "answer": "-2/5"}
Evaluate 456/(-240) - 3/(-2).
-2/5
{"question": "Simplify ((k/((k/(k*k**30)*k)/k))/(k/k**(22/3))*k*k*((k/(k/(k*k*k**28*k*k)))/k)/k*k/(k*k*k**(-14)*k)*k)**(3/4) assuming k is positive.", "answer": "k**(247/4)"}
Simplify ((k/((k/(k*k**30)*k)/k))/(k/k**(22/3))*k*k*((k/(k/(k*k*k**28*k*k)))/k)/k*k/(k*k*k**(-14)*k)*k)**(3/4) assuming k is positive.
k**(247/4)
{"question": "Sort 2, 4, -47, 3, 0 in increasing order.", "answer": "-47, 0, 2, 3, 4"}
Sort 2, 4, -47, 3, 0 in increasing order.
-47, 0, 2, 3, 4
{"question": "Let i(p) = -5*p**2. Let g = -111660 + 203191. Let l(o) = -4*o**2 + g*o - 91531*o. Give l(i(t)).", "answer": "-100*t**4"}
Let i(p) = -5*p**2. Let g = -111660 + 203191. Let l(o) = -4*o**2 + g*o - 91531*o. Give l(i(t)).
-100*t**4
{"question": "Solve 3133*v + 3025*v + 24632 = 0 for v.", "answer": "-4"}
Solve 3133*v + 3025*v + 24632 = 0 for v.
-4
{"question": "Find the first derivative of 6*x**2 - 100 - x - 4*x + 82 wrt x.", "answer": "12*x - 5"}
Find the first derivative of 6*x**2 - 100 - x - 4*x + 82 wrt x.
12*x - 5
{"question": "Let k = -26336 - -26336.000001426. Round k to seven dps.", "answer": "0.0000014"}
Let k = -26336 - -26336.000001426. Round k to seven dps.
0.0000014
{"question": "Sort 2, -117, -4.", "answer": "-117, -4, 2"}
Sort 2, -117, -4.
-117, -4, 2
{"question": "(-7 - -4) + (-4 - 1) + -334 + 336", "answer": "-6"}
(-7 - -4) + (-4 - 1) + -334 + 336
-6
{"question": "Evaluate ((-57)/2)/(222/(-148)).", "answer": "19"}
Evaluate ((-57)/2)/(222/(-148)).
19
{"question": "Suppose 2*s - 2*y - 4 = 0, -s - 3*y + y = -2. Solve -s*i + 2 = 8 for i.", "answer": "-3"}
Suppose 2*s - 2*y - 4 = 0, -s - 3*y + y = -2. Solve -s*i + 2 = 8 for i.
-3
{"question": "Let l = 1311 - 1304. Does l = -106?", "answer": "False"}
Let l = 1311 - 1304. Does l = -106?
False
{"question": "Suppose -5*m - 10*m = -4230. What is the units digit of m?", "answer": "2"}
Suppose -5*m - 10*m = -4230. What is the units digit of m?
2
{"question": "Let o be (2/4)/(18/(-24))*6. Put 3/5, o, -31, 0.4 in descending order.", "answer": "3/5, 0.4, o, -31"}
Let o be (2/4)/(18/(-24))*6. Put 3/5, o, -31, 0.4 in descending order.
3/5, 0.4, o, -31
{"question": "Suppose 3*n = -29 - 4. Which is the second biggest value? (a) 3 (b) n (c) -0.1", "answer": "c"}
Suppose 3*n = -29 - 4. Which is the second biggest value? (a) 3 (b) n (c) -0.1
c
{"question": "Let z(j) = 8*j - 33. Let o = -22 + 33. What is the least common multiple of z(5) and o?", "answer": "77"}
Let z(j) = 8*j - 33. Let o = -22 + 33. What is the least common multiple of z(5) and o?
77
{"question": "Is 18766902 a multiple of 68?", "answer": "False"}
Is 18766902 a multiple of 68?
False
{"question": "Solve 568*x + 748*x + 17811 + 14571 = 545*x for x.", "answer": "-42"}
Solve 568*x + 748*x + 17811 + 14571 = 545*x for x.
-42
{"question": "In base 3, what is 1202112220 + -11?", "answer": "1202112202"}
In base 3, what is 1202112220 + -11?
1202112202
{"question": "Is 901673 a composite number?", "answer": "True"}
Is 901673 a composite number?
True
{"question": "Which is greater: -11 or -16?", "answer": "-11"}
Which is greater: -11 or -16?
-11
{"question": "Solve -383*g - 584 = 44*g + 157*g for g.", "answer": "-1"}
Solve -383*g - 584 = 44*g + 157*g for g.
-1
{"question": "What is the hundred thousands digit of 1351237?", "answer": "3"}
What is the hundred thousands digit of 1351237?
3
{"question": "Convert 582 (base 9) to base 10.", "answer": "479"}
Convert 582 (base 9) to base 10.
479
{"question": "Let s(p) = -28701 - 22*p + 28701. Let a(f) = 149*f**2. Give a(s(b)).", "answer": "72116*b**2"}
Let s(p) = -28701 - 22*p + 28701. Let a(f) = 149*f**2. Give a(s(b)).
72116*b**2
{"question": "Expand (0*y**2 + 5*y**2 + 3*y**2)*(6*y - y + y + y - 2 + 2 + (-1 - 3 + 2)*(2*y + 4 - 4) - 4*y - 2*y + 7*y + 3*y - 5*y + 0*y).", "answer": "16*y**3"}
Expand (0*y**2 + 5*y**2 + 3*y**2)*(6*y - y + y + y - 2 + 2 + (-1 - 3 + 2)*(2*y + 4 - 4) - 4*y - 2*y + 7*y + 3*y - 5*y + 0*y).
16*y**3
{"question": "Which is smaller: -2/1229 or -1?", "answer": "-1"}
Which is smaller: -2/1229 or -1?
-1
{"question": "Is 42189 a multiple of 147?", "answer": "True"}
Is 42189 a multiple of 147?
True
{"question": "Let z(a) = -a**3 - 7*a**2 + 7*a + 9. Let o(g) = 6*g. Let l be o(1). Let p(i) = i**2 - 8*i + 4. Let f be p(l). What is the units digit of z(f)?", "answer": "7"}
Let z(a) = -a**3 - 7*a**2 + 7*a + 9. Let o(g) = 6*g. Let l be o(1). Let p(i) = i**2 - 8*i + 4. Let f be p(l). What is the units digit of z(f)?
7
{"question": "Let l(n) = -n**3 + 17*n**2 + 39*n - 19. Let o be l(19). Which is the closest to o? (a) 4/5 (b) 1/4 (c) 0.2", "answer": "c"}
Let l(n) = -n**3 + 17*n**2 + 39*n - 19. Let o be l(19). Which is the closest to o? (a) 4/5 (b) 1/4 (c) 0.2
c
{"question": "Four letters picked without replacement from hjchemmea. What is prob of picking 1 m, 1 c, and 2 h?", "answer": "1/63"}
Four letters picked without replacement from hjchemmea. What is prob of picking 1 m, 1 c, and 2 h?
1/63
{"question": "Two letters picked without replacement from {e: 1, g: 1, j: 1}. Give prob of sequence jg.", "answer": "1/6"}
Two letters picked without replacement from {e: 1, g: 1, j: 1}. Give prob of sequence jg.
1/6
{"question": "(4256/(-120))/14 + 24/18*1", "answer": "-6/5"}
(4256/(-120))/14 + 24/18*1
-6/5
{"question": "Let c be (0 - 0) + -1 + (45 - 12). Let v = 330 - c. Is v a composite number?", "answer": "True"}
Let c be (0 - 0) + -1 + (45 - 12). Let v = 330 - c. Is v a composite number?
True
{"question": "Calculate prob of sequence wp when two letters picked without replacement from wnmnmnmvvmmmmwnpwmv.", "answer": "1/114"}
Calculate prob of sequence wp when two letters picked without replacement from wnmnmnmvvmmmmwnpwmv.
1/114
{"question": "Calculate 18*-0.5.", "answer": "-9"}
Calculate 18*-0.5.
-9
{"question": "What is the common denominator of -17/90 and 25/13296?", "answer": "199440"}
What is the common denominator of -17/90 and 25/13296?
199440
{"question": "Let i(h) be the second derivative of 3/70*h**5 - 1/147*h**7 + 0*h**3 + 0 + 71*h + 0*h**6 + 0*h**2 + 1/21*h**4. Factor i(j).", "answer": "-2*j**2*(j - 2)*(j + 1)**2/7"}
Let i(h) be the second derivative of 3/70*h**5 - 1/147*h**7 + 0*h**3 + 0 + 71*h + 0*h**6 + 0*h**2 + 1/21*h**4. Factor i(j).
-2*j**2*(j - 2)*(j + 1)**2/7
{"question": "Let w(a) = -a**2 + 2*a + 1. Let d(q) = -q**2 - 12*q - 18. Let y be d(-10). Let c(z) = -2275 - 3*z**y + 4*z**2 - 2*z + 2273. Calculate 2*c(v) + 3*w(v).", "answer": "-v**2 + 2*v - 1"}
Let w(a) = -a**2 + 2*a + 1. Let d(q) = -q**2 - 12*q - 18. Let y be d(-10). Let c(z) = -2275 - 3*z**y + 4*z**2 - 2*z + 2273. Calculate 2*c(v) + 3*w(v).
-v**2 + 2*v - 1
{"question": "Is 1490 a factor of 224487375?", "answer": "False"}
Is 1490 a factor of 224487375?
False
{"question": "What is prob of picking 1 o and 2 v when three letters picked without replacement from {o: 1, v: 3}?", "answer": "3/4"}
What is prob of picking 1 o and 2 v when three letters picked without replacement from {o: 1, v: 3}?
3/4
{"question": "Calculate the greatest common divisor of 52 and 10985.", "answer": "13"}
Calculate the greatest common divisor of 52 and 10985.
13
{"question": "Let h(m) = m**3 + 82*m**2 + 152*m + 3850. What is h(-81)?", "answer": "-1901"}
Let h(m) = m**3 + 82*m**2 + 152*m + 3850. What is h(-81)?
-1901
{"question": "Sort 3, 4, -3, 39, -12 in decreasing order.", "answer": "39, 4, 3, -3, -12"}
Sort 3, 4, -3, 39, -12 in decreasing order.
39, 4, 3, -3, -12
{"question": "Let u = 12 - 11. Which is the third smallest value? (a) -0.1 (b) -4/5 (c) u", "answer": "c"}
Let u = 12 - 11. Which is the third smallest value? (a) -0.1 (b) -4/5 (c) u
c
{"question": "Let m(l) = 6*l + 39. Determine m(-12).", "answer": "-33"}
Let m(l) = 6*l + 39. Determine m(-12).
-33
{"question": "How many minutes are there between 1:29 PM and 8:07 PM?", "answer": "398"}
How many minutes are there between 1:29 PM and 8:07 PM?
398
{"question": "Let u(b) = 31*b**2 - 12*b - 14. Let h(s) = -93*s**2 + 38*s + 44. Let a(o) = -6*h(o) - 19*u(o). Let n(g) = g**2. What is n(a(l))?", "answer": "961*l**4 - 124*l**2 + 4"}
Let u(b) = 31*b**2 - 12*b - 14. Let h(s) = -93*s**2 + 38*s + 44. Let a(o) = -6*h(o) - 19*u(o). Let n(g) = g**2. What is n(a(l))?
961*l**4 - 124*l**2 + 4
{"question": "Let b(n) = -n**2 - 18*n - 71. Let y be b(-6). Solve -9 - y = -5*v for v.", "answer": "2"}
Let b(n) = -n**2 - 18*n - 71. Let y be b(-6). Solve -9 - y = -5*v for v.
2
{"question": "Sort -4, 11, 109, -6, 51.", "answer": "-6, -4, 11, 51, 109"}
Sort -4, 11, 109, -6, 51.
-6, -4, 11, 51, 109
{"question": "Is 229285733 a prime number?", "answer": "False"}
Is 229285733 a prime number?
False
{"question": "Let t(y) be the third derivative of 0*y**5 - 1/40*y**6 + 0*y**4 + 0 + 1/6*y**3 - y**2 + 0*y. What is the first derivative of t(i) wrt i?", "answer": "-9*i**2"}
Let t(y) be the third derivative of 0*y**5 - 1/40*y**6 + 0*y**4 + 0 + 1/6*y**3 - y**2 + 0*y. What is the first derivative of t(i) wrt i?
-9*i**2
{"question": "Differentiate 45618059*w**2 + 2*w - 22606251 wrt w.", "answer": "91236118*w + 2"}
Differentiate 45618059*w**2 + 2*w - 22606251 wrt w.
91236118*w + 2
{"question": "Let r(t) be the third derivative of -t**5/60 - t**4/8 + t**3/3 + 3*t**2. Let x be r(3). Let m = x - -111. Is m a prime number?", "answer": "False"}
Let r(t) be the third derivative of -t**5/60 - t**4/8 + t**3/3 + 3*t**2. Let x be r(3). Let m = x - -111. Is m a prime number?
False
{"question": "Suppose -43*f + 40*f + 42 = 0. Let p(b) = 8 + 0*b + 4*b + f*b. Let i(v) = -1. Let r(d) = -4*i(d) + p(d). Find the first derivative of r(m) wrt m.", "answer": "18"}
Suppose -43*f + 40*f + 42 = 0. Let p(b) = 8 + 0*b + 4*b + f*b. Let i(v) = -1. Let r(d) = -4*i(d) + p(d). Find the first derivative of r(m) wrt m.
18
{"question": "Let i(u) be the third derivative of 0*u**3 + 7*u**2 + 3/8*u**6 - 7/12*u**5 + 0 + 0*u - 5/24*u**4. Let g(b) = -b. Let f(y) = -5*g(y) - i(y). Factor f(t).", "answer": "-5*t*(t - 1)*(9*t + 2)"}
Let i(u) be the third derivative of 0*u**3 + 7*u**2 + 3/8*u**6 - 7/12*u**5 + 0 + 0*u - 5/24*u**4. Let g(b) = -b. Let f(y) = -5*g(y) - i(y). Factor f(t).
-5*t*(t - 1)*(9*t + 2)
{"question": "Calculate prob of sequence ghig when four letters picked without replacement from hhghhgihiii.", "answer": "1/198"}
Calculate prob of sequence ghig when four letters picked without replacement from hhghhgihiii.
1/198
{"question": "What is the a'th term of 559, 1122, 1687, 2254?", "answer": "a**2 + 560*a - 2"}
What is the a'th term of 559, 1122, 1687, 2254?
a**2 + 560*a - 2
{"question": "Let k = -24337.576094 - -24337.9. Let x = 1.323941 - k. Let u = x + -1. What is u rounded to 5 decimal places?", "answer": "0.00004"}
Let k = -24337.576094 - -24337.9. Let x = 1.323941 - k. Let u = x + -1. What is u rounded to 5 decimal places?
0.00004
{"question": "Let a(d) = 1392*d + 53. Calculate a(1).", "answer": "1445"}
Let a(d) = 1392*d + 53. Calculate a(1).
1445
{"question": "Let u = -213/4 - -54. Sort -1/6, -1/3, u.", "answer": "-1/3, -1/6, u"}
Let u = -213/4 - -54. Sort -1/6, -1/3, u.
-1/3, -1/6, u
{"question": "Suppose -2*n - 2*b = 2*b + 324, -4*n - 696 = -4*b. Let p = -167 - n. Sort -3, 0.5, p, 10 in descending order.", "answer": "10, p, 0.5, -3"}
Suppose -2*n - 2*b = 2*b + 324, -4*n - 696 = -4*b. Let p = -167 - n. Sort -3, 0.5, p, 10 in descending order.
10, p, 0.5, -3
{"question": "Let q be (18/(-36)*(-1 - -1))/(-2). Is q greater than -9/116?", "answer": "True"}
Let q be (18/(-36)*(-1 - -1))/(-2). Is q greater than -9/116?
True
{"question": "How many minutes are there between 7:39 PM and 6:02 AM?", "answer": "623"}
How many minutes are there between 7:39 PM and 6:02 AM?
623
{"question": "Work out -19 * 46.", "answer": "-874"}
Work out -19 * 46.
-874
{"question": "What is the units digit of 48751?", "answer": "1"}
What is the units digit of 48751?
1
{"question": "How many minutes are there between 4:04 AM and 9:24 AM?", "answer": "320"}
How many minutes are there between 4:04 AM and 9:24 AM?
320
{"question": "Let t(v) = -v**3 + 7*v**2 - 4*v - 6. What is the lowest common multiple of 182 and t(6)?", "answer": "546"}
Let t(v) = -v**3 + 7*v**2 - 4*v - 6. What is the lowest common multiple of 182 and t(6)?
546
{"question": "Expand 2*l + 83*l**3 - 86*l**2 - 78*l**2 + 162*l**2 + (2*l**2 + l**3 - 2*l**2)*(-2 + 4 - 4).", "answer": "81*l**3 - 2*l**2 + 2*l"}
Expand 2*l + 83*l**3 - 86*l**2 - 78*l**2 + 162*l**2 + (2*l**2 + l**3 - 2*l**2)*(-2 + 4 - 4).
81*l**3 - 2*l**2 + 2*l
{"question": "Calculate -89 - -9329.", "answer": "9240"}
Calculate -89 - -9329.
9240
{"question": "Factor 6783*a**3 + 25701*a**2 + 21408*a - 5724.", "answer": "3*(a + 2)**2*(2261*a - 477)"}
Factor 6783*a**3 + 25701*a**2 + 21408*a - 5724.
3*(a + 2)**2*(2261*a - 477)
{"question": "Let d be (-148)/(-5) + 22/55. Let q = d + -152/5. Which is the second biggest value? (a) 0.01 (b) 0.5 (c) q", "answer": "a"}
Let d be (-148)/(-5) + 22/55. Let q = d + -152/5. Which is the second biggest value? (a) 0.01 (b) 0.5 (c) q
a
{"question": "Let t = 1 + -1.4. Let f = 813/2 - 407. Which is the nearest to f? (a) -2 (b) t (c) -5", "answer": "b"}
Let t = 1 + -1.4. Let f = 813/2 - 407. Which is the nearest to f? (a) -2 (b) t (c) -5
b
{"question": "Let i(p) = p**3 - 6*p**2 + 7*p + 3. Let q(j) = j - 2. Let f be q(8). Let d be i(f). What is the tens digit of -13 - -11 - d/(-1)?", "answer": "4"}
Let i(p) = p**3 - 6*p**2 + 7*p + 3. Let q(j) = j - 2. Let f be q(8). Let d be i(f). What is the tens digit of -13 - -11 - d/(-1)?
4
{"question": "Calculate the highest common divisor of 56 and 12.", "answer": "4"}
Calculate the highest common divisor of 56 and 12.
4
{"question": "What is 135 minutes after 10:54 PM?", "answer": "1:09 AM"}
What is 135 minutes after 10:54 PM?
1:09 AM
{"question": "Let l(p) = 2*p + 5. Suppose -7 = -2*g - 5*g. Suppose -2 = -4*f - 26. Let k be (2/f)/((-5)/75). Let i(x) = -x - 1. Calculate g*l(j) + k*i(j).", "answer": "-3*j"}
Let l(p) = 2*p + 5. Suppose -7 = -2*g - 5*g. Suppose -2 = -4*f - 26. Let k be (2/f)/((-5)/75). Let i(x) = -x - 1. Calculate g*l(j) + k*i(j).
-3*j
{"question": "Let s(v) = v**2 + 13*v + 50. Is s(-19) a multiple of 4?", "answer": "True"}
Let s(v) = v**2 + 13*v + 50. Is s(-19) a multiple of 4?
True
{"question": "Let q = 1197 - -1336. Let t = q - 45565/18. Calculate the common denominator of 65/16 and t.", "answer": "144"}
Let q = 1197 - -1336. Let t = q - 45565/18. Calculate the common denominator of 65/16 and t.
144
{"question": "What is the i'th term of -3112406, -6224813, -9337220, -12449627, -15562034?", "answer": "-3112407*i + 1"}
What is the i'th term of -3112406, -6224813, -9337220, -12449627, -15562034?
-3112407*i + 1
{"question": "Suppose -4*p + p = 45. What are the prime factors of (-5)/(p/(-16))*-3?", "answer": "2"}
Suppose -4*p + p = 45. What are the prime factors of (-5)/(p/(-16))*-3?
2
{"question": "Two letters picked without replacement from tuttutmg. What is prob of sequence uu?", "answer": "1/28"}
Two letters picked without replacement from tuttutmg. What is prob of sequence uu?
1/28
{"question": "Find the third derivative of 0*h**2 - 15*h**2 + 24*h**5 - 46*h**5 wrt h.", "answer": "-1320*h**2"}
Find the third derivative of 0*h**2 - 15*h**2 + 24*h**5 - 46*h**5 wrt h.
-1320*h**2
{"question": "What is -0.010321 rounded to three decimal places?", "answer": "-0.01"}
What is -0.010321 rounded to three decimal places?
-0.01
{"question": "List the prime factors of 3997617388.", "answer": "2, 17, 1777, 33083"}
List the prime factors of 3997617388.
2, 17, 1777, 33083
{"question": "Let p = -4 + 5. Let u be (4 + -3)/(0 + p). Let c be (22 + -6)/(2/u). What is the greatest common factor of c and 88?", "answer": "8"}
Let p = -4 + 5. Let u be (4 + -3)/(0 + p). Let c be (22 + -6)/(2/u). What is the greatest common factor of c and 88?
8
{"question": "Expand (-3*i**3 + i**3 + 0*i**3)*(-1 + 1 - 2*i) - i**4 - 3*i**2 + 3*i**2 + 3*i**2 - 2*i**4 - 3*i**2 - 15622*i**2 + 3*i**4 + 15622*i**2 + 684*i**3.", "answer": "4*i**4 + 684*i**3"}
Expand (-3*i**3 + i**3 + 0*i**3)*(-1 + 1 - 2*i) - i**4 - 3*i**2 + 3*i**2 + 3*i**2 - 2*i**4 - 3*i**2 - 15622*i**2 + 3*i**4 + 15622*i**2 + 684*i**3.
4*i**4 + 684*i**3
{"question": "What is 27673022 to the power of 1/2, to the nearest integer?", "answer": "5261"}
What is 27673022 to the power of 1/2, to the nearest integer?
5261
{"question": "Calculate (-300)/572 + 12010/(-31226).", "answer": "-10/11"}
Calculate (-300)/572 + 12010/(-31226).
-10/11
{"question": "Which is the closest to 3? (a) 4/5 (b) -3/5 (c) 2 (d) 2/49", "answer": "c"}
Which is the closest to 3? (a) 4/5 (b) -3/5 (c) 2 (d) 2/49
c
{"question": "What is the hundred millions digit of 1439986334?", "answer": "4"}
What is the hundred millions digit of 1439986334?
4
{"question": "Let f(q) = -q**2 + 9*q - 7. Let v be f(8). Let s(i) = 4*i. Let l be s(v). Let j(d) = -d - l*d + 3*d. Give j(3).", "answer": "-6"}
Let f(q) = -q**2 + 9*q - 7. Let v be f(8). Let s(i) = 4*i. Let l be s(v). Let j(d) = -d - l*d + 3*d. Give j(3).
-6
{"question": "What is 1411 to the power of 1/8, to the nearest integer?", "answer": "2"}
What is 1411 to the power of 1/8, to the nearest integer?
2
{"question": "Let b = -57 + 17. Let a(k) = 2*k**3 + 3*k - 3. Let s(x) = -25*x**3 - 40*x + 40. Calculate b*a(p) - 3*s(p).", "answer": "-5*p**3"}
Let b = -57 + 17. Let a(k) = 2*k**3 + 3*k - 3. Let s(x) = -25*x**3 - 40*x + 40. Calculate b*a(p) - 3*s(p).
-5*p**3