diff --git "a/all/dolphin_t2_final.json" "b/all/dolphin_t2_final.json" deleted file mode 100644--- "a/all/dolphin_t2_final.json" +++ /dev/null @@ -1,8318 +0,0 @@ -{ - "Source": "Dolphin", - "Categories": [], - "Instruction": [], - "Instances": [ - { - "Input": "The sum of two numbers is 42 . One number plus 2 times the other number is 57 . What are the numbers ?", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x+y, 42.0),Eq(x+2.0*y, 57.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[27.0, 15.0]" - ], - "split": "train" - }, - { - "Input": "The greater of two consecutive even integers is 6 less than three times the less : Find the integers", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(2.0*k+2.0, 3.0*(2.0*k)-6.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[2.0]" - ], - "split": "train" - }, - { - "Input": "If six times an integer is added to four times the same integer , the results is 90 . What is the integer ?", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(6.0*x+4.0*x, 90.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[9.0]" - ], - "split": "train" - }, - { - "Input": "The difference between six times a number and 9 is equal to five times the sum of the number and 2 . find the number", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(6.0*k-9.0, 5.0*(k+2.0))])\nprint(answer)\n" - ], - "Output Answer": [ - "[19.0]" - ], - "split": "train" - }, - { - "Input": "Find three consecutive even integers such that the sum of the least integer and the greatest integer is 12 more than the middle integer", - "Output Program": [ - "from sympy import *\na = symbols('a')\nanswer = solve([Eq(a+a+4.0, 12.0+a+2.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[10.0]" - ], - "split": "train" - }, - { - "Input": "one number is 4 less than another . the difference of twice the smaller and 5 times the larger number is -11 . What are the numbers ?", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x, y-4.0),Eq(2.0*x-5.0*y, -11.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[-3.0, 1.0]" - ], - "split": "train" - }, - { - "Input": "The difference of 10 and the product of 6 and n is 21 .", - "Output Program": [ - "from sympy import *\nn = symbols('n')\nanswer = solve([Eq(10.0-6.0*n, 21.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[-1.83333333333]" - ], - "split": "train" - }, - { - "Input": "The sum of two consecutive even integers is 50 . What are the integers ?", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(2.0*k+2.0*k+2.0, 50.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[12.0]" - ], - "split": "train" - }, - { - "Input": "Find three consecutive odd integers such that three times the first integer is one less than the sum of the second and third integers", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(3.0*(2.0*k-1.0), (2.0*k+1.0)+(2.0*k+3.0)-1.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[3.0]" - ], - "split": "train" - }, - { - "Input": "the sum of 6 times a number -LRB- N -RRB- and -LRB- 4 -RRB- is -30 . what is the number ?", - "Output Program": [ - "from sympy import *\nn = symbols('n')\nanswer = solve([Eq(6.0*n+4.0, -30.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[-5.66666666667]" - ], - "split": "train" - }, - { - "Input": "Two less than the product of a number and -5 is -42 ? What is the number ?", - "Output Program": [ - "from sympy import *\nn = symbols('n')\nanswer = solve([Eq(-5.0*n-2.0, -42.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[8.0]" - ], - "split": "train" - }, - { - "Input": "Find four Consecutive odd integers whose sum is 336 .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-3.0)+(2.0*k-1.0)+(2.0*k+1.0)+(2.0*k+3.0), 336.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[42.0]" - ], - "split": "train" - }, - { - "Input": "One number is 3 less than twice another number . If the sum of the numbers is 330 , find the two numbers .", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x, 2.0*y-3.0),Eq(x+y, 330.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[219.0, 111.0]" - ], - "split": "train" - }, - { - "Input": "Find three consecutive odd integers such that the sum of the first and twice the second is 6 more than the third", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-1.0)+2.0*(2.0*k+1.0), (2.0*k+3.0)+6.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[2.0]" - ], - "split": "train" - }, - { - "Input": "Find 4 consecutive odd integers whose sum equals 336", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k+1.0)+(2.0*k+3.0)+(2.0*k+5.0)+(2.0*k+7.0), 336.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[40.0]" - ], - "split": "train" - }, - { - "Input": "the sum of two integers is 42 . their difference is 8 find the integers .", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x+y, 42.0),Eq(y-x, 8.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[17.0, 25.0]" - ], - "split": "train" - }, - { - "Input": "One number is twice another number . When the larger is diminished by 10 , the result is 2 greater than the smaller . Find the numbers .", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x, 2.0*y),Eq(x-10.0, y+2.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[24.0, 12.0]" - ], - "split": "train" - }, - { - "Input": "find three consecutive integers such that the sum of the first and third is 76", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq((x-1.0)+(x+1.0), 76.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[38.0]" - ], - "split": "train" - }, - { - "Input": "The sum of two consecutive integers is -287 . Find the larger integer .", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(x+(x+1.0), -287.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[-144.0]" - ], - "split": "train" - }, - { - "Input": "Find two consecutive integers such that four times the the larger exceeds three times the smaller by 23 .", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(4.0*(x+1.0)-3.0*x, 23.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[19.0]" - ], - "split": "train" - }, - { - "Input": "If five times the smaller of two consecutive integers is added to three times the larger , the result is 59 . Find the integers .", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(5.0*x+3.0*(x+1.0), 59.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[7.0]" - ], - "split": "train" - }, - { - "Input": "If the product of a number and 4 is decreased by 10 , the result is 50 . Find the number", - "Output Program": [ - "from sympy import *\nn = symbols('n')\nanswer = solve([Eq(4.0*n-10.0, 50.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[15.0]" - ], - "split": "train" - }, - { - "Input": "The sum of three integers is 69 . The sum of the first an second integers exceeds the third by 93 . The third integer is 10 less than the first . Find the three integers .", - "Output Program": [ - "from sympy import *\nx,y,z = symbols('x y z')\nanswer = solve([Eq(x+y+z, 69.0),Eq(x+y, z+93.0),Eq(z, x-10.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[-2.0, -12.0, 83.0]" - ], - "split": "train" - }, - { - "Input": "The sum of two numbers is 20 . Their difference is 4 . Find the two numbers .", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x+y, 20.0),Eq(x-y, 4.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[12.0, 8.0]" - ], - "split": "train" - }, - { - "Input": "find a number which is 24 greater than its opposite", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(x, 24.0-x)])\nprint(answer)\n" - ], - "Output Answer": [ - "[12.0]" - ], - "split": "train" - }, - { - "Input": "The sum of the three smallest of four consecutive odd integers is 30 more than the largest integer . What are the four consecutive odd integers ?", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(x+x+2.0+x+4.0, 30.0+x+6.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[15.0]" - ], - "split": "train" - }, - { - "Input": "add 3 to a number then double the result . if the total is 22 find the number", - "Output Program": [ - "from sympy import *\nn = symbols('n')\nanswer = solve([Eq(2.0*(n+3.0), 22.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[8.0]" - ], - "split": "train" - }, - { - "Input": "the sum of two numbers is 90 . their difference is 18 . find the numbers ?", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x+y, 90.0),Eq(x-y, 18.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[54.0, 36.0]" - ], - "split": "train" - }, - { - "Input": "The sum of 3 consecutive odd integers is 27 . find the smallest of these integers .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-1.0)+(2.0*k+1.0)+(2.0*k+3.0), 27.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[4.0]" - ], - "split": "train" - }, - { - "Input": "five consecutive integers whose sum is 195", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq((x-2.0)+(x-1.0)+x+(x+1.0)+(x+2.0), 195.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[39.0]" - ], - "split": "train" - }, - { - "Input": "find two consecutive even integers whose sum is 90 .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(2.0*k+(2.0*k+2.0), 90.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[22.0]" - ], - "split": "train" - }, - { - "Input": "find two consecutive even integers whose sum is 46", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(2.0*k+(2.0*k+2.0), 46.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[11.0]" - ], - "split": "train" - }, - { - "Input": "the sum of three consecutive odd integers is five less than twice the smallest of these integers", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-1.0)+(2.0*k+1.0)+(2.0*k+3.0), 2.0*(2.0*k-1.0)-5.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[-5.0]" - ], - "split": "train" - }, - { - "Input": "The second of two numbers is 5 times the first . Their sum is 42 . Find the Numbers .", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(y, 5.0*x),Eq(x+y, 42.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[7.0, 35.0]" - ], - "split": "train" - }, - { - "Input": "The sum of two numbers is 64 . If twice the smaller number is subtracted from the larger number , the result is 16 . Find the two numbers .", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x+y, 64.0),Eq(y-2.0*x, 16.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[16.0, 48.0]" - ], - "split": "train" - }, - { - "Input": "The difference between two number is 9 . Find the numbers , if their sum is 46 .", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x-y, 9.0),Eq(x+y, 46.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[27.5, 18.5]" - ], - "split": "train" - }, - { - "Input": "two integers have a sum of -9 and a difference of 5 . What are the integers ?", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x+y, -9.0),Eq(x-y, 5.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[-2.0, -7.0]" - ], - "split": "train" - }, - { - "Input": "find two consecutive integers whose sum is 383", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(x+(x+1.0), 383.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[191.0]" - ], - "split": "train" - }, - { - "Input": "find two consecutive integers such that 4 times the largest exceeds 3 times the smaller by 23", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(4.0*(x+1.0)-3.0*x, 23.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[19.0]" - ], - "split": "train" - }, - { - "Input": "One third of a number is 5 less than half of the same number . What is the number ?", - "Output Program": [ - "from sympy import *\nn = symbols('n')\nanswer = solve([Eq(0.333333333333*n, 0.5*n-5.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[30.0]" - ], - "split": "train" - }, - { - "Input": "The sum of 4 consecutive odd integers is 216 . Find the four integers .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-3.0)+(2.0*k-1.0)+(2.0*k+1.0)+(2.0*k+3.0), 216.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[27.0]" - ], - "split": "train" - }, - { - "Input": "The sum of two numbers is 58 and their difference is 4 . Which is the greater of the two numbers ?", - "Output Program": [ - "from sympy import *\nn,m = symbols('n m')\nanswer = solve([Eq(m+n, 58.0),Eq(m-n, 4.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[27.0, 31.0]" - ], - "split": "train" - }, - { - "Input": "Find three consecutive numbers such that twice the smallest is 23 more than the largest", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(2.0*x, (x+2.0)+23.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[25.0]" - ], - "split": "train" - }, - { - "Input": "three times a number is 10 less than five times the number . find the number", - "Output Program": [ - "from sympy import *\nn = symbols('n')\nanswer = solve([Eq(3.0*n, 5.0*n-10.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[5.0]" - ], - "split": "train" - }, - { - "Input": "Find two consecutive integers such that twice the first added to three times the second is equal to 83", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(2.0*x+3.0*(x+1.0), 83.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[16.0]" - ], - "split": "train" - }, - { - "Input": "Three consecutive integers have the sum of 153 . What is the second integer ?", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq((x-1.0)+x+(x+1.0), 153.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[51.0]" - ], - "split": "train" - }, - { - "Input": "Phil found that the sum of twice a number and -21 is 129 greater than the opposite of the number , What is the number ?", - "Output Program": [ - "from sympy import *\nn = symbols('n')\nanswer = solve([Eq((2.0*n-21.0), 129.0+(-1.0*n))])\nprint(answer)\n" - ], - "Output Answer": [ - "[50.0]" - ], - "split": "train" - }, - { - "Input": "the sum of two numbers is 97 . the difference of the two numbers is 57 . find the two numbers", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x+y, 97.0),Eq(x-y, 57.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[77.0, 20.0]" - ], - "split": "train" - }, - { - "Input": "the sum of four consecutive odd integers is 56 find the first", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-3.0)+(2.0*k-1.0)+(2.0*k+1.0)+(2.0*k+3.0), 56.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[7.0]" - ], - "split": "train" - }, - { - "Input": "Given that 7 divided by 2 = x divided by 8 , find the value of x", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(7.0* 8.0, x * 2.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[28.0]" - ], - "split": "train" - }, - { - "Input": "What two consecutive odd integers have a sum of 88 ?", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-1.0)+(2.0*k+1.0), 88.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[22.0]" - ], - "split": "train" - }, - { - "Input": "the sum of what three consecutive odd numbers is 39 ?", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-1.0)+(2.0*k+1.0)+(2.0*k+3.0), 39.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[6.0]" - ], - "split": "train" - }, - { - "Input": "the sum of two even integers is 194 . what are they ?", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(2.0*k+(2.0*k+2.0), 194.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[48.0]" - ], - "split": "train" - }, - { - "Input": "The second of 3 numbers is 1 less than the first . the 3rd number is 5 less than the second . if the first number is twice as large as the 3rd , find the 3 numbers .", - "Output Program": [ - "from sympy import *\nx,y,z = symbols('x y z')\nanswer = solve([Eq(y, x-1.0),Eq(z, y-5.0),Eq(x, 2.0*z)])\nprint(answer)\n" - ], - "Output Answer": [ - "[12.0, 6.0, 11.0]" - ], - "split": "train" - }, - { - "Input": "Find two numbers whose sum is 62 and whose difference is 6 .", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x+y, 62.0),Eq(x-y, 6.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[34.0, 28.0]" - ], - "split": "train" - }, - { - "Input": "find the three consecutive integers whose sum is 99", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(x+(x+1.0)+(x+2.0), 99.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[32.0]" - ], - "split": "train" - }, - { - "Input": "the sum of two consecutive integers is -71 . what are those integers", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(x+(x+1.0), -71.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[-36.0]" - ], - "split": "train" - }, - { - "Input": "The sum of three consecutive even integers is 30 . Find the integers ?", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-2.0)+2.0*k+(2.0*k+2.0), 30.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[5.0]" - ], - "split": "train" - }, - { - "Input": "the sum of two numbers is 35 . if the larger number is 7 greater than the smaller number , find the numbers", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x+y, 35.0),Eq(y-x, 7.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[14.0, 21.0]" - ], - "split": "train" - }, - { - "Input": "The sum of four consecutive odd integers is 216 . Find the four integers .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-3.0)+(2.0*k-1.0)+(2.0*k+1.0)+(2.0*k+3.0), 216.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[27.0]" - ], - "split": "train" - }, - { - "Input": "FIND THREE CONSECUTIVE ODD INTEGERS SUCH THAT THE SUM OF THE SMALLEST AND 7 TIMES THE LARGEST IS 68", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-1.0)+7.0*(2.0*k+3.0), 68.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[3.0]" - ], - "split": "train" - }, - { - "Input": "The sum of two consecutive even integers is 86 . Find the larger number .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(2.0*k+(2.0*k+2.0), 86.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[21.0]" - ], - "split": "train" - }, - { - "Input": "find two consecutive even integers that twice the smaller diminished by twenty is equal to the larger", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(2.0*(2.0*k)-20.0, 2.0*k+2.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[11.0]" - ], - "split": "train" - }, - { - "Input": "find three consecutive odd integers whose sum is 33", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-1.0)+(2.0*k+1.0)+(2.0*k+3.0), 33.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[5.0]" - ], - "split": "train" - }, - { - "Input": "two more than the product of 5 and x is 12", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(5.0*x+2.0, 12.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[2.0]" - ], - "split": "train" - }, - { - "Input": "Find three consecutive integers such that the sum of twice the second and three times the third is five less than six times the first .", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(2.0*x+3.0*(x+1.0), 6.0*(x-1.0)-5.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[14.0]" - ], - "split": "train" - }, - { - "Input": "One number is 12 more than another number . The sum of twice the larger number and three times the smaller number is 64 . Find the numbers .", - "Output Program": [ - "from sympy import *\nn,m = symbols('n m')\nanswer = solve([Eq(m, n+12.0),Eq(2.0*m+3.0*n, 64.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[8.0, 20.0]" - ], - "split": "train" - }, - { - "Input": "there are 3 consecutive integers . the sum of the first two integers is 16 more than the third . Find integers", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq((x-1.0)+x, (x+1.0)+16.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[18.0]" - ], - "split": "train" - }, - { - "Input": "find two consecutive integers such that the sum of the first and four times the second is 119", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(x+4.0*(x+1.0), 119.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[23.0]" - ], - "split": "train" - }, - { - "Input": "A number when multiplied by 0.388888 instead of 0.875 and got the result 770 less than the actual result , find the original number ?", - "Output Program": [ - "from sympy import *\nn = symbols('n')\nanswer = solve([Eq(0.388888*n, 0.875*n-770.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[1583.99710355]" - ], - "split": "train" - }, - { - "Input": "find three consecutive even integers such that the sum of the first and third equals the sum of the second and -14", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-2.0)+(2.0*k+2.0), 2.0*k-14.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[-7.0]" - ], - "split": "train" - }, - { - "Input": "Find the 3 consecutive integers with the sum of 267 .", - "Output Program": [ - "from sympy import *\nx,y,z = symbols('x y z')\nanswer = solve([Eq(x+1.0, y),Eq(y+1.0, z),Eq(x+y+z, 267.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[88.0, 90.0, 89.0]" - ], - "split": "train" - }, - { - "Input": "Find the number such that its third is greater than its fifth by 16 .", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(x*0.333333333333-x*0.2, 16.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[120.0]" - ], - "split": "train" - }, - { - "Input": "The sum of two numbers is 39 and their difference is 7 . What are the numbers ?", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x+y, 39.0),Eq(x-y, 7.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[23.0, 16.0]" - ], - "split": "train" - }, - { - "Input": "find three consecutive integers such that the sum of the first and the third is 40 .", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq((x-1.0)+(x+1.0), 40.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[20.0]" - ], - "split": "train" - }, - { - "Input": "if the larger of two numbers is subtracted from 6 times the smaller , the result is 20 . if twice the larger number is added to 4 times the smaller , the result is 56 . find the numbers", - "Output Program": [ - "from sympy import *\nn,m = symbols('n m')\nanswer = solve([Eq(6.0*n-m, 20.0),Eq(2.0*m+4.0*n, 56.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[6.0, 16.0]" - ], - "split": "train" - }, - { - "Input": "find three consecutive even integers such that the sum of the first and the third is 12 less than four times the second", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-2.0)+(2.0*k+2.0), 4.0*(2.0*k)-12.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[3.0]" - ], - "split": "train" - }, - { - "Input": "the sum of two numbers is 64 the smaller number is 12 less than the larger number . What are the two numbers ?", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x+y, 64.0),Eq(x, y-12.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[26.0, 38.0]" - ], - "split": "train" - }, - { - "Input": "find the value of y to make this a arithmetic sequencey +8 , 4y +6 , 3y", - "Output Program": [ - "from sympy import *\ny = symbols('y')\nanswer = solve([Eq((4.0*y+6.0)-y-8.0, (3.0*y)-4.0*y-6.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[-1.0]" - ], - "split": "train" - }, - { - "Input": "the sum of 3 consecutive numbers is 753 . what are these numbers .", - "Output Program": [ - "from sympy import *\nx,y,z = symbols('x y z')\nanswer = solve([Eq(x+1.0, y),Eq(y+1.0, z),Eq(x+y+z, 753.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[250.0, 252.0, 251.0]" - ], - "split": "train" - }, - { - "Input": "Frida is thinking of number . She adds 15 to her number and finds that the result is 4 times her number . What is her number ?", - "Output Program": [ - "from sympy import *\nn = symbols('n')\nanswer = solve([Eq(n+15.0, 4.0*n)])\nprint(answer)\n" - ], - "Output Answer": [ - "[5.0]" - ], - "split": "train" - }, - { - "Input": "four consecutive integers such that the sum of the first three integers equal to the fourth . what are the integers ?", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq((x-1.0)+x+(x+1.0), x+2.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[1.0]" - ], - "split": "train" - }, - { - "Input": "The sum of two consecutive integers is -21 . Find the two integers", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(x+x+1.0, -21.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[-11.0]" - ], - "split": "train" - }, - { - "Input": "the sum of two numbers is 50 . The difference between these numbers is 10 than find the numbers", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x+y, 50.0),Eq(x-y, 10.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[30.0, 20.0]" - ], - "split": "train" - }, - { - "Input": "The sum of three consecutive positive integers is 246 . Find the largest integer .", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq((x-1.0)+x+(x+1.0), 246.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[82.0]" - ], - "split": "train" - }, - { - "Input": "Find three consecutive integers whose sum is 63 .", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq((x-1.0)+x+(x+1.0), 63.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[21.0]" - ], - "split": "train" - }, - { - "Input": "Find two consecutive whole numbers such that 5 times the smaller number added by 3 times the greater number makes 59", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(5.0*x+3.0*(x+1.0), 59.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[7.0]" - ], - "split": "train" - }, - { - "Input": "find three consecutive integers such that three times the middle integer is equal to the sum of five times the first and three times the third integer decreased by 13", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(3.0*(x+1.0), 5.0*x+3.0*(x+2.0)-13.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[2.0]" - ], - "split": "train" - }, - { - "Input": "the sum of a number and 0.4 of itself is 56 . what is the number ?", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(x+0.4*x, 56.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[40.0]" - ], - "split": "train" - }, - { - "Input": "Find two consecutive whole numbers whose sum is 291", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(x+(x+1.0), 291.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[145.0]" - ], - "split": "train" - }, - { - "Input": "a number is twice another number . if their sum is 48 find the numbers .", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x, 2.0*y),Eq(x+y, 48.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[32.0, 16.0]" - ], - "split": "train" - }, - { - "Input": "One number is 1 more than another doubled . If their difference is 10 , find the numbers .", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x, 1.0+2.0*y),Eq(x-y, 10.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[19.0, 9.0]" - ], - "split": "train" - }, - { - "Input": "The sum of three numbers is 137 . The second number is 4 more than two times the first number . The third number is 5 less than three times the first number . Find the three numbers .", - "Output Program": [ - "from sympy import *\nx,y,z = symbols('x y z')\nanswer = solve([Eq(x+y+z, 137.0),Eq(y, 2.0*x+4.0),Eq(z, 3.0*x-5.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[23.0, 64.0, 50.0]" - ], - "split": "train" - }, - { - "Input": "An even integer is doubled . The result is 16 more than the next consecutive even integer . Find the two integers .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(2.0*(2.0*k), (2.0*k+2.0)+16.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[9.0]" - ], - "split": "train" - }, - { - "Input": "find two consecutive even integers such that four times the first equals three times the second", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(4.0*x, 3.0*(x+2.0))])\nprint(answer)\n" - ], - "Output Answer": [ - "[6.0]" - ], - "split": "train" - }, - { - "Input": "The sum of three consecutive integers is 87 . Find the integers .", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq((x-1.0)+x+(x+1.0), 87.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[29.0]" - ], - "split": "train" - }, - { - "Input": "3 consecutive odd integers whose sum is one hundred eighty three", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-1.0)+(2.0*k+1.0)+(2.0*k+3.0), 183.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[30.0]" - ], - "split": "train" - }, - { - "Input": "Find two consecutive odd integers such that six times the first equals ten more than four times the second .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(6.0*(2.0*k-1.0), 4.0*(2.0*k+1.0)+10.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[5.0]" - ], - "split": "train" - }, - { - "Input": "The sum of two numbers is fourteen . The difference between two times the smaller and the larger is one . Find the two numbers .", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x+y, 14.0),Eq(2.0*x-y, 1.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[5.0, 9.0]" - ], - "split": "train" - }, - { - "Input": "The sum of three consecutive numbers is 72 . What are the smallest of these numbers ?", - "Output Program": [ - "from sympy import *\nx,y,z = symbols('x y z')\nanswer = solve([Eq(x+1.0, y),Eq(y+1.0, z),Eq(x+y+z, 72.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[23.0, 25.0, 24.0]" - ], - "split": "train" - }, - { - "Input": "Find two numbers whos sum is 33 and one of the numbers is two times larger than the other ?", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x+y, 33.0),Eq(x, 2.0*y)])\nprint(answer)\n" - ], - "Output Answer": [ - "[22.0, 11.0]" - ], - "split": "train" - }, - { - "Input": "The first number is 5 less than the second number . Four times the first number plus five times the second number is 74 . Find the numbers .", - "Output Program": [ - "from sympy import *\nn,m = symbols('n m')\nanswer = solve([Eq(m, n-5.0),Eq(4.0*m+5.0*n, 74.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[10.4444444444, 5.44444444444]" - ], - "split": "train" - }, - { - "Input": "what is the reciprocal of 0.8 .", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(x * 0.8 , 1.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[1.25]" - ], - "split": "train" - }, - { - "Input": "The sum of three numbers is 123 . The second number is 9 less than two times the first number . The third number is 6 more than three times the first number . Find the three numbers .", - "Output Program": [ - "from sympy import *\nx,y,z = symbols('x y z')\nanswer = solve([Eq(x+y+z, 123.0),Eq(y+9.0, 2.0*x),Eq(z, 6.0+3.0*x)])\nprint(answer)\n" - ], - "Output Answer": [ - "[21.0, 69.0, 33.0]" - ], - "split": "train" - }, - { - "Input": "Find two consecutive integers such that the sum of the first and 3 times the second is 55 .", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(x+3.0*(x+1.0), 55.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[13.0]" - ], - "split": "train" - }, - { - "Input": "The greater of two consecutive even integers is 14 less than three times the smaller integer . Find the integers .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(2.0*k+2.0, 3.0*(2.0*k)-14.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[4.0]" - ], - "split": "train" - }, - { - "Input": "find the three consecutive odd integers such that the sum of the first and third is 42", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-1.0)+(2.0*k+3.0), 42.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[10.0]" - ], - "split": "train" - }, - { - "Input": "Nine more than four times a number is the same as one less than twice the number . Find the number .", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(9.0+4.0*x, 2.0*x-1.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[-5.0]" - ], - "split": "train" - }, - { - "Input": "What number is 17 % of 200 .", - "Output Program": [ - "from sympy import *\nn = symbols('n')\nanswer = solve([Eq(n, 17.0*0.01*200.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[34.0]" - ], - "split": "train" - }, - { - "Input": "Find three consecutive integers such that three times the smallest is 14 more than the largest .", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(3.0*(x-1.0), (x+1.0)+14.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[9.0]" - ], - "split": "train" - }, - { - "Input": "Find two consecutive integers such that the sum of the smaller and twice the greater is 32", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(x+2.0*(x+1.0), 32.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[10.0]" - ], - "split": "train" - }, - { - "Input": "Find three consecutive integers with a sum of 267 .", - "Output Program": [ - "from sympy import *\nx,y,z = symbols('x y z')\nanswer = solve([Eq(x+1.0, y),Eq(y+1.0, z),Eq(x+y+z, 267.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[88.0, 90.0, 89.0]" - ], - "split": "train" - }, - { - "Input": "find 2 consecutive odd integers such that 4 times the smaller is 29 less than 3 times the larger", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(4.0*(2.0*k-1.0), 3.0*(2.0*k+1.0)-29.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[-11.0]" - ], - "split": "train" - }, - { - "Input": "The sum of two consecutive integers is 105 . Find the integers .", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(x+x+1.0, 105.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[52.0]" - ], - "split": "train" - }, - { - "Input": "what percent of 50 is 6 ?", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(x*0.01*50.0, 6.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[12.0]" - ], - "split": "train" - }, - { - "Input": "The sum of Two numbers is 39 . Twice the first number and plus 3 times the second number is 101 . What are the numbers ?", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x+y, 39.0),Eq(2.0*x+3.0*y, 101.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[16.0, 23.0]" - ], - "split": "train" - }, - { - "Input": "When the number w is multiplyed by 4 , the result is the same as when 4 is added to w.What is the value of 3w ?", - "Output Program": [ - "from sympy import *\nw = symbols('w')\nanswer = solve([Eq(4.0*w, 4.0+w)])\nprint(answer)\n" - ], - "Output Answer": [ - "[1.33333333333]" - ], - "split": "train" - }, - { - "Input": "FIND TWO CONSECUTIVE EVEN INTEGERS SUCH THAT TWICE THE SMALLER IS 10 MORE THAN THE LARGER", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(2.0*(2.0*k), 10.0+(2.0*k+2.0))])\nprint(answer)\n" - ], - "Output Answer": [ - "[6.0]" - ], - "split": "train" - }, - { - "Input": "The sum of two numbers is 38 . Their difference is 12 . What are the two numbers ?", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x+y, 38.0),Eq(x-y, 12.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[25.0, 13.0]" - ], - "split": "train" - }, - { - "Input": "the larger of two consecutive odd integers is 7 greater than twice the smaller . Find the integers", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k+1.0), 2.0*(2.0*k-1.0)+7.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[-2.0]" - ], - "split": "train" - }, - { - "Input": "The larger of two consecutive even integers is 6 less than 3 times the smaller . Find the integers .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(2.0*k+2.0, 3.0*(2.0*k)-6.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[2.0]" - ], - "split": "train" - }, - { - "Input": "one number is 8 more than another . if the sum of the smaller number and twice the larger number is 46 , find the two numbers .", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x, 8.0+y),Eq(y+2.0*x, 46.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[18.0, 10.0]" - ], - "split": "train" - }, - { - "Input": "Find two numbers whose sum is 55 and whose difference is 13 .", - "Output Program": [ - "from sympy import *\nn,m = symbols('n m')\nanswer = solve([Eq(m+n, 55.0),Eq(m-n, 13.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[21.0, 34.0]" - ], - "split": "train" - }, - { - "Input": "the greater of two consecutive even integers is six less than twice the smaller .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(2.0*k+2.0, 2.0*(2.0*k)-6.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[4.0]" - ], - "split": "train" - }, - { - "Input": "twice a number is 220 less than six times a number", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(2.0*x, 6.0*x-220.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[55.0]" - ], - "split": "train" - }, - { - "Input": "three times the largest of three consecutive odd integers is three less than twice the sum of the other two integers . find the integers .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(3.0*(2.0*k+3.0), 3.0+2.0*(2.0*k+1.0+2.0*k-1.0))])\nprint(answer)\n" - ], - "Output Answer": [ - "[3.0]" - ], - "split": "train" - }, - { - "Input": "one number is 11 more than another number . Find the two numbers if three times the larger exceeds four times the smaller number by 4 .", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x, y+11.0),Eq(3.0*x, 4.0*y+4.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[40.0, 29.0]" - ], - "split": "train" - }, - { - "Input": "the sum of three consecutive odd numbers is 273 . what are the numbers", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-1.0)+(2.0*k+1.0)+(2.0*k+3.0), 273.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[45.0]" - ], - "split": "train" - }, - { - "Input": "one is twice another number . When the larger number is diminished by 10 , the result is two greater than the smaller . Find the numbers .", - "Output Program": [ - "from sympy import *\nn,m = symbols('n m')\nanswer = solve([Eq(m, 2.0*n),Eq(m-10.0, 2.0+n)])\nprint(answer)\n" - ], - "Output Answer": [ - "[12.0, 24.0]" - ], - "split": "train" - }, - { - "Input": "There are 3 consecutive odd integers whose sum is 303 . What is the value of the 3rd odd integer ?", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(2.0*x-1.0+2.0*x+1.0+2.0*x+3.0, 303.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[50.0]" - ], - "split": "train" - }, - { - "Input": "If 6 is added to a number , the result exceeds two times the number by 1 . What is the number", - "Output Program": [ - "from sympy import *\nn = symbols('n')\nanswer = solve([Eq(n+6.0, 2.0*n+1.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[5.0]" - ], - "split": "train" - }, - { - "Input": "Find three consecutive integers such that the sum of the smallest and twice the second is 20 more than the third .", - "Output Program": [ - "from sympy import *\nn = symbols('n')\nanswer = solve([Eq(n+2.0*(n+1.0), 20.0+(n+2.0))])\nprint(answer)\n" - ], - "Output Answer": [ - "[10.0]" - ], - "split": "train" - }, - { - "Input": "The sum of 4 consecutive odd numbers is 336 . What is the second number in this sequence ?", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(2.0*k+1.0+(2.0*k+3.0)+(2.0*k+5.0)+(2.0*k+7.0), 336.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[40.0]" - ], - "split": "train" - }, - { - "Input": "what are 4 consecutive numbers when totaled equal 434", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq((x-1.0)+x+(x+1.0)+(x+2.0), 434.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[108.0]" - ], - "split": "train" - }, - { - "Input": "The sum of three integers is 61 . The sum of the first and second exceeds the third by 71 . The third integer is 36 less than the first . Find the three integers .", - "Output Program": [ - "from sympy import *\nx,y,z = symbols('x y z')\nanswer = solve([Eq(x+y+z, 61.0),Eq(x+y, z+71.0),Eq(z, x-36.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[31.0, -5.0, 35.0]" - ], - "split": "train" - }, - { - "Input": "Find two consecutive odd integers such that seven times the first equals five times the second .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(7.0*(2.0*k-1.0), 5.0*(2.0*k+1.0))])\nprint(answer)\n" - ], - "Output Answer": [ - "[3.0]" - ], - "split": "train" - }, - { - "Input": "if the sum of five consecutive positive integers is 2005 , then the largest of these numbersa -RRB- 401b -RRB- 403c -RRB- 405d -RRB- 2001", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq((x-2.0)+(x-1.0)+x+(x+1.0)+(x+2.0), 2005.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[401.0]" - ], - "split": "train" - }, - { - "Input": "Find three consecutive integers such that the sum of the smallest and the largest is 40 .", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq((x-1.0)+(x+1.0), 40.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[20.0]" - ], - "split": "train" - }, - { - "Input": "The sum of two consecutive integers is 145 . Find the two integers .", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x+1.0, y),Eq(x+y, 145.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[72.0, 73.0]" - ], - "split": "train" - }, - { - "Input": "what number increased by 30 % equals 260 .", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(x*(1.0+0.01*30), 260.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[200.0]" - ], - "split": "train" - }, - { - "Input": "The sum of two numbers is 24 and the sum of the first number and twice the second is 34 . Find the numbers .", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x+y, 24.0),Eq(x+2.0*y, 34.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[14.0, 10.0]" - ], - "split": "train" - }, - { - "Input": "the larger of the two consecutive integers is 7 greater than twice the smaller . Find the integers", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(x+1.0, 2.0*x+7.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[-6.0]" - ], - "split": "train" - }, - { - "Input": "The sum of two numbers is 70 . The larger number is 4 more than twice the smaller number . What is the smaller number ?", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x+y, 70.0),Eq(x, 4.0+2.0*y)])\nprint(answer)\n" - ], - "Output Answer": [ - "[48.0, 22.0]" - ], - "split": "train" - }, - { - "Input": "Three times the smallest of three consecutive even integers is two more than twice the largest . Find the integers .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(3.0*(2.0*k-2.0), 2.0*(2.0*k+2.0)+2.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[6.0]" - ], - "split": "train" - }, - { - "Input": "Two consecutive odd integers have a sum of 48 . What is the largest of the two integers ?", - "Output Program": [ - "from sympy import *\nn = symbols('n')\nanswer = solve([Eq((2.0*n-1.0)+(2.0*n+1.0), 48.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[12.0]" - ], - "split": "train" - }, - { - "Input": "Find a number that is 32 more than its opposite", - "Output Program": [ - "from sympy import *\nn = symbols('n')\nanswer = solve([Eq(n, -1.0*n+32.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[16.0]" - ], - "split": "train" - }, - { - "Input": "one number is six more than another number . The sum of the larger number and twice the smaller number is 12 . Find the numbers .", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x, y+6.0),Eq(x+2.0*y, 12.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[8.0, 2.0]" - ], - "split": "train" - }, - { - "Input": "The sum of 3 consecutive odd numbers is 39 . Find the numbers ?", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-1.0)+(2.0*k+1.0)+(2.0*k+3.0), 39.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[6.0]" - ], - "split": "train" - }, - { - "Input": "Find a number such that three times the sum of four and the number is 18", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(3.0*(x+4.0), 18.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[2.0]" - ], - "split": "train" - }, - { - "Input": "the sum of three consecutive odd number is 87 . find the first number", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-1.0)+(2.0*k+1.0)+(2.0*k+3.0), 87.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[14.0]" - ], - "split": "train" - }, - { - "Input": "The larger of two numbers is 5 less than twice the smaller number . The sum of the two numbers is 28 . What are the numbers ?", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x+5.0, 2.0*y),Eq(x+y, 28.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[17.0, 11.0]" - ], - "split": "train" - }, - { - "Input": "Find 3 consecutive odd integers such that 3 times the smallest , is 5 more than the sum of the 2nd and 3rd .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(3.0*(2.0*k-1.0), (2.0*k+1.0)+(2.0*k+3.0)+5.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[6.0]" - ], - "split": "train" - }, - { - "Input": "find three consecutive odd integers such that the sum of the first , twice the second , and three times the third is 94", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-1.0)+2.0*(2.0*k+1.0)+3.0*(2.0*k+3.0), 94.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[7.0]" - ], - "split": "train" - }, - { - "Input": "Two consecutive even integers that total 218", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(2.0*k+(2.0*k+2.0), 218.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[54.0]" - ], - "split": "train" - }, - { - "Input": "If 3 is subtracted from four times a number , the result is 10 less than five times the number . Find the number .", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(4.0*x-3.0, 5.0*x-10.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[7.0]" - ], - "split": "train" - }, - { - "Input": "find three consecutive odd integers such that the sum of the smallest and 4 times the largest 61", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-1.0)+4.0*(2.0*k+3.0), 61.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[5.0]" - ], - "split": "train" - }, - { - "Input": "one number is 6 more than another . If the sum of the smaller number and 3 times the larger number is 34 , find the two numbers .", - "Output Program": [ - "from sympy import *\nn,m = symbols('n m')\nanswer = solve([Eq(m, 6.0+n),Eq(n+3.0*m, 34.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[4.0, 10.0]" - ], - "split": "train" - }, - { - "Input": "Find two numbers whose sum is 32 and such that one is 3 times as large as the other ?", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x+y, 32.0),Eq(x, 3.0*y)])\nprint(answer)\n" - ], - "Output Answer": [ - "[24.0, 8.0]" - ], - "split": "train" - }, - { - "Input": "36 is 60 % of what number ?", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(36.0, 0.6*x)])\nprint(answer)\n" - ], - "Output Answer": [ - "[60.0]" - ], - "split": "train" - }, - { - "Input": "Five times the first of two consecutive odd integers is three times the second . Find the integers ?", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(5.0*(2.0*k-1.0), 3.0*(2.0*k+1.0))])\nprint(answer)\n" - ], - "Output Answer": [ - "[2.0]" - ], - "split": "train" - }, - { - "Input": "Find two consecutive integers whose sum is 83 .", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(x+(x+1.0), 83.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[41.0]" - ], - "split": "train" - }, - { - "Input": "if the sum of a number and 7 is tripled , the result is 3 less than twice the number", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(3.0*(x+7.0), 2.0*x-3.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[-24.0]" - ], - "split": "train" - }, - { - "Input": "The sum of an integer and three times the next consecutive integer is 47 . What is the original integer .", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(x+3.0*(x+1.0), 47.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[11.0]" - ], - "split": "train" - }, - { - "Input": "what are two consecutive odd integers whose sum is -116 ?", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-1.0)+(2.0*k+1.0), -116.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[-29.0]" - ], - "split": "train" - }, - { - "Input": "The greatest of two consecutive integers is ten greater than twice the lesser . find the integers", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(x+1.0, 10.0+2.0*x)])\nprint(answer)\n" - ], - "Output Answer": [ - "[-9.0]" - ], - "split": "train" - }, - { - "Input": "eight times a number equals 24 more than two times the number . What is the number ?", - "Output Program": [ - "from sympy import *\nn = symbols('n')\nanswer = solve([Eq(8.0*n, 24.0+2.0*n)])\nprint(answer)\n" - ], - "Output Answer": [ - "[4.0]" - ], - "split": "train" - }, - { - "Input": "Find the five odd consecutive integers if the sum of the first and the fifth is one less than three times the fourth ?", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(2.0*k-1.0+2.0*k+7.0+1.0, 3.0*(2.0*k+5.0))])\nprint(answer)\n" - ], - "Output Answer": [ - "[-4.0]" - ], - "split": "train" - }, - { - "Input": "What three consecutive integers have a sum of -186 ?", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq((x-1.0)+x+(x+1.0), -186.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[-62.0]" - ], - "split": "train" - }, - { - "Input": "the sum of two consecutive even numbers is 30 . what are the numbers ?", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(2.0*k+2.0*k+2.0, 30.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[7.0]" - ], - "split": "train" - }, - { - "Input": "the sum of the digits of a two digit number is 15 . if the digits are interchanged the result exceeds the original number by 9 . find the number .", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x+y, 15.0),Eq((10.0*x+y)-x-10.0*y, 9.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[8.0, 7.0]" - ], - "split": "train" - }, - { - "Input": "Three consecutive integers such that the sum of the first , twice the second and three times the third is 80 . What are the integers ?", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(x+2.0*(x+1.0)+3.0*(x+2.0), 80.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[12.0]" - ], - "split": "train" - }, - { - "Input": "If the lesser of two consecutive odd integers is doubled , the result is 7 more than the greater of the two integers . Find the two integers .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(2.0*(2.0*k-1.0), (2.0*k+1.0)+7.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[5.0]" - ], - "split": "train" - }, - { - "Input": "The sum of two integers is fifteen . Eight times the smaller is 1 less than three times the larger . Find the numbers .", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x+y, 15.0),Eq(8.0*x, 3.0*y-1.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[4.0, 11.0]" - ], - "split": "train" - }, - { - "Input": "find the largest of three consecutive odd integers whose sum is -3", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(2.0*k-1.0+2.0*k+1.0+2.0*k+3.0, -3.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[-1.0]" - ], - "split": "train" - }, - { - "Input": "i have two numbers . the sum is 36 and the difference is 9 . what are the two numbers ?", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x+y, 36.0),Eq(x-y, 9.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[22.5, 13.5]" - ], - "split": "train" - }, - { - "Input": "Find three consecutive odd integers such that the sum of the first integer twice the second integer and three times the third is 70 ?", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-1.0)+2.0*(2.0*k+1.0)+3.0*(2.0*k+3.0), 70.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[5.0]" - ], - "split": "train" - }, - { - "Input": "Four times the smallest of three consecutive even integers is ten more than three times the largest integer . Find the integers ?", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(4.0*(2.0*k-2.0), 3.0*(2.0*k+2.0)+10.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[12.0]" - ], - "split": "train" - }, - { - "Input": "find the consecutive odd numbers such that twice the sum of the first and second is one more than three times the third .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(2.0*(2*2.0*k), 3.0*(2.0*k+3.0)+1.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[5.0]" - ], - "split": "train" - }, - { - "Input": "four times the certain number , minus 5 , is equal to 7 more than twice the number . What is the number ?", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(4.0*x-5.0, 2.0*x+7.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[6.0]" - ], - "split": "train" - }, - { - "Input": "The sum of two numbers is 574 . One number is six times the other . Find the larger number .", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x+y, 574.0),Eq(x, 6.0*y)])\nprint(answer)\n" - ], - "Output Answer": [ - "[492.0, 82.0]" - ], - "split": "train" - }, - { - "Input": "find four consecutive numbers such that the sum of the first three numbers is twelve more than the fourth number", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq((x-1.0)+x+(x+1.0), (x+2.0)+12.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[7.0]" - ], - "split": "train" - }, - { - "Input": "The sum of three consecutive integers is 78 . Find the numbers .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(k+(k+1.0)+(k+2.0), 78.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[25.0]" - ], - "split": "train" - }, - { - "Input": "The sum of 3 consecutive even integers is 222 . Find the numbers .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-2.0)+2.0*k+2.0*k+2.0, 222.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[37.0]" - ], - "split": "train" - }, - { - "Input": "find five consecutive odd integers such that the sum of the first and fifth number is one less than three times the fourth number", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(2.0*k-1.0+2.0*k+7.0, 3.0*(2.0*k+5.0)-1.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[-4.0]" - ], - "split": "train" - }, - { - "Input": "The sum of two consecutive odd integers is 144 . Find the integers .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k+1.0)+(2.0*k+3.0), 144.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[35.0]" - ], - "split": "train" - }, - { - "Input": "Find the integers . Five consecutive odd integers such that the sum of the first and fifth are one less than three times the fourth integer .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-3.0)+(2.0*k+5.0), 3.0*(2.0*k+3.0)-1.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[-3.0]" - ], - "split": "train" - }, - { - "Input": "The sum of 2 numbers is 33 . Three times one number is six less than four times the other . What are the two numbers ?", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x+y, 33.0),Eq(3.0*x, 4.0*y-6.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[18.0, 15.0]" - ], - "split": "train" - }, - { - "Input": "Find three consecutive integers whose sum is 315", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq((x-1.0)+x+(x+1.0), 315.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[105.0]" - ], - "split": "train" - }, - { - "Input": "Two integers have a difference of -11 and a sum of -3 . What are the integers ?", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x-y, -11.0),Eq(x+y, -3.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[-7.0, 4.0]" - ], - "split": "train" - }, - { - "Input": "One number is 5 more than another number . Three times the first plus twice the second is 30 . Find the numbers .", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x-y, 5.0),Eq(3.0*x+2.0*y, 30.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[8.0, 3.0]" - ], - "split": "train" - }, - { - "Input": "Find two consecutive even integers such that the smaller added to five times the larger gives a sum of 46 .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(2.0*k+5.0*(2.0*k+2.0), 46.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[3.0]" - ], - "split": "train" - }, - { - "Input": "find two consecutive even integers whose sum is 126", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(x+(x+2.0), 126.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[62.0]" - ], - "split": "train" - }, - { - "Input": "The sum of the digits of a two digit number is 8 . When the digits are reversed , the number is increased by 36 . Find the number .", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x+y, 8.0),Eq(10.0*x+y+36.0, 10.0*y+x)])\nprint(answer)\n" - ], - "Output Answer": [ - "[2.0, 6.0]" - ], - "split": "train" - }, - { - "Input": "The sum of two numbers is -16 . The difference of the same numbers is 8 . Find the numbers .", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x+y, -16.0),Eq(x-y, 8.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[-4.0, -12.0]" - ], - "split": "train" - }, - { - "Input": "find three consecutive odd integers such that three times the second minus the third is 11 more than the first", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(3.0*(2.0*k+1.0)-2.0*k-3.0, 11.0+2.0*k-1.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[5.0]" - ], - "split": "train" - }, - { - "Input": "find two consecutive odd integers such that three times the smaller one exceeds two times the larger one by 7", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(3.0*(2.0*k-1.0), 7.0+2.0*(2.0*k+1.0))])\nprint(answer)\n" - ], - "Output Answer": [ - "[6.0]" - ], - "split": "train" - }, - { - "Input": "are there three consecutive odd integers whose sum is 75 ? if so , find them .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-1.0)+(2.0*k+1.0)+(2.0*k+3.0), 75.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[12.0]" - ], - "split": "train" - }, - { - "Input": "the sum of two numbers is 825 . Dividing the larger number by the smaller number yeilds 8 with a remainder of 15 . What are the 2 numbers ?", - "Output Program": [ - "from sympy import *\nn,m = symbols('n m')\nanswer = solve([Eq(m+n, 825.0),Eq(m, 8.0*n+15.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[90.0, 735.0]" - ], - "split": "train" - }, - { - "Input": "one number is 9 more than the other number . The difference of seven times the smaller number and two times the larger is 157 . What are the numbers ?", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x, y+9.0),Eq(7.0*y-2.0*x, 157.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[44.0, 35.0]" - ], - "split": "train" - }, - { - "Input": "One number is 6 less than a second number . Twice the second number is 48 more than 5 times the first . Find the two numbers", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x, y-6.0),Eq(2.0*y, 5.0*x+48.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[-12.0, -6.0]" - ], - "split": "train" - }, - { - "Input": "Find two consecutive odd integers whose sum is 0", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(2.0*k+1.0+2.0*k+3.0, 0.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[-1.0]" - ], - "split": "train" - }, - { - "Input": "One number is twice another number . The larger number is also 32 more than the smaller number . Find the numbers .", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x, 2.0*y),Eq(x, 32.0+y)])\nprint(answer)\n" - ], - "Output Answer": [ - "[64.0, 32.0]" - ], - "split": "train" - }, - { - "Input": "what is twice the first of three consecutive even integers is ten more than the third . find the integers .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(2.0*(2.0*k-2.0), (2.0*k+2.0)+10.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[8.0]" - ], - "split": "train" - }, - { - "Input": "what is 8 % of 2,000 .", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(x, 2000.0*0.08)])\nprint(answer)\n" - ], - "Output Answer": [ - "[160.0]" - ], - "split": "train" - }, - { - "Input": "Find three consecutive odd integers such that six times the sum of the first and second is 2 more than 10 times the third .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(6.0*(2*2.0*k), 10.0*(2.0*k+3.0)+2.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[8.0]" - ], - "split": "train" - }, - { - "Input": "The sum of two integers is zero . The difference of the same two integers is 16 . What are the two integers ?", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x+y, 0.0),Eq(y-x, 16.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[-8.0, 8.0]" - ], - "split": "train" - }, - { - "Input": "20 % of the number is 3 . Find the number ?", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(0.01*20*x, 3.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[15.0]" - ], - "split": "train" - }, - { - "Input": "The difference between two numbers is 14 and half of their sum is 25 . What are the numbers ?", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x-y, 14.0),Eq((x+y)*0.5, 25.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[32.0, 18.0]" - ], - "split": "train" - }, - { - "Input": "The sum of 3 consecutive EVEN integers is 174 . What is the first integer ?", - "Output Program": [ - "from sympy import *\nx,y,z = symbols('x y z')\nanswer = solve([Eq(x+2.0, y),Eq(y+2.0, z),Eq(x+y+z, 174.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[56.0, 60.0, 58.0]" - ], - "split": "train" - }, - { - "Input": "The sum of four consecutive integers is 50 . What is the largest of these integers ?", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq((x-1.0)+x+(x+1.0)+(x+2.0), 50.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[12.0]" - ], - "split": "train" - }, - { - "Input": "Two numbers have sum of 32 . If the second is five less than four times the first , what are the two numbers ?", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x+y, 32.0),Eq(y, 4.0*x-5.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[7.4, 24.6]" - ], - "split": "train" - }, - { - "Input": "find three consecutive odd numbers such that the sum of the last two bigger numbers is 85 more than the first .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k+1.0)+(2.0*k+3.0), (2.0*k-1.0)+85.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[40.0]" - ], - "split": "train" - }, - { - "Input": "5 times the sum of three consecutive integers is 150 . What are the integers ?", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(5.0*3.0*k, 150.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[10.0]" - ], - "split": "train" - }, - { - "Input": "three consecutive odd integers such that seven times the sum of the first two integers is three more than nine times the third integer .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(7.0*(2*2.0*k), 9.0*(2.0*k+3.0)+3.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[3.0]" - ], - "split": "train" - }, - { - "Input": "the sum of two consecutive numbers is 33 . what is the smaller of these numbers", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(x+x+1.0, 33.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[16.0]" - ], - "split": "train" - }, - { - "Input": "A number is 12 less than another . The sum of the numbers is 28 . find the Numbers .", - "Output Program": [ - "from sympy import *\nn,m = symbols('n m')\nanswer = solve([Eq(m, n-12.0),Eq(m+n, 28.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[20.0, 8.0]" - ], - "split": "train" - }, - { - "Input": "Three times the sum of three consecutive integers is 72 . What are the integers ?", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(3.0*3.0*x, 72.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[8.0]" - ], - "split": "train" - }, - { - "Input": "Find two consecutive integers such that the sum of the first and twice the second is 203", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(x+2.0*(x+1.0), 203.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[67.0]" - ], - "split": "train" - }, - { - "Input": "one number is 5 times another number . the sum of the two numbers is 270 . what is the number", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x, 5.0*y),Eq(x+y, 270.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[225.0, 45.0]" - ], - "split": "train" - }, - { - "Input": "The sum of four consecutive even numbers is 124 . What are the numbers ?", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-2.0)+2.0*k+(2.0*k+2.0)+(2.0*k+4.0), 124.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[15.0]" - ], - "split": "train" - }, - { - "Input": "Robert thinks of a number . When he mulitples his number by 5 and subtracts 16 from the result , he gets the same answer as to when he adds 10 to his number and multiples the result by 3 . Find the number Robert is thinking of .", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(5.0*x-16.0, (x+10.0)*3.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[23.0]" - ], - "split": "train" - }, - { - "Input": "the larger of two numbers is 5 times the smaller number the sum of the numbers is 54 find the larger number", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(y, 5.0*x),Eq(x+y, 54.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[9.0, 45.0]" - ], - "split": "train" - }, - { - "Input": "Find twos numbers whos sum is 48 and such that one is 3 times as large as the other ?", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x+y, 48.0),Eq(x, 3.0*y)])\nprint(answer)\n" - ], - "Output Answer": [ - "[36.0, 12.0]" - ], - "split": "train" - }, - { - "Input": "The sum of two numbers is 31 . Their difference is 9 . What are the two numbers ?", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x+y, 31.0),Eq(x-y, 9.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[20.0, 11.0]" - ], - "split": "train" - }, - { - "Input": "one number is 4 more than twice the second number . Their total is 25 . Find the numbers", - "Output Program": [ - "from sympy import *\na,b = symbols('a b')\nanswer = solve([Eq(a, 4.0+2.0*b),Eq(a+b, 25.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[7.0, 18.0]" - ], - "split": "train" - }, - { - "Input": "One number is 4 more than another , and their sum is 60 . What is the smaller number ?", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(y, 4.0+x),Eq(x+y, 60.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[28.0, 32.0]" - ], - "split": "train" - }, - { - "Input": "the difference of two integers is 9 . five times the smaller is 9 more than three times the larger . find the integers .", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(y, x-9.0),Eq(5.0*(x-9.0), 9.0+3.0*x)])\nprint(answer)\n" - ], - "Output Answer": [ - "[27.0, 18.0]" - ], - "split": "train" - }, - { - "Input": "Find two consecutive odd integers such that 4 times the larger is 29 more than 3 times the smaller", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(4.0*(2.0*k+1.0), 3.0*(2.0*k-1.0)+29.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[11.0]" - ], - "split": "train" - }, - { - "Input": "the sum of three consecutive odd integers is the same as five times the greatest of these integers . what are the integers ?", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k+1.0)+(2.0*k+3.0)+(2.0*k+5.0), 5.0*(2.0*k+5.0))])\nprint(answer)\n" - ], - "Output Answer": [ - "[-4.0]" - ], - "split": "train" - }, - { - "Input": "find five consecutive odd integers such that the sum of the first and fifth is one less than three times the fourth", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k+1.0)+(2.0*k+9.0), 3.0*(2.0*k+7.0)-1.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[-5.0]" - ], - "split": "train" - }, - { - "Input": "The difference between two numbers is 8 . Five times the larger number is 4 more than 8 time the other . Find the numbers ?", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq((x+8.0)*5.0-8.0*x, 4.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[12.0]" - ], - "split": "train" - }, - { - "Input": "Find two consecutive integers such that 4 times the larger exceeds 3 times the smaller by 23 .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(4.0*(k+1.0)-3.0*k, 23.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[19.0]" - ], - "split": "train" - }, - { - "Input": "find three consecutive odd integers whose sum is 273", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-1.0)+(2.0*k+1.0)+(2.0*k+3.0), 273.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[45.0]" - ], - "split": "train" - }, - { - "Input": "The sum of three consecutive whole numbers is 24 . What are the integers ?", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq((x-1.0)+x+(x+1.0), 24.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[8.0]" - ], - "split": "train" - }, - { - "Input": "the sum of two consecutive integers is 19 . what are the integers ?", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(x+(x+1.0), 19.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[9.0]" - ], - "split": "train" - }, - { - "Input": "how many 3 digit even numbers can be made using the digits 1,2,3,4,6,7 , if no digit is repeated ?", - "Output Program": [ - "from sympy import *\nn = symbols('n')\nanswer = solve([Eq(n, 3.0*5.0*4.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[60.0]" - ], - "split": "train" - }, - { - "Input": "Find three consecutive odd integers such that twice the first , decreased by the second is 35 .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(2.0*(2.0*k-1.0)-2.0*k-1.0, 35.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[19.0]" - ], - "split": "train" - }, - { - "Input": "Twice the smallest of three consecutive odd integers is seven more than the largest . Find the integers .", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(2.0*(2.0*x-1.0), 7.0+2.0*x+3.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[6.0]" - ], - "split": "train" - }, - { - "Input": "Find three consecutive odd integers such that twice the first is 7 more than the third", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(2.0*(2.0*k-1.0), 7.0+(2.0*k+3.0))])\nprint(answer)\n" - ], - "Output Answer": [ - "[6.0]" - ], - "split": "train" - }, - { - "Input": "One number is two times another number . The sum of the numbers is 90 . What are the two numbers", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(y, 2.0*x),Eq(x+y, 90.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[30.0, 60.0]" - ], - "split": "train" - }, - { - "Input": "the sum of three consecutive odd integers is 279 . what are the integers ?", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(2.0*k-1.0+2.0*k+1.0+2.0*k+3.0, 279.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[46.0]" - ], - "split": "train" - }, - { - "Input": "find 2 consecutive odd integers whose sum is 56", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-1.0)+(2.0*k+1.0), 56.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[14.0]" - ], - "split": "train" - }, - { - "Input": "One number is 6 less than a second number . Twice the second number is 48 more than 5 times the first.find the 2 numbers ?", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x, y-6.0),Eq(2.0*y, 48.0+5.0*x)])\nprint(answer)\n" - ], - "Output Answer": [ - "[-12.0, -6.0]" - ], - "split": "train" - }, - { - "Input": "One number is 3 more than twice a second number . Their sum is 27 . Find the numbers .", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x, 2.0*y+3.0),Eq(x+y, 27.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[19.0, 8.0]" - ], - "split": "train" - }, - { - "Input": "When 5 times a number is added to twice the number , the result is 10 . Find the number .", - "Output Program": [ - "from sympy import *\nn = symbols('n')\nanswer = solve([Eq(5.0*n+2.0*n, 10.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[1.42857142857]" - ], - "split": "train" - }, - { - "Input": "The sum of three consecutive even integers is 72 . Find the three integers", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-2.0)+(2.0*k)+(2.0*k+2.0), 72.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[12.0]" - ], - "split": "train" - }, - { - "Input": "Find two consecutive even integers such that the sum of the larger and 3 times the smaller is 234", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k+2.0)+3.0*(2.0*k), 234.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[29.0]" - ], - "split": "train" - }, - { - "Input": "Find three consecutive even numbers so that the sum of the first and third numbers is 22 less than three times the second number .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-2.0)+(2.0*k+2.0), 3.0*2.0*k-22.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[11.0]" - ], - "split": "train" - }, - { - "Input": "The greater of two consecutive odd integers is eight more than three times the lesser", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(2.0*k+1.0, 3.0*(2.0*k-1.0)+8.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[-1.0]" - ], - "split": "train" - }, - { - "Input": "Find two consecutive odd integers such that twice the greater is 17 more than the lesser .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(2.0*(2.0*k+1.0), (2.0*k-1.0)+17.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[7.0]" - ], - "split": "train" - }, - { - "Input": "find three consecutive even numbers whose sum is 114", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-2.0)+2.0*k+(2.0*k+2.0), 114.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[19.0]" - ], - "split": "train" - }, - { - "Input": "The sum of two numbers is 2 . If one number is subtracted from the other , the result is 8 . Find the numbers .", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x+y, 2.0),Eq(x-y, 8.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[5.0, -3.0]" - ], - "split": "train" - }, - { - "Input": "what is three odd consecutive integers of 99 ?", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-1.0)+(2.0*k+1.0)+(2.0*k+3.0), 99.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[16.0]" - ], - "split": "train" - }, - { - "Input": "find four consecutive integers whose sum is 62", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq((x-1.0)+x+(x+1.0)+(x+2.0), 62.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[15.0]" - ], - "split": "train" - }, - { - "Input": "When 60 % of a number is added to the number , the result is 192 . What is the number ?", - "Output Program": [ - "from sympy import *\nn = symbols('n')\nanswer = solve([Eq(60.0*0.01*n+n, 192.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[120.0]" - ], - "split": "train" - }, - { - "Input": "the sum of 3 times a number and 17 is 5 . what is the number ?", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(3.0*x+17.0, 5.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[-4.0]" - ], - "split": "train" - }, - { - "Input": "If you double a number and then add 32 , the result is 80 . What is the number ?", - "Output Program": [ - "from sympy import *\nn = symbols('n')\nanswer = solve([Eq(2.0*n+32.0, 80.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[24.0]" - ], - "split": "train" - }, - { - "Input": "the left and right page numbers of an open book are two consecutive integers whose sum is 449 . find the page numbers .", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(x+x+1.0, 449.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[224.0]" - ], - "split": "train" - }, - { - "Input": "Find 4 consecutive odd integers whose sum is 216", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k+1.0)+(2.0*k+3.0)+(2.0*k+5.0)+(2.0*k+7.0), 216.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[25.0]" - ], - "split": "train" - }, - { - "Input": "Find two consecutive odd integers such that the larger , added to eight times the smaller , equals 119 .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k+1.0)+8.0*(2.0*k-1.0), 119.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[7.0]" - ], - "split": "train" - }, - { - "Input": "One number is 9 less than the other . The sum of the two numbers is 41 . Find the smaller integer .", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x, y-9.0),Eq(x+y, 41.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[16.0, 25.0]" - ], - "split": "train" - }, - { - "Input": "One number is 8 more then another number . If the sum of the smaller number and twice the larger number is 46 , find the two numbers .", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x, y+8.0),Eq(y+2.0*x, 46.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[18.0, 10.0]" - ], - "split": "train" - }, - { - "Input": "twice a number decreased by 7 , gives 45 . find the number", - "Output Program": [ - "from sympy import *\nn = symbols('n')\nanswer = solve([Eq(2.0*n-7.0, 45.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[26.0]" - ], - "split": "train" - }, - { - "Input": "Find five consecutive odd integers such that the sum of the first and the fifth is one less than three times the fourth .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-3.0)+(2.0*k+5.0), 3.0*(2.0*k+3.0)-1.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[-3.0]" - ], - "split": "train" - }, - { - "Input": "the sum of three consecutive odd integers is 417 . what is the largest of the three consecutive integers ?", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-1.0)+(2.0*k+1.0)+(2.0*k+3.0), 417.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[69.0]" - ], - "split": "train" - }, - { - "Input": "the sum of four consecutive odd numbers is 128 . Then the smallest number is ?", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(2.0*k-3.0+2.0*k-1.0+2.0*k+1.0+2.0*k+3.0, 128.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[16.0]" - ], - "split": "train" - }, - { - "Input": "The sum of two integers is ten . Three times the larger integer is three less than eight times the smaller integer . Find the integers", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x+y, 10.0),Eq(3.0*y+3.0, 8.0*x)])\nprint(answer)\n" - ], - "Output Answer": [ - "[3.0, 7.0]" - ], - "split": "train" - }, - { - "Input": "If you begin with an even integer and count by two , you are counting consecutive even integers . Write and solve an equation to find two consecutive even integers whose sum is 50 .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(2.0*k+2.0*k+2.0, 50.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[12.0]" - ], - "split": "train" - }, - { - "Input": "The sum of two numbers is -63 . The first number minus the second is -41 . Find the numbers", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x+y, -63.0),Eq(x-y, -41.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[-52.0, -11.0]" - ], - "split": "train" - }, - { - "Input": "six times a number equals 3 times the number , increased by 24 . find the number", - "Output Program": [ - "from sympy import *\nm = symbols('m')\nanswer = solve([Eq(6.0*m, 3.0*m+24.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[8.0]" - ], - "split": "train" - }, - { - "Input": "One number is 5 more than twice another number . The sum of the numbers is 35 . Find the numbers .", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x, 2.0*y+5.0),Eq(x+y, 35.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[25.0, 10.0]" - ], - "split": "train" - }, - { - "Input": "find two consecutive even integers such that 5 times the first integer is equal to 4 times the second", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(5.0*(2.0*k), 4.0*(2.0*k+2.0))])\nprint(answer)\n" - ], - "Output Answer": [ - "[4.0]" - ], - "split": "train" - }, - { - "Input": "the smaller of two numbers is thrice the larger . the larger number is 8 more than the smaller one . find the numbers ?", - "Output Program": [ - "from sympy import *\nn,m = symbols('n m')\nanswer = solve([Eq(m, 3.0*n),Eq(n, m+8.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[-4.0, -12.0]" - ], - "split": "train" - }, - { - "Input": "If three times the smaller of two consecutive integers is added to four times the larger , the result is 137 . Find the smaller integer", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(3.0*x+4.0*(x+1.0), 137.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[19.0]" - ], - "split": "train" - }, - { - "Input": "2 more than 6 times a number is 20 more than 3 times the number . Find the number .", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(2.0+6.0*x, 20.0+3.0*x)])\nprint(answer)\n" - ], - "Output Answer": [ - "[6.0]" - ], - "split": "train" - }, - { - "Input": "twice a number is 12 less than 6 times the opposite of the number . What is the number ?", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(2.0*x+12.0, -1.0* 6.0 * x)])\nprint(answer)\n" - ], - "Output Answer": [ - "[-1.5]" - ], - "split": "train" - }, - { - "Input": "The sum of three consecutive odd integers is 249 . Find the numbers .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-1.0)+(2.0*k+1.0)+(2.0*k+3.0), 249.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[41.0]" - ], - "split": "train" - }, - { - "Input": "0.333333 of a number is 5 less than half of the same number . what is the number ?", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(0.333333*x, 0.5*x-5.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[29.9999400001]" - ], - "split": "train" - }, - { - "Input": "Find 2 consecutive even integers such that the greater is 6 less than 3 times the lesser .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(2.0*k+2.0, 3.0*2.0*k-6.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[2.0]" - ], - "split": "train" - }, - { - "Input": "Find three consecutive integers such that twice the least integer is 12 more than the greatest integer .", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(2.0*x, x+2.0+12.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[14.0]" - ], - "split": "train" - }, - { - "Input": "Find three consecutive even integers such that the sum of five times the first , six times the second and seven times the third is 148", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(5.0*(2.0*k-2.0)+6.0*(2.0*k)+7.0*(2.0*k+2.0), 148.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[4.0]" - ], - "split": "train" - }, - { - "Input": "The difference between two numbers is 19 . The first number is one more than twice the second number . Find the two numbers ?", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x-y, 19.0),Eq(x, 1.0+2.0*y)])\nprint(answer)\n" - ], - "Output Answer": [ - "[37.0, 18.0]" - ], - "split": "train" - }, - { - "Input": "find 3 consecutive odd integers whose sum is -81", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-1.0)+(2.0*k+1.0)+(2.0*k+3.0), -81.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[-14.0]" - ], - "split": "train" - }, - { - "Input": "three less than twice what number is -7 ?", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(2.0*x-3.0, -7.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[-2.0]" - ], - "split": "train" - }, - { - "Input": "3 times a number is 7 more than twice the number ? What is the number ?", - "Output Program": [ - "from sympy import *\nn = symbols('n')\nanswer = solve([Eq(3.0*n, 7.0+2.0*n)])\nprint(answer)\n" - ], - "Output Answer": [ - "[7.0]" - ], - "split": "train" - }, - { - "Input": "The smaller of two consecutive even integers is five more than one half of the greater .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(2.0*k, 0.5*(2.0*k+2.0)+5.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[6.0]" - ], - "split": "train" - }, - { - "Input": "the sum of two integers is fifty seven . Twice the smaller integer is six less than the larger integer . Find the smaller integer", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x+y, 57.0),Eq(y, 2.0*x+6.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[17.0, 40.0]" - ], - "split": "train" - }, - { - "Input": "Three consecutive odd integers whose sum is 417 .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-1.0)+(2.0*k+1.0)+(2.0*k+3.0), 417.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[69.0]" - ], - "split": "train" - }, - { - "Input": "What is the sum of 1 and 1 ?", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(x, 1.0+1.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[2.0]" - ], - "split": "train" - }, - { - "Input": "When the smaller of two consecutive integers is added to three times the larger the result is 199 . Find the smaller integer .", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(x+3.0*(x+1.0), 199.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[49.0]" - ], - "split": "train" - }, - { - "Input": "three more than the product of a number and 4 is 15 . Find the number .", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(4.0*x+3.0, 15.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[3.0]" - ], - "split": "train" - }, - { - "Input": "The sum of two numbers is 76 . The second is 8 more than 3 times the first . What are the two numbers ?", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x+y, 76.0),Eq(y, 3.0*x+8.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[17.0, 59.0]" - ], - "split": "train" - }, - { - "Input": "three consecutive even integers whose sum is 264 . what is the second number ?", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(2.0*k+2.0+2.0*k+4.0+2.0*k+6.0, 264.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[42.0]" - ], - "split": "train" - }, - { - "Input": "Separate 89 into two parts so that the second part is 4 less than twice the first part ?", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x+y, 89.0),Eq(y+4.0, 2.0*x)])\nprint(answer)\n" - ], - "Output Answer": [ - "[31.0, 58.0]" - ], - "split": "train" - }, - { - "Input": "If .4 % of a quantity is 2.4 , find the total quantity .", - "Output Program": [ - "from sympy import *\nq = symbols('q')\nanswer = solve([Eq(0.4*0.01*q, 2.4)])\nprint(answer)\n" - ], - "Output Answer": [ - "[600.0]" - ], - "split": "train" - }, - { - "Input": "One number is twice as large as a second number . If the sum of the two numbers is 114 , what are the two numbers ?", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(y, 2.0*x),Eq(x+y, 114.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[38.0, 76.0]" - ], - "split": "train" - }, - { - "Input": "the sum of five consecutive integers is 0 . find the integers ?", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(x-2.0+x-1.0+x+x+1.0+x+2.0, 0.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[0.0]" - ], - "split": "train" - }, - { - "Input": "the larger of two consecutive integers is 7 greater than twice the smaller . find the integers . make and solve an equation", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(x+1.0, 2.0*x+7.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[-6.0]" - ], - "split": "train" - }, - { - "Input": "The sum of three consecutive odd integers is -273 . What are the integers ?", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-1.0)+(2.0*k+1.0)+(2.0*k+3.0), -273.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[-46.0]" - ], - "split": "train" - }, - { - "Input": "Find the three consecutive odd integers such that the sum of the first and third equals the sum of the second and 31", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-1.0)+(2.0*k+3.0), (2.0*k+1.0)+31.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[15.0]" - ], - "split": "train" - }, - { - "Input": "4 times a number and 5 times the same number added to 75 gives 156 . Find the number ?", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(4.0*x+5.0*x+75.0, 156.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[9.0]" - ], - "split": "train" - }, - { - "Input": "find four consecutive odd integers whose sum is 8 using an equation", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-3.0)+(2.0*k-1.0)+(2.0*k+1.0)+(2.0*k+3.0), 8.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[1.0]" - ], - "split": "train" - }, - { - "Input": "what number increased by 30 % equals 490 ?", - "Output Program": [ - "from sympy import *\nn = symbols('n')\nanswer = solve([Eq((1.0+30.0*0.01)*n, 490.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[376.923076923]" - ], - "split": "train" - }, - { - "Input": "Three consecutive even integers are such that the difference of the smallest integer and twice the largest integer is 10 . Find the three integers .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(2.0*2.0*k+2.0 *2.0-2.0*k+2.0, 10.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[2.0]" - ], - "split": "train" - }, - { - "Input": "The sum of 2 integers is 36 . The difference of the same 2 numbers is 4 . Find the integers .", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x+y, 36.0),Eq(y-x, 4.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[16.0, 20.0]" - ], - "split": "train" - }, - { - "Input": "Find three consecutive even integers such that the sum of three times the first , and twice the third is twenty less than six times the second .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(3.0*2.0*k+2.0*(2.0*k+4.0), 6.0*(2.0*k+2.0)-20.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[8.0]" - ], - "split": "train" - }, - { - "Input": "The difference when 7 less than a number is subtracted from twice the number is 12 . What is the number", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(2.0*x-x+7.0, 12.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[5.0]" - ], - "split": "train" - }, - { - "Input": "Two numbers have a difference of 10 and the sum of 34 . What are the numbers ?", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x-y, 10.0),Eq(x+y, 34.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[22.0, 12.0]" - ], - "split": "train" - }, - { - "Input": "The sum of two consecutive integers is 237 . Find the two integers .", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(x+(x+1.0), 237.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[118.0]" - ], - "split": "train" - }, - { - "Input": "the sum of four times a number and three is the same as the difference of twice the number and eleven . Find the number .", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(4.0*x+3.0, 2.0*x-11.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[-7.0]" - ], - "split": "train" - }, - { - "Input": "If every number between 1 and 365 were added together , what would the total be ?", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(2 * x , 365.0 * 365.0 - 1.0 * 1.0 + 1.0 + 365.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[66795.0]" - ], - "split": "train" - }, - { - "Input": "what is the least of three consecutive integers whose sum is 18", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq((x-1.0)+x+(x+1.0), 18.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[6.0]" - ], - "split": "train" - }, - { - "Input": "The sum of two numbers is 112 . The greater of the two is 32 less than 11 times the lesser number . Find the numbers ?", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x+y, 112.0),Eq(11.0*x-y, 32.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[12.0, 100.0]" - ], - "split": "train" - }, - { - "Input": "find 2 consecutive even integers such that eleven more than half the second integer results in the first integer .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k+2.0)*0.5+11.0, 2.0*k)])\nprint(answer)\n" - ], - "Output Answer": [ - "[12.0]" - ], - "split": "train" - }, - { - "Input": "What is the sum of the arithmetic sequence 174 , 168 , 162 , if there are 37 terms ?", - "Output Program": [ - "from sympy import *\nd,b,s = symbols('d b s')\nanswer = solve([Eq(d, 168.0-174.0),Eq(b, 174.0+(37.0-1.0)*d),Eq(s, 174.0*37.0*0.5 + 37.0*0.5 *b)])\nprint(answer)\n" - ], - "Output Answer": [ - "[2442.0, -42.0, -6.0]" - ], - "split": "train" - }, - { - "Input": "3 consecutive odd numbers add up to 33 . Which is the highest ?", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(2.0*k-1.0+2.0*k+1.0+2.0*k+3.0, 33.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[5.0]" - ], - "split": "train" - }, - { - "Input": "The sum of 5 consecutive integers is 1,000 . What is the value of the greatest of these integers ?", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq((x-2.0)+(x-1.0)+x+(x+1.0)+(x+2.0), 1000.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[200.0]" - ], - "split": "train" - }, - { - "Input": "One positive number is 5 times another number . The difference between the two numbers is 124 , find the numbers .", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x, 5.0*y),Eq(x-y, 124.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[155.0, 31.0]" - ], - "split": "train" - }, - { - "Input": "The sum of two numbers is 1457 . Four times the first number minus twice the second number is 8 . Find the larger number .", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x+y, 1457.0),Eq(4.0*x-2.0*y, 8.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[487.0, 970.0]" - ], - "split": "train" - }, - { - "Input": "What number , when added to the number three or multiplied to the three , gives the same result ?", - "Output Program": [ - "from sympy import *\nn = symbols('n')\nanswer = solve([Eq(n+3.0, 3.0*n)])\nprint(answer)\n" - ], - "Output Answer": [ - "[1.5]" - ], - "split": "train" - }, - { - "Input": "The sum of two numbers is 28 . Their difference is 4 . What are the two numbers ?", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x+y, 28.0),Eq(x-y, 4.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[16.0, 12.0]" - ], - "split": "train" - }, - { - "Input": "The sum of 3 consecutive odd numbers is 39 . what are the numbers ?", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-1.0)+(2.0*k+1.0)+(2.0*k+3.0), 39.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[6.0]" - ], - "split": "train" - }, - { - "Input": "if the sum of two consecutive odd integer is 76 find the number", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-1.0)+(2.0*k+1.0), 76.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[19.0]" - ], - "split": "train" - }, - { - "Input": "The larger of two numbers is 7 less than 4 times the smaller . Find the numbers given that their sum is 28 .", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x, 4.0*y-7.0),Eq(x+y, 28.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[21.0, 7.0]" - ], - "split": "train" - }, - { - "Input": "Six more than a number is 3 times the number . What is the number ?", - "Output Program": [ - "from sympy import *\nn = symbols('n')\nanswer = solve([Eq(n+6.0, 3.0*n)])\nprint(answer)\n" - ], - "Output Answer": [ - "[3.0]" - ], - "split": "train" - }, - { - "Input": "The sum of three numbers is 134 . The second number is 9 less than 3 times the first number . The third number is 5 more than 2 times the first number . Find the three numbers", - "Output Program": [ - "from sympy import *\nx,y,z = symbols('x y z')\nanswer = solve([Eq(x+y+z, 134.0),Eq(y+9.0, 3.0*x),Eq(z, 5.0+2.0*x)])\nprint(answer)\n" - ], - "Output Answer": [ - "[23.0, 51.0, 60.0]" - ], - "split": "train" - }, - { - "Input": "find four consecutive odd integers whose sum is 144", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-3.0)+(2.0*k-1.0)+(2.0*k+1.0)+(2.0*k+3.0), 144.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[18.0]" - ], - "split": "train" - }, - { - "Input": "Twice the smallest of three consecutive odd integers is three more than the largest . Find the integers .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(2.0*(2.0*k-1.0), (2.0*k+3.0)+3.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[4.0]" - ], - "split": "train" - }, - { - "Input": "FIND FOUR CONSECUTIVE EVEN INTEGERS SO THAT THE sum OF THE FIRST THREE IS TO MORE THAN THAT twice THE FOURTH", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-2.0)+2.0*k+(2.0*k+2.0), 2.0*(2.0*k+4.0))])\nprint(answer)\n" - ], - "Output Answer": [ - "[4.0]" - ], - "split": "train" - }, - { - "Input": "find three consecutive odd integers such that three times the middle integer is seven more than the sum of the first and third integer .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(3.0*(2.0*k+1.0), (2.0*k-1.0)+(2.0*k+3.0)+7.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[3.0]" - ], - "split": "train" - }, - { - "Input": "find the 3 consecutive integers such that one half of their sum is 90 .", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq((x+x+1.0+x+2.0)*0.5, 90.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[59.0]" - ], - "split": "train" - }, - { - "Input": "Find 3 consecutive even integers whose sum is 186", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-2.0)+(2.0*k)+(2.0*k+2.0), 186.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[31.0]" - ], - "split": "train" - }, - { - "Input": "The difference between two numbers is 24 . Find the numbers if their sum is 88 .", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x-y, 24.0),Eq(x+y, 88.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[56.0, 32.0]" - ], - "split": "train" - }, - { - "Input": "A+B = 22 and A - B = 4 , so what is the value of A and B ?", - "Output Program": [ - "from sympy import *\na,b = symbols('a b')\nanswer = solve([Eq(a+b, 22.0),Eq(a-b, 4.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[9.0, 13.0]" - ], - "split": "train" - }, - { - "Input": "Find 3 consecutive even integers such that three times the second equals 4 more than the sum of the first and the third", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(3.0*(2.0*k), (2.0*k-2.0)+(2.0*k+2.0)+4.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[2.0]" - ], - "split": "train" - }, - { - "Input": "what are four consecutive integers whose sum is 234 ?", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq((x-1.0)+x+(x+1.0)+(x+2.0), 234.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[58.0]" - ], - "split": "train" - }, - { - "Input": "Find two consecutive integers whose sum is 35", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(x+(x+1.0), 35.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[17.0]" - ], - "split": "train" - }, - { - "Input": "find three consecutive integers . The largest integer added to twelve equals twice the smaller integer", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(x+2.0+12.0, 2.0*x)])\nprint(answer)\n" - ], - "Output Answer": [ - "[14.0]" - ], - "split": "train" - }, - { - "Input": "four less than twice a number x is equal to ten", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(2.0*x-4.0, 10.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[7.0]" - ], - "split": "train" - }, - { - "Input": "Five times a number subtracted from 3 times the number equals 20 . Find the number .", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(3.0*x-5.0*x, 20.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[-10.0]" - ], - "split": "train" - }, - { - "Input": "find the larger of two consecutive integers if the second is 13 less than twice the smaller", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq((x+1.0)+13.0, 2.0*x)])\nprint(answer)\n" - ], - "Output Answer": [ - "[14.0]" - ], - "split": "train" - }, - { - "Input": "The difference between two positive integers is 42 . One integer is three times as great as the other . Find the integers .", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x-y, 42.0),Eq(x, 3.0*y)])\nprint(answer)\n" - ], - "Output Answer": [ - "[63.0, 21.0]" - ], - "split": "train" - }, - { - "Input": "The sum of two numbers is 621 , and their difference is 109 . Find the two numbers", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x+y, 621.0),Eq(x-y, 109.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[365.0, 256.0]" - ], - "split": "train" - }, - { - "Input": "Find the larger of two consecutive integers if the larger is 149 less than twice the smaller .", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(x+1.0, 2.0*x-149.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[150.0]" - ], - "split": "train" - }, - { - "Input": "find two consecutive numbers whose sum is 71", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(x+(x+1.0), 71.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[35.0]" - ], - "split": "train" - }, - { - "Input": "Find 3 consecutive numbers such that twice the smallest is 23 more than the largest .", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(2.0*(x-1.0), (x+1.0)+23.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[26.0]" - ], - "split": "train" - }, - { - "Input": "The greater of two consecutive odd integers is eight more than three times the smaller . Find the two odd integers .", - "Output Program": [ - "from sympy import *\nn = symbols('n')\nanswer = solve([Eq(2.0*n+1.0, 8.0+3.0*(2.0*n-1.0))])\nprint(answer)\n" - ], - "Output Answer": [ - "[-1.0]" - ], - "split": "train" - }, - { - "Input": "The sum of two numbers is 62 . Two times the lesser number is 4 more than the greater number . What are the numbers ?", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x+y, 62.0),Eq(2.0*y, 4.0+x)])\nprint(answer)\n" - ], - "Output Answer": [ - "[40.0, 22.0]" - ], - "split": "train" - }, - { - "Input": "find four consecutive even integers where the sum of the first three is twice the fourth", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-2.0)+2.0*k+(2.0*k+2.0), 2.0*(2.0*k+4.0))])\nprint(answer)\n" - ], - "Output Answer": [ - "[4.0]" - ], - "split": "train" - }, - { - "Input": "Find Three consecutive odd integers such that the sum of the last two is 85 more than the first .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k+1.0)+(2.0*k+3.0), (2.0*k-1.0)+85.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[40.0]" - ], - "split": "train" - }, - { - "Input": "When the smaller of two consecutive integers is added to three times the larger , the result is 39 . Find the integers .", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(x+3.0*(x+1.0), 39.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[9.0]" - ], - "split": "train" - }, - { - "Input": "Three times a larger number added to 4 times a smaller number totals 24 . When twice the smaller number is subtracted from twice the larger number , the result is 2 . What are the two numbers ?", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(3.0*x+4.0*y, 24.0),Eq(2.0*x-2.0*y, 2.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[4.0, 3.0]" - ], - "split": "train" - }, - { - "Input": "the greater of two consecutive odd integers is 7 greater than twice the lesser . Find the integers .", - "Output Program": [ - "from sympy import *\nn = symbols('n')\nanswer = solve([Eq(n+2.0, 2.0*n+7.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[-5.0]" - ], - "split": "train" - }, - { - "Input": "The sum of two numbers is 48 , and their difference is 24 . What are the numbers ?", - "Output Program": [ - "from sympy import *\nn,m = symbols('n m')\nanswer = solve([Eq(m+n, 48.0),Eq(m-n, 24.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[12.0, 36.0]" - ], - "split": "train" - }, - { - "Input": "the sum of 3 consecutives odd integers is 40 more than the smallest . What are the integers ?", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(2.0*k+1.0+2.0*k+3.0+2.0*k+5.0, 2.0*k+1.0+40.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[8.0]" - ], - "split": "train" - }, - { - "Input": "3 times the first of three consecutive numbers is 4 more than 2 times the second . Find the numbers .", - "Output Program": [ - "from sympy import *\nx,y,z = symbols('x y z')\nanswer = solve([Eq(x+1.0, y),Eq(y+1.0, z),Eq(3.0*x, 2.0*y+4.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[6.0, 8.0, 7.0]" - ], - "split": "train" - }, - { - "Input": "One number is 17 more than another . If the greater number is increased by 3 , the result is 5 times the smaller . What are the numbers ?", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x, y+17.0),Eq(x+3.0, 5.0*y)])\nprint(answer)\n" - ], - "Output Answer": [ - "[22.0, 5.0]" - ], - "split": "train" - }, - { - "Input": "If a number is doubled and the result decreased by 35 , the result is 25 . What is the Number ?", - "Output Program": [ - "from sympy import *\nn = symbols('n')\nanswer = solve([Eq(2.0*n-35.0, 25.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[30.0]" - ], - "split": "train" - }, - { - "Input": "the sum of a number and three times that number is 720 . what is the number", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(x+3.0*x, 720.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[180.0]" - ], - "split": "train" - }, - { - "Input": "56 is 75 % of what number ?", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(56.0, 75.0*0.01*x)])\nprint(answer)\n" - ], - "Output Answer": [ - "[74.6666666667]" - ], - "split": "train" - }, - { - "Input": "The sum of two numbers is 18 and their difference is 4 . What are the two numbers ?", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x+y, 18.0),Eq(x-y, 4.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[11.0, 7.0]" - ], - "split": "train" - }, - { - "Input": "find three consecutive odd integers such that if six times the first is subtracted from the sum of twice the second plus five times the third , the result is 53", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(2.0*(2.0*k+1.0)+5.0*(2.0*k+3.0)-6.0*(2.0*k-1.0), 53.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[15.0]" - ], - "split": "train" - }, - { - "Input": "one number is 0.9 of another number . there sum is 0.038 . find each number .", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(0.9*x, y),Eq(x+y, 0.038)])\nprint(answer)\n" - ], - "Output Answer": [ - "[0.02, 0.018]" - ], - "split": "train" - }, - { - "Input": "The sum of two numbers is 13 . The larger number is 1 more than 3 times the smaller number . What are the numbers ?", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x+y, 13.0),Eq(x, 1.0+3.0*y)])\nprint(answer)\n" - ], - "Output Answer": [ - "[10.0, 3.0]" - ], - "split": "train" - }, - { - "Input": "if the first and third of three consecutive odd integers are added , the result is 63 less than five times the second integer . Find the third integer .", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq((2.0*x-1.0)+(2.0*x+3.0)+63.0, 5.0*(2.0*x+1.0))])\nprint(answer)\n" - ], - "Output Answer": [ - "[10.0]" - ], - "split": "train" - }, - { - "Input": "four times the smallest of three consecutive odd integers is 236 more than the sum of the other two integers . Find the integers .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(4.0*(2.0*k-1.0), (2.0*k+1.0)+(2.0*k+3.0)+236.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[61.0]" - ], - "split": "train" - }, - { - "Input": "Four times the smaller of two consecutive odd integers is the same as 73 less than 5 times the larger . Find the integers .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(4.0*(2.0*k-1.0), 5.0*(2.0*k+1.0)-73.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[32.0]" - ], - "split": "train" - }, - { - "Input": "the sum of the two digit number is 7 , when you reversed the number it was increased by 27 . what is the original number ?", - "Output Program": [ - "from sympy import *\na,n,b = symbols('a n b')\nanswer = solve([Eq(n, 10.0*a+b),Eq(a+b, 7.0),Eq(10.0*b+a, 27.0+n)])\nprint(answer)\n" - ], - "Output Answer": [ - "[25.0, 5.0, 2.0]" - ], - "split": "train" - }, - { - "Input": "The second of three numbers is 8 more than the first and the third number is 3 less than 3 times the first . If the third number is 15 more than the second , find the three numbers .", - "Output Program": [ - "from sympy import *\nx,y,z = symbols('x y z')\nanswer = solve([Eq(y, 8.0+x),Eq(z+3.0, 3.0*x),Eq(z-15.0, y)])\nprint(answer)\n" - ], - "Output Answer": [ - "[13.0, 36.0, 21.0]" - ], - "split": "train" - }, - { - "Input": "Two numbers have a sum of 22 . Their difference is 4 . what are the two numbers ?", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x+y, 22.0),Eq(x-y, 4.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[13.0, 9.0]" - ], - "split": "train" - }, - { - "Input": "Eighty , decreased by three times a number , is the same as five times the number , increased by eight . Find the number .", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(80.0-3.0*x, 5.0*x+8.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[9.0]" - ], - "split": "train" - }, - { - "Input": "30 is 75 % of what number ?", - "Output Program": [ - "from sympy import *\nn = symbols('n')\nanswer = solve([Eq(30.0, 75.0*0.01*n)])\nprint(answer)\n" - ], - "Output Answer": [ - "[40.0]" - ], - "split": "train" - }, - { - "Input": "3 consecutive even integers are given by x , x +2 , and x +4 . Find these three numbers such that the sum of the first , two times the second , and three times the third is 124 .", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(x+2.0*(x+2.0)+3.0*(x+4.0), 124.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[18.0]" - ], - "split": "train" - }, - { - "Input": "76 is 80 % of what number ?", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(76.0, 0.01*80*x)])\nprint(answer)\n" - ], - "Output Answer": [ - "[95.0]" - ], - "split": "train" - }, - { - "Input": "find three consecutive integers whose sum is 336", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq((x-1.0)+x+(x+1.0), 336.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[112.0]" - ], - "split": "train" - }, - { - "Input": "The sum of four consecutive integers is 54 . What is the LARGEST of these integers ?", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq((x-1.0)+x+(x+1.0)+(x+2.0), 54.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[13.0]" - ], - "split": "train" - }, - { - "Input": "Nine less than the quotient of a number and 3 is 18 . Find the number .", - "Output Program": [ - "from sympy import *\nn = symbols('n')\nanswer = solve([Eq(n , 3.0 * 18.0 + 3.0 * 9.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[81.0]" - ], - "split": "train" - }, - { - "Input": "find 2 consecutive integers where twice the smaller increased by 26 is equal to three times the larger .", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(2.0*x+26.0, 3.0*(x+1.0))])\nprint(answer)\n" - ], - "Output Answer": [ - "[23.0]" - ], - "split": "train" - }, - { - "Input": "Five times a number subtracted from seven times the number is a result of 18 ?", - "Output Program": [ - "from sympy import *\nn = symbols('n')\nanswer = solve([Eq(7.0*n-5.0*n, 18.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[9.0]" - ], - "split": "train" - }, - { - "Input": "Find three consecutive even integers whose sum is 192 .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-2.0)+(2.0*k)+(2.0*k+2.0), 192.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[32.0]" - ], - "split": "train" - }, - { - "Input": "The sum of three consecutive odd integers is 27 . What is the middle integer ?", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-1.0)+(2.0*k+1.0)+(2.0*k+3.0), 27.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[4.0]" - ], - "split": "train" - }, - { - "Input": "one number exceeds another by 5 , and their sum is 29 ; find them .", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(y-x, 5.0),Eq(x+y, 29.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[12.0, 17.0]" - ], - "split": "train" - }, - { - "Input": "Find two consecutive integers such that twice the smaller is 16 more than the larger", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(2.0*x, (x+1.0)+16.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[17.0]" - ], - "split": "train" - }, - { - "Input": "find two numbers such that five times the larger plus three times the smaller is 47 and four times the larger minus twice the smaller is 20 .", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(5.0*y+3.0*x, 47.0),Eq(4.0*y-2.0*x, 20.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[4.0, 7.0]" - ], - "split": "train" - }, - { - "Input": "Find three consecutive integers who 's sum is 171", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq((x-1.0)+x+(x+1.0), 171.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[57.0]" - ], - "split": "train" - }, - { - "Input": "find three consecutive odd integers whose sum is 75", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(2.0*k-1.0+(2.0*k+1.0)+(2.0*k+3.0), 75.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[12.0]" - ], - "split": "train" - }, - { - "Input": "the smaller of two consecutive even integer is five more than one half of the greater .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(2.0*k, (2.0*k+2.0)*0.5+5.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[6.0]" - ], - "split": "train" - }, - { - "Input": "One number is three less than another . Their sum is eleven . Find the numbers .", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x, y-3.0),Eq(x+y, 11.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[4.0, 7.0]" - ], - "split": "train" - }, - { - "Input": "Find three consecutive integers such that the sum of the least integer and the middle integer is 46 more than the greatest integer .", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(x+(x+1.0), (x+2.0)+46.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[47.0]" - ], - "split": "train" - }, - { - "Input": "Twice the difference of a number and 6 is equal to three times the sum of the number and 4 . Find the number .", - "Output Program": [ - "from sympy import *\nn = symbols('n')\nanswer = solve([Eq(2.0*(n-6.0), 3.0*(n+4.0))])\nprint(answer)\n" - ], - "Output Answer": [ - "[-24.0]" - ], - "split": "train" - }, - { - "Input": "Four times the greater of two consecutive integers is 1 more than five times the lesser number . Find the integers .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(4.0*(k+1.0), 1.0+5.0*k)])\nprint(answer)\n" - ], - "Output Answer": [ - "[3.0]" - ], - "split": "train" - }, - { - "Input": "the second of three numbers is 8 more than the first , and the third number is 3 less than 3 times the first . if the third number is 15 more than the second , find the three numbers .", - "Output Program": [ - "from sympy import *\nx,y,z = symbols('x y z')\nanswer = solve([Eq(y, 8.0+x),Eq(z, 3.0*x-3.0),Eq(z, 15.0+y)])\nprint(answer)\n" - ], - "Output Answer": [ - "[13.0, 36.0, 21.0]" - ], - "split": "train" - }, - { - "Input": "when twice a number is decreased by 8 , the result is the number increased by 7 . find the number ?", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(2.0*x-8.0, x+7.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[15.0]" - ], - "split": "train" - }, - { - "Input": "Find two consecutive odd integers whose sum is 28", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-1.0)+(2.0*k+1.0), 28.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[7.0]" - ], - "split": "train" - }, - { - "Input": "find the ratio of 28 days to 4 weeks .", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(x* 4.0, 28.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[7.0]" - ], - "split": "train" - }, - { - "Input": "find three consecutive even integers so that the sum of the smallest integer and twice the second integer is 20 more than the third", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-2.0)+2.0*(2.0*k), (2.0*k+2.0)+20.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[6.0]" - ], - "split": "train" - }, - { - "Input": "The difference between two numbers is 18 . Twice the smaller number plus three times the larger is 74 . What are the numbers ?", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x-y, 18.0),Eq(2.0*y+3.0*x, 74.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[22.0, 4.0]" - ], - "split": "train" - }, - { - "Input": "The sum of two consecutive odd integers is -72 . What is the larger integer ?", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-1.0)+(2.0*k+1.0), -72.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[-18.0]" - ], - "split": "train" - }, - { - "Input": "find two consecutive odd integers such that five times the first integer is 25 less than twice the greater integer", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(5.0*(2.0*k-1.0), 2.0*(2.0*k+1.0)-25.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[-3.0]" - ], - "split": "train" - }, - { - "Input": "find 2 numbers with the mean of 14 and a difference of 4", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq((x+y)*0.5, 14.0),Eq((x-y), 4.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[16.0, 12.0]" - ], - "split": "train" - }, - { - "Input": "what are two consecutive numbers whose sum is 23", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(x+(x+1.0), 23.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[11.0]" - ], - "split": "train" - }, - { - "Input": "Find three consecutive integers such that the sum of the first and last is 44", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq((x-1.0)+(x+1.0), 44.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[22.0]" - ], - "split": "train" - }, - { - "Input": "Find three consecutive odd integers suck that the sum of the greatest and twice the least is 25 .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k+3.0)+2.0*(2.0*k-1.0), 25.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[4.0]" - ], - "split": "train" - }, - { - "Input": "find three positive consecutive odd integers such that the largest decreased by three times the second is 47 less than the smallest", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(2.0*k+3.0-3.0*2.0*k-3.0, 2.0*k-1.0-47.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[8.0]" - ], - "split": "train" - }, - { - "Input": "the greater of two consecutive integers is 20 more than twice the smaller . find the integers", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(x+1.0, 2.0*x+20.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[-19.0]" - ], - "split": "train" - }, - { - "Input": "find two consecutive odd integers such that 4 times the larger is 29 more than three times the smaller", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(4.0*(2.0*x+1.0)-29.0, 3.0*(2.0*x-1.0))])\nprint(answer)\n" - ], - "Output Answer": [ - "[11.0]" - ], - "split": "train" - }, - { - "Input": "twice the larger of two numbers is three more than five times the smaller and the sum of four times the larger and three times the smaller is 71 . What are the numbers ?", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(2.0*x, 5.0*y+3.0),Eq(4.0*x+3.0*y, 71.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[14.0, 5.0]" - ], - "split": "train" - }, - { - "Input": "find a number whose product with 6 is the same as its sum with 45 .", - "Output Program": [ - "from sympy import *\nn = symbols('n')\nanswer = solve([Eq(6.0*n, 45.0+n)])\nprint(answer)\n" - ], - "Output Answer": [ - "[9.0]" - ], - "split": "train" - }, - { - "Input": "The sum of three consecutive integers is 144 . find the integers .", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq((x-1.0)+x+(x+1.0), 144.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[48.0]" - ], - "split": "train" - }, - { - "Input": "The sum of three consecutive odd numbers is 153 . Which is the LARGEST number ?", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(2.0*k+1.0+2.0*k+3.0+2.0*k+5.0, 153.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[24.0]" - ], - "split": "train" - }, - { - "Input": "two consecutive integers whose sum is 75 .", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(x+x+1.0, 75.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[37.0]" - ], - "split": "train" - }, - { - "Input": "If x is an odd number and the sum of x and two consecutive odd numbers after x is 57 , find the value of x.", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-1.0)+(2.0*k+1.0)+(2.0*k+3.0), 57.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[9.0]" - ], - "split": "train" - }, - { - "Input": "five times the sum of a number and nine is thirty nine", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(5.0*(x+9.0), 39.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[-1.2]" - ], - "split": "train" - }, - { - "Input": "find the two consecutive odd integers such that twice the smaller decreased by the larger equals 53", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(2.0*(2.0*k+1.0), 53.0+(2.0*k+3.0))])\nprint(answer)\n" - ], - "Output Answer": [ - "[27.0]" - ], - "split": "train" - }, - { - "Input": "the larger of two consecutive even integers is 2 more than twice the smaller . find the numbers .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(2.0*k+2.0, 2.0+2.0*(2.0*k))])\nprint(answer)\n" - ], - "Output Answer": [ - "[0.0]" - ], - "split": "train" - }, - { - "Input": "Find 3 consecutive odd integers such that the sum of adds to 15", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-1.0)+(2.0*k+1.0)+(2.0*k+3.0), 15.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[2.0]" - ], - "split": "dev" - }, - { - "Input": "a number exceeds another number by 5 . the sum of the numbers is 19 . find the numbers", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x, y+5.0),Eq(x+y, 19.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[12.0, 7.0]" - ], - "split": "dev" - }, - { - "Input": "if 4 less than 3 times a certain number is 2 more than the number , what is the number", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(3.0*x-4.0, 2.0+x)])\nprint(answer)\n" - ], - "Output Answer": [ - "[3.0]" - ], - "split": "dev" - }, - { - "Input": "Find three consecutive integers such that the sum of the first and third is 84", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq((x-1.0)+(x+1.0), 84.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[42.0]" - ], - "split": "dev" - }, - { - "Input": "if one third of a number is 6 less than half of the number , what is the number ?", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(0.333333333333*x, 0.5*x-6.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[36.0]" - ], - "split": "dev" - }, - { - "Input": "12 is 0.75 of what number ?", - "Output Program": [ - "from sympy import *\nn = symbols('n')\nanswer = solve([Eq(12.0, 0.75*n)])\nprint(answer)\n" - ], - "Output Answer": [ - "[16.0]" - ], - "split": "dev" - }, - { - "Input": "Find two consecutive odd integers whose sum is 56 .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-1.0)+(2.0*k+1.0), 56.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[14.0]" - ], - "split": "dev" - }, - { - "Input": "Find three consecutive odd integers such that the sum of the least integer and the greatest integer is 13 more than the middle integer .", - "Output Program": [ - "from sympy import *\nm = symbols('m')\nanswer = solve([Eq(m-2.0+m+2.0, m+13.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[13.0]" - ], - "split": "dev" - }, - { - "Input": "when the smaller of two consecutive integers is added to three times the larger , the result is 43 . Find the two integers .", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(x+3.0*(x+1.0), 43.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[10.0]" - ], - "split": "dev" - }, - { - "Input": "The sum of two times one number and three times another is 29 . The difference between twice the first and the second is 1 . Solve algebraically to find the numbers .", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(2.0*x+3.0*y, 29.0),Eq(2.0*x-y, 1.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[4.0, 7.0]" - ], - "split": "dev" - }, - { - "Input": "One positive number is 5 times another number . The difference between the two numbers is 1524 , find the numbers .", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(y, 5.0*x),Eq(y-x, 1524.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[381.0, 1905.0]" - ], - "split": "dev" - }, - { - "Input": "Find three consecutive integers such that the sum of the twice the first , six times the second and three times the third is 133 .", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(2.0*(x-1.0)+6.0*x+3.0*(x+1.0), 133.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[12.0]" - ], - "split": "dev" - }, - { - "Input": "How do I find 2 consecutive even integers whose sum is 26 ?", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(2.0*k+(2.0*k+2.0), 26.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[6.0]" - ], - "split": "dev" - }, - { - "Input": "four times a number is 36 greater than the product of the number and -2 . What is the number ?", - "Output Program": [ - "from sympy import *\nn = symbols('n')\nanswer = solve([Eq(4.0*n, 36.0+(-2.0)*n)])\nprint(answer)\n" - ], - "Output Answer": [ - "[6.0]" - ], - "split": "dev" - }, - { - "Input": "I have the number 640 and the number 80 . I need to figure out what percentage 80 is of 640 .", - "Output Program": [ - "from sympy import *\np = symbols('p')\nanswer = solve([Eq(p*0.01*640.0, 80.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[12.5]" - ], - "split": "dev" - }, - { - "Input": "what are four consecutive even integers whose sum is 188", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(2.0*k+2.0*k+2.0+2.0*k+4.0+2.0*k+6.0, 188.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[22.0]" - ], - "split": "dev" - }, - { - "Input": "A number subtracted from 17 gives the quotient of 48 and -8 . Find the number .", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(-8 * 17.0 - 48.0 , x * (-8))])\nprint(answer)\n" - ], - "Output Answer": [ - "[23.0]" - ], - "split": "dev" - }, - { - "Input": "One number is 9 times another . Their sum is 100 . Find the numbers .", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x, 9.0*y),Eq(x+y, 100.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[90.0, 10.0]" - ], - "split": "dev" - }, - { - "Input": "find three consecutive integers whose sum is 96", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq((x-1.0)+x+(x+1.0), 96.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[32.0]" - ], - "split": "dev" - }, - { - "Input": "for two consecutive even integers , the sum of the smaller and twice the larger is 58", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(2.0*k+2.0*(2.0*k+2.0), 58.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[9.0]" - ], - "split": "dev" - }, - { - "Input": "Find three consecutive numbers whose sum is 72 .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((k-1.0)+k+(k+1.0), 72.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[24.0]" - ], - "split": "dev" - }, - { - "Input": "The sum of three consecutive integers is 468 . find the numbers .", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(x+(x+1.0)+(x+2.0), 468.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[155.0]" - ], - "split": "dev" - }, - { - "Input": "Find three consecutive integers whose sum is 249", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq((x-1.0)+x+(x+1.0), 249.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[83.0]" - ], - "split": "dev" - }, - { - "Input": "The sum of which three consecutive integers is 42", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq((x-1.0)+x+(x+1.0), 42.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[14.0]" - ], - "split": "dev" - }, - { - "Input": "The quotient of a number and -7 , decreased by 2 , is 10 . Find the number .", - "Output Program": [ - "from sympy import *\nn = symbols('n')\nanswer = solve([Eq(n , (-7.0) * 10.0 + (-7.0) * 2.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[-84.0]" - ], - "split": "dev" - }, - { - "Input": "when a number is divided by 4 and has 12 subtracted from it , the result is 0.16666666 of the number . what is the number ?", - "Output Program": [ - "from sympy import *\nn = symbols('n')\nanswer = solve([Eq(n, n*0.16666666*4+ 12.0*4)])\nprint(answer)\n" - ], - "Output Answer": [ - "[143.99998848]" - ], - "split": "dev" - }, - { - "Input": "The sum of the least and greatest of three consecutive integers is equal to 35 plus the middle integer , what are the integers ?", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq((x-1.0)+(x+1.0), x+35.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[35.0]" - ], - "split": "dev" - }, - { - "Input": "the sum of two consecutive integers is -277 . what is the larger integer", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(x+(x+1.0), -277.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[-139.0]" - ], - "split": "dev" - }, - { - "Input": "One number is 8 times another ; their difference is 28 . What are the numbers", - "Output Program": [ - "from sympy import *\nn,m = symbols('n m')\nanswer = solve([Eq(m, 8.0*n),Eq(m-n, 28.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[4.0, 32.0]" - ], - "split": "dev" - }, - { - "Input": "fIND tHREE CONSECUTIVE EVEN INTEGERS SUCH THAT THE SUM OF THE FIRST AND THIRD IS 90 MORE THAN THE SECOND", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-2.0)+(2.0*k+2.0), 2.0*k+90.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[45.0]" - ], - "split": "dev" - }, - { - "Input": "if 6 times a number is added to 8 , the result is 56 . What is the number", - "Output Program": [ - "from sympy import *\nn = symbols('n')\nanswer = solve([Eq(8.0+6.0*n, 56.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[8.0]" - ], - "split": "dev" - }, - { - "Input": "what are the three consecutive integers whose sum is 114 .", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq((x-1.0)+x+(x+1.0), 114.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[38.0]" - ], - "split": "dev" - }, - { - "Input": "find the value of y in the following to make it an arithmetic sequencey +8 , 4y +6 , 3y", - "Output Program": [ - "from sympy import *\ny = symbols('y')\nanswer = solve([Eq(3.0*y-4.0*y-6.0, 4.0*y+6.0-y-8.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[-1.0]" - ], - "split": "dev" - }, - { - "Input": "Find 3 consecutive integers whose sum is 804", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(x+x+1.0+x+2.0, 804.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[267.0]" - ], - "split": "dev" - }, - { - "Input": "Find three consecutive even integers such that twice the sum of the second and the third exceeds three times the first by 34 .", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(2.0*(2.0*x+2.0+2.0*x+4.0)-34.0, 3.0*2.0*x)])\nprint(answer)\n" - ], - "Output Answer": [ - "[11.0]" - ], - "split": "dev" - }, - { - "Input": "Three times the sum of a number and five gives a result of 21 . Find the number ?", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(3.0*(x+5.0), 21.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[2.0]" - ], - "split": "dev" - }, - { - "Input": "The largest of 2 integers is one more than three times the smaller . If the sum of the two integers is 37 , find the larger integer .", - "Output Program": [ - "from sympy import *\nn,m = symbols('n m')\nanswer = solve([Eq(m, 1.0+3.0*n),Eq(m+n, 37.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[9.0, 28.0]" - ], - "split": "dev" - }, - { - "Input": "The sum of two integers is twenty . Five times the smaller integer is two more than twice the larger integer . Find the two integers .", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x+y, 20.0),Eq(5.0*x-2.0, 2.0*y)])\nprint(answer)\n" - ], - "Output Answer": [ - "[6.0, 14.0]" - ], - "split": "dev" - }, - { - "Input": "find three consecutive odd integers such that three times the middle integer is one more than the sum of the first and the third", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(3.0*(2.0*k+1.0), (2.0*k-1.0)+(2.0*k+3.0)+1.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[0.0]" - ], - "split": "dev" - }, - { - "Input": "sum of three consecutive even numbers is 186 what are the numbers", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-2.0)+2.0*k+(2.0*k+2.0), 186.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[31.0]" - ], - "split": "dev" - }, - { - "Input": "THE SUM OF 3 CONSECUTIVE ODD NUMBERS IS 249 . FIND THE INTEGERS", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(x-2.0+x+x+2.0, 249.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[83.0]" - ], - "split": "dev" - }, - { - "Input": "if a number is 2 more than a second and their sum is 30 , find the numbers .", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(y, x+2.0),Eq(x+y, 30.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[14.0, 16.0]" - ], - "split": "dev" - }, - { - "Input": "Find two consecutive odd integers whose sum equals to 84 . list from least to greatest .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-1.0)+(2.0*k+1.0), 84.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[21.0]" - ], - "split": "dev" - }, - { - "Input": "the sum of three consecutive odd integers is -117 . what are the three integer ?", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-1.0)+(2.0*k+1.0)+(2.0*k+3.0), -117.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[-20.0]" - ], - "split": "dev" - }, - { - "Input": "of three consecutive even integers , the sum of the smallest two integers is equal to 6 less than the largest . find the integers", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-2.0)+2.0*k, (2.0*k+2.0)-6.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[-1.0]" - ], - "split": "dev" - }, - { - "Input": "if the first and third of three consecutive odd integers are added , the result is 87 less than five times the second integer . find the third integer", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-1.0)+(2.0*k+3.0), 5.0*(2.0*k+1.0)-87.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[14.0]" - ], - "split": "dev" - }, - { - "Input": "The sum of two numbers is 22 . Five times one number is equal to 6 times the second number . Find the numbers .", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x+y, 22.0),Eq(5.0*x, 6.0*y)])\nprint(answer)\n" - ], - "Output Answer": [ - "[12.0, 10.0]" - ], - "split": "dev" - }, - { - "Input": "a no . has two digits whose sum is 14 . if 36 is added to the no. , its digits are interchanged . find the no .", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq((x+y), 14.0),Eq(36.0+(10.0*x+y), (10.0*y+x))])\nprint(answer)\n" - ], - "Output Answer": [ - "[5.0, 9.0]" - ], - "split": "dev" - }, - { - "Input": "If the sum of three consecutive odd integers is 237 , then what are the integers", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-1.0)+(2.0*k+1.0)+(2.0*k+3.0), 237.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[39.0]" - ], - "split": "dev" - }, - { - "Input": "the sum of four consecutive integers is 250 , what is the greatest of these integers", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq((x-1.0)+x+(x+1.0)+(x+2.0), 250.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[62.0]" - ], - "split": "dev" - }, - { - "Input": "what percent of 54 is 135 ?", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(x*0.01*54.0, 135.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[250.0]" - ], - "split": "dev" - }, - { - "Input": "the sum of three consecutive odd numbers is 75 what are the smallest of these numbers", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-1.0)+(2.0*k+1.0)+(2.0*k+3.0), 75.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[12.0]" - ], - "split": "dev" - }, - { - "Input": "The difference of two integers is 9 . Five times the smaller is 7 more than three times the larger . Find the numbers .", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x-y, 9.0),Eq(5.0*y, 3.0*x+7.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[26.0, 17.0]" - ], - "split": "dev" - }, - { - "Input": "The sum of two consecutive odd integers is 24 . Find the integers .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-1.0)+(2.0*k+1.0), 24.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[6.0]" - ], - "split": "dev" - }, - { - "Input": "1405 is the sum of 2 consecutive numbers . What are they ?", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x+1.0, y),Eq(1405.0, x+y)])\nprint(answer)\n" - ], - "Output Answer": [ - "[702.0, 703.0]" - ], - "split": "dev" - }, - { - "Input": "Find three consecutive integers whose sum is -147", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq((x-1.0)+x+(x+1.0), -147.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[-49.0]" - ], - "split": "dev" - }, - { - "Input": "3 times an integer is 41 less than 5 times the next consecutive integer . Find the two consecutive integers .", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(3.0*x, 5.0*(x+1.0)-41.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[18.0]" - ], - "split": "dev" - }, - { - "Input": "what is the sum of the first 100 even numbers", - "Output Program": [ - "from sympy import *\ns,b = symbols('s b')\nanswer = solve([Eq(b, 2.0+2*100.0-2*1.0),Eq(s , 100 * 0.5 * b + 100)])\nprint(answer)\n" - ], - "Output Answer": [ - "[10100.0, 200.0]" - ], - "split": "dev" - }, - { - "Input": "Twice the lesser of two consecutive odd integers decreased by the greater integer is 53 . What are the integers ?", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(2.0*(2.0*k-1.0)-2.0*k-1.0, 53.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[28.0]" - ], - "split": "dev" - }, - { - "Input": "find two consecutive even integers such that the sum of the larger and twice the smaller is 62", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k+2.0)+2.0*(2.0*k), 62.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[10.0]" - ], - "split": "dev" - }, - { - "Input": "the sum of two times a number and eight is equal to three times the difference between the number and four . What 's the number ?", - "Output Program": [ - "from sympy import *\nn = symbols('n')\nanswer = solve([Eq(2.0*n+8.0, 3.0*(n-4.0))])\nprint(answer)\n" - ], - "Output Answer": [ - "[20.0]" - ], - "split": "dev" - }, - { - "Input": "Find three consecutive integers such that the sum of the first and third is forty two .", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq((x-1.0)+(x+1.0), 42.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[21.0]" - ], - "split": "dev" - }, - { - "Input": "The sum of two integers is 10 . Three times the larger integer is three less than eight times the smaller integer . Find the integers .", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x+y, 10.0),Eq(3.0*y+3.0, 8.0*x)])\nprint(answer)\n" - ], - "Output Answer": [ - "[3.0, 7.0]" - ], - "split": "dev" - }, - { - "Input": "If 5 times the first number plus three times the second number equals 47 , and 10 times the first number minus 4 times the second number equals 54 , what are the numbers ?", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(5.0*x+3.0*y, 47.0),Eq(10.0*x-4.0*y, 54.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[7.0, 4.0]" - ], - "split": "dev" - }, - { - "Input": "find 3 consecutive even integers such that 4 times the sum of the first and the third is 8 less than six times the second", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(4.0*(2.0*k+2.0*k+4.0), 6.0*(2.0*k+2.0)-8.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[-3.0]" - ], - "split": "dev" - }, - { - "Input": "The sum of a number and seven times the number is 112 . What is the number ?", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(x+7.0*x, 112.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[14.0]" - ], - "split": "dev" - }, - { - "Input": "Find two consecutive even integers such that nine times the smaller is equal to twelve times the larger .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(9.0*(2.0*k), 12.0*(2.0*k+2.0))])\nprint(answer)\n" - ], - "Output Answer": [ - "[-4.0]" - ], - "split": "dev" - }, - { - "Input": "one number is three times another number and their sum is 164 . find the number ?", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x, 3.0*y),Eq(x+y, 164.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[123.0, 41.0]" - ], - "split": "dev" - }, - { - "Input": "Eight times the sum of a number and -2 is the same as nine times the number . Find the number .", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(8.0*(x-2.0), 9.0*x)])\nprint(answer)\n" - ], - "Output Answer": [ - "[-16.0]" - ], - "split": "dev" - }, - { - "Input": "find the sum of the first 100 odd numbers ?", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(x, (1.0+2.0*100.0-1.0)*100.0*0.5)])\nprint(answer)\n" - ], - "Output Answer": [ - "[10000.0]" - ], - "split": "dev" - }, - { - "Input": "Find two consecutive integers whose sum is 27", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(x+(x+1.0), 27.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[13.0]" - ], - "split": "dev" - }, - { - "Input": "Find two numbers whose sum is 27 and such that one is 2 times as large as the other .", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x+y, 27.0),Eq(x, 2.0*y)])\nprint(answer)\n" - ], - "Output Answer": [ - "[18.0, 9.0]" - ], - "split": "dev" - }, - { - "Input": "four more than the opposite of n equals 6 . what is n ?", - "Output Program": [ - "from sympy import *\nn = symbols('n')\nanswer = solve([Eq(-n+4.0, 6.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[-2.0]" - ], - "split": "dev" - }, - { - "Input": "What is 0.55555555 times 36 ?", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(x, 0.55555555*36.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[20.0]" - ], - "split": "dev" - }, - { - "Input": "find 5 consecutive odd integers such that the sum of the first and fifth is one less than three times the fourth", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k+1.0)+(2.0*k+9.0), 3.0*(2.0*k+7.0)-1.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[-5.0]" - ], - "split": "dev" - }, - { - "Input": "What percentage of 306,000 equals 8,200 ?", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(x*0.01*306000.0, 8200.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[2.67973856209]" - ], - "split": "dev" - }, - { - "Input": "find two consecutive even integers such that twice the smaller is 26 less than three times the larger", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(2.0*(2.0*k), 3.0*(2.0*k+2.0)-26.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[10.0]" - ], - "split": "dev" - }, - { - "Input": "Find two consecutive odd integers such that 5 times the first integer is 12 more than 3 times the second .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(5.0*(2.0*k-1.0), 3.0*(2.0*k+1.0)+12.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[5.0]" - ], - "split": "dev" - }, - { - "Input": "5 less than triple a number is nine more than twice a number . Find the number ?", - "Output Program": [ - "from sympy import *\nn = symbols('n')\nanswer = solve([Eq(3.0*n-5.0, 9.0+2.0*n)])\nprint(answer)\n" - ], - "Output Answer": [ - "[14.0]" - ], - "split": "dev" - }, - { - "Input": "if 18 % of a number Z is 54 Find the value of Z.", - "Output Program": [ - "from sympy import *\nz = symbols('z')\nanswer = solve([Eq(18.0*0.01*z, 54.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[300.0]" - ], - "split": "dev" - }, - { - "Input": "if 240 divided by 3 equals x divided by 5 whats the value of x ?", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(240.0*5.0, x*3.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[400.0]" - ], - "split": "dev" - }, - { - "Input": "twice a number is 60 more than five times the number . what is that number ?", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(2.0*x-60.0, 5.0*x)])\nprint(answer)\n" - ], - "Output Answer": [ - "[-20.0]" - ], - "split": "dev" - }, - { - "Input": "Four consecutive odd integers have a sum of 120 . What are the integers ?", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-3.0)+(2.0*k-1.0)+(2.0*k+1.0)+(2.0*k+3.0), 120.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[15.0]" - ], - "split": "dev" - }, - { - "Input": "One number is 15 more than the other . The sum of twice the larger and 3 times the smaller is 182 . Find the numbers .", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x, 15.0+y),Eq(2.0*x+3.0*y, 182.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[45.4, 30.4]" - ], - "split": "dev" - }, - { - "Input": "One number is 3 less than a second number . Twice the second number is 12 less than 5 times the first . Find the two numbers .", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x+3.0, y),Eq(2.0*y+12.0, 5.0*x)])\nprint(answer)\n" - ], - "Output Answer": [ - "[6.0, 9.0]" - ], - "split": "dev" - }, - { - "Input": "how do you write find a number such that seven less than twice the number is 43 as an equation ??", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(2.0*x-7.0, 43.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[25.0]" - ], - "split": "dev" - }, - { - "Input": "the sum of two numbers is 120 . if the larger number is 4 times the smaller number , find the two numbers ?", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x+y, 120.0),Eq(x, 4.0*y)])\nprint(answer)\n" - ], - "Output Answer": [ - "[96.0, 24.0]" - ], - "split": "dev" - }, - { - "Input": "The sum of three consecutive integers is 33 more than the least of the integers . Find the integers .", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq((x-1.0)+x+(x+1.0), (x-1.0)+33.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[16.0]" - ], - "split": "dev" - }, - { - "Input": "find four consecutive odd integers whose sum is 416", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-3.0)+(2.0*k-1.0)+(2.0*k+1.0)+(2.0*k+3.0), 416.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[52.0]" - ], - "split": "dev" - }, - { - "Input": "One number is three times another number . Their sum is 84 . Find both numbers .", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x, 3.0*y),Eq(x+y, 84.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[63.0, 21.0]" - ], - "split": "dev" - }, - { - "Input": "the greater of two consecutive even integers is 58 less than three times the smaller . find the integers .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k+2.0), 3.0*(2.0*k)-58.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[15.0]" - ], - "split": "dev" - }, - { - "Input": "Four times the lesser of two consecutive even integers is 12 less than twice the greater number . Find the integers .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(4.0*(2.0*k), 2.0*(2.0*k+2.0)-12.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[-2.0]" - ], - "split": "dev" - }, - { - "Input": "The sum of two numbers is 32 ; the larger number is 12 greater than twice the smaller . What are the 2 numbers ?", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x+y, 32.0),Eq(x-12.0, 2.0*y)])\nprint(answer)\n" - ], - "Output Answer": [ - "[25.3333333333, 6.66666666667]" - ], - "split": "dev" - }, - { - "Input": "Two numbers have a sum of 39 . Their difference is 11 . What are the two numbers ?", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x+y, 39.0),Eq(x-y, 11.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[25.0, 14.0]" - ], - "split": "dev" - }, - { - "Input": "The sum of two consecutive integers problem . Three times the larger integer less two times the smaller integer is 58 . Find the value of the smaller integer", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(3.0*(x+1.0)-2.0*x, 58.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[55.0]" - ], - "split": "dev" - }, - { - "Input": "The sum of four consecutive even integers equals seven times the greatest of the integers . Find the integers .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-2.0)+2.0*k+(2.0*k+2.0)+(2.0*k+4.0), 7.0*(2.0*k+4.0))])\nprint(answer)\n" - ], - "Output Answer": [ - "[-4.0]" - ], - "split": "dev" - }, - { - "Input": "find three consecutive numbers whose sum is 126", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq((x-1.0)+x+(x+1.0), 126.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[42.0]" - ], - "split": "dev" - }, - { - "Input": "eight times what number is 11 more than four times the number ?", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(8.0*x, 11.0+4.0*x)])\nprint(answer)\n" - ], - "Output Answer": [ - "[2.75]" - ], - "split": "dev" - }, - { - "Input": "The sum of two consecutive integers is 73 . Find the smallest integer .", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(x+x+1.0, 73.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[36.0]" - ], - "split": "dev" - }, - { - "Input": "Find three consecutive odd integers whose sum is -81 .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-1.0)+(2.0*k+1.0)+(2.0*k+3.0), -81.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[-14.0]" - ], - "split": "dev" - }, - { - "Input": "the sum of two consecutive even integers is -298 . what are the integers ?", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(2.0*k+(2.0*k+2.0), -298.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[-75.0]" - ], - "split": "dev" - }, - { - "Input": "The sum of 3 integers is 251 . The sum of the 1st and 2nd integers exceeds the 3rd by 45 . The 3rd integer is 42 less than the 1st . Find the 3 integers", - "Output Program": [ - "from sympy import *\nx,y,z = symbols('x y z')\nanswer = solve([Eq(x+y+z, 251.0),Eq(x+y, z+45.0),Eq(z, x-42.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[145.0, 103.0, 3.0]" - ], - "split": "dev" - }, - { - "Input": "one number equals three times another number . the difference between the numbers is 10 . find the numbers .", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x, 3.0*y),Eq(x-y, 10.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[15.0, 5.0]" - ], - "split": "dev" - }, - { - "Input": "Five times some number is 10 less than the number . What is the number ?", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(5.0*x, x-10.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[-2.5]" - ], - "split": "dev" - }, - { - "Input": "The sum of four consecutive even integers is 220 . Find all four numbers .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(2.0*k+2.0*k+2.0+2.0*k+4.0+2.0*k+6.0, 220.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[26.0]" - ], - "split": "dev" - }, - { - "Input": "find three consecutive integers such that the sum of the first and second is 7 more than the third .", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq((x-1.0)+x, (x+1.0)+7.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[9.0]" - ], - "split": "dev" - }, - { - "Input": "The sum of three consecutive integers is 42 . Find the integers", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq((x-1.0)+x+(x+1.0), 42.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[14.0]" - ], - "split": "dev" - }, - { - "Input": "The sum of two consecutive odd integers is 56 . Find the two odd integers .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-1.0)+(2.0*k+1.0), 56.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[14.0]" - ], - "split": "dev" - }, - { - "Input": "The sum of three consecutive numbers is 111 . What are the three numbers ?", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq((x-1.0)+x+(x+1.0), 111.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[37.0]" - ], - "split": "dev" - }, - { - "Input": "How many 3 digit numbers can you make using the digits 1,2,3 , and 4 if the hundreds digit is prime and repetition of a digit is not permitted ?", - "Output Program": [ - "from sympy import *\nn = symbols('n')\nanswer = solve([Eq(n, 2.0*3.0*2.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[12.0]" - ], - "split": "dev" - }, - { - "Input": "3 consecutive odd integers with the sum of 237 .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-1.0)+(2.0*k+1.0)+(2.0*k+3.0), 237.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[39.0]" - ], - "split": "dev" - }, - { - "Input": "120 = 100 times M divided by 10 , what is the value of M ?", - "Output Program": [ - "from sympy import *\nm = symbols('m')\nanswer = solve([Eq(120.0 * 10 , 100.0 * m)])\nprint(answer)\n" - ], - "Output Answer": [ - "[12.0]" - ], - "split": "dev" - }, - { - "Input": "Two more than twice a number is equal to the number itself . Find the number .", - "Output Program": [ - "from sympy import *\nn = symbols('n')\nanswer = solve([Eq(2.0+2.0*n, n)])\nprint(answer)\n" - ], - "Output Answer": [ - "[-2.0]" - ], - "split": "dev" - }, - { - "Input": "The sum of three consecutive integers is negative 72 . Find the numbers", - "Output Program": [ - "from sympy import *\nn = symbols('n')\nanswer = solve([Eq(n+(n+1.0)+(n+2.0), -72.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[-25.0]" - ], - "split": "dev" - }, - { - "Input": "What are consecutive numbers where the 1st and 3rd equal 58 ?", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq((x-1.0)+(x+1.0), 58.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[29.0]" - ], - "split": "dev" - }, - { - "Input": "the sum of 3 consecutive odd integers is 85 less than 4 times the first . what is the first integer ?", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-1.0)+(2.0*k+1.0)+(2.0*k+3.0), 4.0*(2.0*k-1.0)-85.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[46.0]" - ], - "split": "dev" - }, - { - "Input": "Find four consecutive odd integers whose sum is 360", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-3.0)+(2.0*k-1.0)+(2.0*k+1.0)+(2.0*k+3.0), 360.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[45.0]" - ], - "split": "dev" - }, - { - "Input": "Find three consecutive odd integers such that five times the middle integer equals 33 more than the sum of the first and the last .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(5.0*(2.0*k+1.0), (2.0*k-1.0)+(2.0*k+3.0)+33.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[5.0]" - ], - "split": "dev" - }, - { - "Input": "the sum of three cosecutive integers is 96 . find them .", - "Output Program": [ - "from sympy import *\nx,y,z = symbols('x y z')\nanswer = solve([Eq(x+1.0, y),Eq(y+1.0, z),Eq(x+y+z, 96.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[31.0, 33.0, 32.0]" - ], - "split": "dev" - }, - { - "Input": "Find three consecutive odd integers such that four times the sum of the first and second is 17 more than 7 times the third", - "Output Program": [ - "from sympy import *\nn = symbols('n')\nanswer = solve([Eq(4.0*(n+n+2.0), 17.0+7.0*(n+4.0))])\nprint(answer)\n" - ], - "Output Answer": [ - "[37.0]" - ], - "split": "dev" - }, - { - "Input": "The second of three numbers is 1 less than the first . The third number is 5 less than the second . If the first number is twice as large as the third , Find the three numbers .", - "Output Program": [ - "from sympy import *\nx,y,z = symbols('x y z')\nanswer = solve([Eq(y, x-1.0),Eq(z, y-5.0),Eq(x, 2.0*z)])\nprint(answer)\n" - ], - "Output Answer": [ - "[12.0, 6.0, 11.0]" - ], - "split": "dev" - }, - { - "Input": "which 2 consecutive integers have a sum of -105", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(x+(x+1.0), -105.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[-53.0]" - ], - "split": "dev" - }, - { - "Input": "Find 3 consecutive odd integers such that the sum of the first and third equals the sum of the second and 43 .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-1.0)+(2.0*k+3.0), (2.0*k+1.0)+43.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[21.0]" - ], - "split": "dev" - }, - { - "Input": "Twice the sum of two numbers is 1236 . Twice the difference of those same two numbers is 680 . What are those two numbers ?", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(2.0*(x+y), 1236.0),Eq(2.0*(x-y), 680.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[479.0, 139.0]" - ], - "split": "dev" - }, - { - "Input": "three times the smaller of two consecutive integers is added to four times the larger , the result is 67 . find the smaller integer .", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(3.0*x+4.0*(x+1.0), 67.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[9.0]" - ], - "split": "dev" - }, - { - "Input": "For two consecutive integers , the sum of the smaller and twice the larger is 29 . Find the smaller integer", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(x+2.0*(x+1.0), 29.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[9.0]" - ], - "split": "dev" - }, - { - "Input": "The sum of three consecutive odd integers is equal to 39 . Write the equation that describes this situation and determine the three integers .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-1.0)+(2.0*k+1.0)+(2.0*k+3.0), 39.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[6.0]" - ], - "split": "dev" - }, - { - "Input": "the first of two numbers is 3 times the second . Their sum is 88 . Find the numbers .", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x, 3.0*y),Eq(x+y, 88.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[66.0, 22.0]" - ], - "split": "dev" - }, - { - "Input": "What is the greatest of 5 consecutive integers if the sum of these integers equals 185 ?", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq((x-2.0)+(x-1.0)+x+(x+1.0)+(x+2.0), 185.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[37.0]" - ], - "split": "dev" - }, - { - "Input": "One number is 4 less than another . If 10 times the smaller number minus 3 times the larger number is 51 , find the two numbers .", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x, y-4.0),Eq(10.0*x-3.0*y, 51.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[9.0, 13.0]" - ], - "split": "dev" - }, - { - "Input": "find three consecutive odd integers such that the sum of the first and third equals the sum of the second and 43 .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-1.0)+(2.0*k+3.0), (2.0*k+1.0)+43.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[21.0]" - ], - "split": "dev" - }, - { - "Input": "If f -LRB- x -RRB- = x + 2 , find the value of x if f -LRB- x -RRB- = 12 .", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(x+2.0, 12.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[10.0]" - ], - "split": "dev" - }, - { - "Input": "Find two consecutive even integers such that the smaller added to three times the larger give a sum of 30 .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(2.0*k+3.0*(2.0*k+2.0), 30.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[3.0]" - ], - "split": "dev" - }, - { - "Input": "If the first and third of 3 consecutive odd integers are added , the result is 57 less than 5 times the second integer . Find the 3rd integer .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-1.0)+(2.0*k+3.0), 5.0*(2.0*k+1.0)-57.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[9.0]" - ], - "split": "dev" - }, - { - "Input": "Three times the greatest of three consecutive even integers exceeds twice the least by the 38 . Write an equation and Find the integers .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(3.0*2.0*k+3.0 * 2.0-2.0*2.0*k+2.0 * 2.0, 38.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[14.0]" - ], - "split": "dev" - }, - { - "Input": "find 3 consecutive integers whose sum is 78", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(x+(x+1.0)+(x+2.0), 78.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[25.0]" - ], - "split": "dev" - }, - { - "Input": "There are three consecutive odd integers , such that three times the first , minus two times the second , plus 13 , equals negative three times the sum of the first and the third . What is the first integer ?", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(3.0*(2.0*k-1.0)-2.0*(2.0*k+1.0)+13.0, -3.0*(4*k+2.0))])\nprint(answer)\n" - ], - "Output Answer": [ - "[-1.0]" - ], - "split": "dev" - }, - { - "Input": "Twice the greater of two consecutive odd integers is 13 less than three times the lesser . Find the integers .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(2.0*(2.0*k+1.0), 3.0*(2.0*k-1.0)-13.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[9.0]" - ], - "split": "dev" - }, - { - "Input": "find three consecutive even integers such that the sum of the smallest and twice the second is 20 more than the third", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-2.0)+2.0*(2.0*k), (2.0*k+2.0)+20.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[6.0]" - ], - "split": "dev" - }, - { - "Input": "The sum of three consecutive odd numbers is 135 . Find the largest odd number ?", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(2.0*k+1.0+2.0*k+3.0+2.0*k+5.0, 135.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[21.0]" - ], - "split": "dev" - }, - { - "Input": "The sum of the smaller of two consecutive integers and twice the larger integer is 47 . What are the integers ?", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(x+2.0*(x+1.0), 47.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[15.0]" - ], - "split": "dev" - }, - { - "Input": "One number is 10 less than another number . If their sum is 60 , what are the numbers ?", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x, y-10.0),Eq(x+y, 60.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[25.0, 35.0]" - ], - "split": "dev" - }, - { - "Input": "find 3 consecutive integers such that the sum of the first two integers is nine more than the third integer .", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(x+x+1.0, 9.0+x+2.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[10.0]" - ], - "split": "dev" - }, - { - "Input": "the difference between two integers is 38 . one integer is three times as great as the other . Find the integers", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(y-x, 38.0),Eq(y, 3.0*x)])\nprint(answer)\n" - ], - "Output Answer": [ - "[19.0, 57.0]" - ], - "split": "dev" - }, - { - "Input": "Two times the least of three consecutive odd integers exceeds three times the greatest by 15 . What are the integers ?", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(2.0*2.0*k-2.0-3.0*2.0*k-3.0 *3.0, 15.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[-13.0]" - ], - "split": "dev" - }, - { - "Input": "What is the sum of the consecutive integers from 15 to 55 -LRB- inclusive -RRB- ?", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(2 * x , 55.0 * 55.0 - 15.0 * 15.0 + 15.0 + 55.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[1435.0]" - ], - "split": "dev" - }, - { - "Input": "The sum of two numbers is 88 . Three times the smaller equals twice the larger number , plus 29 . Find the numbers .", - "Output Program": [ - "from sympy import *\nn,m = symbols('n m')\nanswer = solve([Eq(m+n, 88.0),Eq(3.0*m, 2.0*n+29.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[47.0, 41.0]" - ], - "split": "dev" - }, - { - "Input": "the sum of two consecutive odd integers is 40 . find the numbers", - "Output Program": [ - "from sympy import *\nn = symbols('n')\nanswer = solve([Eq((2.0*n-1.0)+(2.0*n+1.0), 40.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[10.0]" - ], - "split": "dev" - }, - { - "Input": "If the first and third of three consecutive odd integers are added , the result is 81 less than five times the second integer . Find the third integers .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-1.0)+(2.0*k+3.0), 5.0*(2.0*k+1.0)-81.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[13.0]" - ], - "split": "dev" - }, - { - "Input": "find the 3 consecutive even integers such that 3 times the first equal the sum of the other 2 .", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(3.0*(2.0*x-2.0), 2.0*x+2.0*x+2.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[4.0]" - ], - "split": "dev" - }, - { - "Input": "One integer is four times another . The sum of the integers is 65 . What is the value of the lesser integer ?", - "Output Program": [ - "from sympy import *\nn,m = symbols('n m')\nanswer = solve([Eq(m, 4.0*n),Eq(m+n, 65.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[13.0, 52.0]" - ], - "split": "dev" - }, - { - "Input": "The greater of two consecutive even integers is six less than twice the smaller . Find the two numbers", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(2.0*k+2.0, 2.0*(2.0*k)-6.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[4.0]" - ], - "split": "dev" - }, - { - "Input": "a number when increased by 40 % becomes 42 . what is the number ?", - "Output Program": [ - "from sympy import *\nn = symbols('n')\nanswer = solve([Eq((1.0+40.0*0.01)*n, 42.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[30.0]" - ], - "split": "dev" - }, - { - "Input": "The sum of two consecutive odd integers is -40 . Find the integers .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-1.0)+(2.0*k+1.0), -40.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[-10.0]" - ], - "split": "dev" - }, - { - "Input": "Find two numbers whose sum is 64 and whose difference is 8 .", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x+y, 64.0),Eq(x-y, 8.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[36.0, 28.0]" - ], - "split": "dev" - }, - { - "Input": "if 2 is subtracted from four times a number , the result is 3 more than six times the number . find the number", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(4.0*x-2.0, 6.0*x+3.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[-2.5]" - ], - "split": "dev" - }, - { - "Input": "The sum of two numbers is 3 and twice the larger number is 36 more than three times the smaller number.What is the larger number ?", - "Output Program": [ - "from sympy import *\nn,m = symbols('n m')\nanswer = solve([Eq(m+n, 3.0),Eq(2.0*m, 36.0+3.0*n)])\nprint(answer)\n" - ], - "Output Answer": [ - "[-6.0, 9.0]" - ], - "split": "dev" - }, - { - "Input": "The sum of three consecutive odd integers is 123 . Find the integers .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-1.0)+(2.0*k+1.0)+(2.0*k+3.0), 123.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[20.0]" - ], - "split": "dev" - }, - { - "Input": "If five is added to the sum of twice a number and three times the number , the result is 25 . Find the number", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq((2.0*x+3.0*x)+5.0, 25.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[4.0]" - ], - "split": "dev" - }, - { - "Input": "One number is seven less than another . The sum of the numbers is 35 . Find the numbers .", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x, y-7.0),Eq(x+y, 35.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[14.0, 21.0]" - ], - "split": "dev" - }, - { - "Input": "find three consecutive integers whose sum is -33", - "Output Program": [ - "from sympy import *\nn = symbols('n')\nanswer = solve([Eq(n+n+1.0+n+2.0, -33.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[-12.0]" - ], - "split": "dev" - }, - { - "Input": "find three consecutive odd integers such that five times the sum of the first and second is 1 less than 9 times the third", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(5.0*(2*2.0*k), 9.0*(2.0*k+3.0)-1.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[13.0]" - ], - "split": "dev" - }, - { - "Input": "The sum of two numbers is 100 . Five times the smaller number is eight more than the larger . Find the numbers .", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(5.0*x-8.0, y),Eq(x+y, 100.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[18.0, 82.0]" - ], - "split": "dev" - }, - { - "Input": "What percent of 80 is 50 ?", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(0.01*x*80.0, 50.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[62.5]" - ], - "split": "dev" - }, - { - "Input": "What are two consecutive odd integers whose sum is 56 ?", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-1.0)+(2.0*k+1.0), 56.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[14.0]" - ], - "split": "dev" - }, - { - "Input": "Find two consecutive odd integers such that when twice the second is subtracted from four times the first , the result is -6", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(4.0*(2.0*k-1.0)-2.0*(2.0*k+1.0), -6.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[0.0]" - ], - "split": "dev" - }, - { - "Input": "the difference between 2 numbers is 34 . the larger number is 4 more than 3 times the smaller number . What 're the numbers ?", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x-y, 34.0),Eq(x-4.0, 3.0*y)])\nprint(answer)\n" - ], - "Output Answer": [ - "[49.0, 15.0]" - ], - "split": "dev" - }, - { - "Input": "Find two consecutive integers such that 3 times the first integer plus 2 times the second integer is equal to 107 .", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(3.0*x+2.0*(x+1.0), 107.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[21.0]" - ], - "split": "test" - }, - { - "Input": "Find two consecutive whole numbers such that 0.75 of the first number is 5 more than 0.5 the second number .", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq((0.75)*x, (0.5)*(x+1.0)+5.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[22.0]" - ], - "split": "test" - }, - { - "Input": "The difference of two numbers is 67 . The larger number is three less than six times the smaller number . Find the numbers .", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x-y, 67.0),Eq(x, 6.0*y-3.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[81.0, 14.0]" - ], - "split": "test" - }, - { - "Input": "fine two consecutive odd integers whose sum is 176", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-1.0)+(2.0*k+1.0), 176.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[44.0]" - ], - "split": "test" - }, - { - "Input": "The two integers sum up to 36 . If the larger of these integers is divided by the other , the quotient is 2 and the remainder is 3 . Find the numbers", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x+y, 36.0),Eq(x, y*2.0+3.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[25.0, 11.0]" - ], - "split": "test" - }, - { - "Input": "Three times the larger of two numbers is equal to four times the smaller . The sum of the numbers is 21 . Find the numbers .", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(3.0*x, 4.0*y),Eq(x+y, 21.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[12.0, 9.0]" - ], - "split": "test" - }, - { - "Input": "The sum of three consecutive odd integers is 40 more than the smallest . What are the integers ?", - "Output Program": [ - "from sympy import *\nn = symbols('n')\nanswer = solve([Eq((2.0*n+1.0)+(2.0*n+3.0)+(2.0*n+5.0), 40.0+(2.0*n+1.0))])\nprint(answer)\n" - ], - "Output Answer": [ - "[8.0]" - ], - "split": "test" - }, - { - "Input": "If 4 is added to a number and the sum is doubled , the result is 18 less than the number . Find the number ?", - "Output Program": [ - "from sympy import *\nn = symbols('n')\nanswer = solve([Eq(2.0*(n+4.0), n-18.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[-26.0]" - ], - "split": "test" - }, - { - "Input": "the sum of three consecutive integers is thirty . What are the numbers ?", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq((x-1.0)+x+(x+1.0), 30.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[10.0]" - ], - "split": "test" - }, - { - "Input": "The greater of two consecutive even integers is 20 more than twice the smaller .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(2.0*k+2.0, 2.0*(2.0*k)+20.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[-9.0]" - ], - "split": "test" - }, - { - "Input": "Find two numbers whose sum is 64 and whose difference is 42 .", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x+y, 64.0),Eq(x-y, 42.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[53.0, 11.0]" - ], - "split": "test" - }, - { - "Input": "find three consecutive odd integers such that three times the first is 9 greater than six times the third", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(3.0*(2.0*k-1.0), 6.0*(2.0*k+3.0)+9.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[-5.0]" - ], - "split": "test" - }, - { - "Input": "Three times the sum of three consecutive integers x , x + 1 , and x + 2 , is 72 . What are the integers ?", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(3.0*(3*x), 72.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[8.0]" - ], - "split": "test" - }, - { - "Input": "The Sum of three consecutive integers is 234 . The smallest integer among the three integers is ?", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq((x-1.0)+x+(x+1.0), 234.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[78.0]" - ], - "split": "test" - }, - { - "Input": "If the first and third of three consecutive even integers are added , the result is 12 less than three times the second integer . find the integers .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(2.0*k-2.0+2.0*k+2.0, 3.0*(2.0*k)-12.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[6.0]" - ], - "split": "test" - }, - { - "Input": "The sum of two numbers is -52 . The first number minus the second is -30 . find the numbers", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x+y, -52.0),Eq(x-y, -30.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[-41.0, -11.0]" - ], - "split": "test" - }, - { - "Input": "Find three consecutive even integers such that twice the sum of the first and third is twelve more than twice the second .", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(2.0*(x+x+4.0), 12.0+2.0*(x+2.0))])\nprint(answer)\n" - ], - "Output Answer": [ - "[4.0]" - ], - "split": "test" - }, - { - "Input": "the sum of two numbers is 25 . 12 less than four times one of the numbers is 16 more than twice the other number", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x+y, 25.0),Eq(4.0*x-12.0, 2.0*y+16.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[13.0, 12.0]" - ], - "split": "test" - }, - { - "Input": "16 more than a number is 20 more than twice the number .", - "Output Program": [ - "from sympy import *\nn = symbols('n')\nanswer = solve([Eq(16.0+n, 20.0+2.0*n)])\nprint(answer)\n" - ], - "Output Answer": [ - "[-4.0]" - ], - "split": "test" - }, - { - "Input": "The difference between a number and fifteen is seven . Find the number .", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(x-15.0, 7.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[22.0]" - ], - "split": "test" - }, - { - "Input": "Two numbers differ by 3 . Four times the lesser diminished by three times the greater is 7 . Find the numbers .", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x-y, 3.0),Eq(4.0*y-3.0*x, 7.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[19.0, 16.0]" - ], - "split": "test" - }, - { - "Input": "Three times the greater of two consecutive odd integers is five less than four times the smaller . Find the two numbers .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(3.0*(2.0*k+1.0), 4.0*(2.0*k-1.0)-5.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[6.0]" - ], - "split": "test" - }, - { - "Input": "when 4 is added to 5 times a number , the number increases by 50 . Find the number .", - "Output Program": [ - "from sympy import *\nn = symbols('n')\nanswer = solve([Eq(5.0*n+4.0, n+50.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[11.5]" - ], - "split": "test" - }, - { - "Input": "find two consecutive even integers whose sum equals 42 .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(2.0*k+(2.0*k+2.0), 42.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[10.0]" - ], - "split": "test" - }, - { - "Input": "The sum of two numbers is 70 . One number is eight more than the other . What are the two numbers ?", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x+y, 70.0),Eq(x-8.0, y)])\nprint(answer)\n" - ], - "Output Answer": [ - "[39.0, 31.0]" - ], - "split": "test" - }, - { - "Input": "there are three consecutive odd integers and sum of smaller is 49 less than 3 times largest integer find the three odd integer", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-1.0)+(2.0*k+1.0), 3.0*(2.0*k+3.0)-49.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[20.0]" - ], - "split": "test" - }, - { - "Input": "the sum of three consecutive odd integers is 171 . what are the integers ?", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-1.0)+(2.0*k+1.0)+(2.0*k+3.0), 171.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[28.0]" - ], - "split": "test" - }, - { - "Input": "find 3 consecutive even integers such that three times the first equals the sum of the other two", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(3.0*(2.0*x-2.0), 2.0*x+(2.0*x+2.0))])\nprint(answer)\n" - ], - "Output Answer": [ - "[4.0]" - ], - "split": "test" - }, - { - "Input": "4 % of what number is 34 ?", - "Output Program": [ - "from sympy import *\nn = symbols('n')\nanswer = solve([Eq(4.0*0.01*n, 34.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[850.0]" - ], - "split": "test" - }, - { - "Input": "the sum of 2 consecutive numbers is 95 . what are the numbers", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(x+(x+1.0), 95.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[47.0]" - ], - "split": "test" - }, - { - "Input": "find two consecutive integers such that twice the first is 26 more than the second", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(2.0*x, x+1.0+26.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[27.0]" - ], - "split": "test" - }, - { - "Input": "The sum of two numbers is 94 . The second is 6 more than 3 times the first . What are the two numbers ?", - "Output Program": [ - "from sympy import *\nn,m = symbols('n m')\nanswer = solve([Eq(m+n, 94.0),Eq(n, 6.0+3.0*m)])\nprint(answer)\n" - ], - "Output Answer": [ - "[72.0, 22.0]" - ], - "split": "test" - }, - { - "Input": "two consecutive even integers have a sum of 74", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(2.0*k+(2.0*k+2.0), 74.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[18.0]" - ], - "split": "test" - }, - { - "Input": "the sum of 2 numbers is 15 less than twice the first number . their difference is 5 less than twice the second number . find each of the numbers", - "Output Program": [ - "from sympy import *\nn,m = symbols('n m')\nanswer = solve([Eq(m+n, 2.0*m-15.0),Eq(m-n, 2.0*n-5.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[10.0, 25.0]" - ], - "split": "test" - }, - { - "Input": "two consecutive odd integers , the sum of three times the smaller and the larger is fourteen", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(3.0*(2.0*k-1.0)+(2.0*k+1.0), 14.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[2.0]" - ], - "split": "test" - }, - { - "Input": "The sum of three consecutive numbers is 72 , find the three numbers ?", - "Output Program": [ - "from sympy import *\nx,y,z = symbols('x y z')\nanswer = solve([Eq(x+1.0, y),Eq(y+1.0, z),Eq(x+y+z, 72.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[23.0, 25.0, 24.0]" - ], - "split": "test" - }, - { - "Input": "Find two consecutive even integers such that three times the lesser integer is eight more than twice the greater integer .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(3.0*(2.0*k), 2.0*(2.0*k+2.0)+8.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[6.0]" - ], - "split": "test" - }, - { - "Input": "the sum of two consecutive integers is -223 . Find the larger integer", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(x+(x+1.0), -223.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[-112.0]" - ], - "split": "test" - }, - { - "Input": "The difference between two numbers is 9 . The sum of twice the larger number and three times the smaller number is 33 . Find the two numbers .", - "Output Program": [ - "from sympy import *\nn,m = symbols('n m')\nanswer = solve([Eq(m-n, 9.0),Eq(2.0*m+3.0*n, 33.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[3.0, 12.0]" - ], - "split": "test" - }, - { - "Input": "The sum of 4 consecutive even integer equals 7 times the greatest of the integers . Find the integers .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-2.0)+(2.0*k)+(2.0*k+2.0)+(2.0*k+4.0), 7.0*(2.0*k+4.0))])\nprint(answer)\n" - ], - "Output Answer": [ - "[-4.0]" - ], - "split": "test" - }, - { - "Input": "the sum of three consecutive integers is 48 . what is the set of three consecutive integers that fits this situation", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq((x-1.0)+x+(x+1.0), 48.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[16.0]" - ], - "split": "test" - }, - { - "Input": "The smallest of three consecutive even integers is 4 less than 5 times the largest . Find the integers .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(2.0*k-2.0, 5.0*(2.0*k+2.0)-4.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[-1.0]" - ], - "split": "test" - }, - { - "Input": "find 3 consecutive odd integers so that the sum of the least integer and middle integer is 44", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(2.0*x-1.0+2.0*x+1.0, 44.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[11.0]" - ], - "split": "test" - }, - { - "Input": "If three times the smaller of two consecutive integers is added to four times the larger the result is 137 . Find the smaller integer", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(3.0*x+4.0*(x+1.0), 137.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[19.0]" - ], - "split": "test" - }, - { - "Input": "Find a number that is 96 greater than its opposite .", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(x, 96.0-x)])\nprint(answer)\n" - ], - "Output Answer": [ - "[48.0]" - ], - "split": "test" - }, - { - "Input": "find three consecutive odd integers such that three times the smallest equals the sum of the other two integers decreased by 1 ?", - "Output Program": [ - "from sympy import *\nn = symbols('n')\nanswer = solve([Eq(3.0*(2.0*n-1.0), (2.0*n+1.0)+(2.0*n+3.0)-1.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[3.0]" - ], - "split": "test" - }, - { - "Input": "The sum of two numbers is 42 . one number is 3 less than 4 times the other number . what are the numbers ?", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x+y, 42.0),Eq(x, 4.0*y-3.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[33.0, 9.0]" - ], - "split": "test" - }, - { - "Input": "Find three consecutive integers if the sum of the first two integers is 6 more than the third integer", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(x+x+1.0, 6.0+x+2.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[7.0]" - ], - "split": "test" - }, - { - "Input": "The sum of two numbers is 78 . If four times the smaller number is subtracted from the larger number , the result is 13 . What are the two numbers ?", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x+y, 78.0),Eq(y-4.0*x, 13.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[13.0, 65.0]" - ], - "split": "test" - }, - { - "Input": "what is the sum of the first 100 odd numbers", - "Output Program": [ - "from sympy import *\ns,b = symbols('s b')\nanswer = solve([Eq(b, 1.0+100.0 * 2.0-1.0*2.0),Eq(s, b*100.0*0.5 + 100 * 0.5)])\nprint(answer)\n" - ], - "Output Answer": [ - "[10000.0, 199.0]" - ], - "split": "test" - }, - { - "Input": "the second of two numbers is 4 more than the first . The sum of the numbers is 56 . If x represents the first number , and y represents the second number , what are the numbers ?", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(y, 4.0+x),Eq(x+y, 56.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[26.0, 30.0]" - ], - "split": "test" - }, - { - "Input": "find three consecutive even integers , such that the sum of the second and third number is 20 more than the first .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(2.0*k+(2.0*k+2.0), (2.0*k-2.0)+20.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[8.0]" - ], - "split": "test" - }, - { - "Input": "Find four consecutive even integers whose sum is 340", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-2.0)+(2.0*k)+(2.0*k+2.0)+(2.0*k+4.0), 340.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[42.0]" - ], - "split": "test" - }, - { - "Input": "the sum of three consecutive odd integers is 69 . Find the integers .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-1.0)+(2.0*k+1.0)+(2.0*k+3.0), 69.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[11.0]" - ], - "split": "test" - }, - { - "Input": "The sum of two numbers is 18 . Find the numbers , if three times the smaller is one less than twice the larger .", - "Output Program": [ - "from sympy import *\nn,m = symbols('n m')\nanswer = solve([Eq(m+n, 18.0),Eq(3.0*m, 2.0*n-1.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[11.0, 7.0]" - ], - "split": "test" - }, - { - "Input": "Fifteen more than four times a number is 6 more than five times the number . what 's the value of the number ?", - "Output Program": [ - "from sympy import *\nn = symbols('n')\nanswer = solve([Eq(15.0+4.0*n, 6.0+5.0*n)])\nprint(answer)\n" - ], - "Output Answer": [ - "[9.0]" - ], - "split": "test" - }, - { - "Input": "There are three consecutive odd integers . Three times the largest is seven times the smallest . What are the integers ?", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(3.0*(2.0*k+5.0), 7.0*(2.0*k+1.0))])\nprint(answer)\n" - ], - "Output Answer": [ - "[1.0]" - ], - "split": "test" - }, - { - "Input": "The sum of two numbers is 240 . The larger number is 6 less than twice the smaller number . Find the numbers .", - "Output Program": [ - "from sympy import *\na,b = symbols('a b')\nanswer = solve([Eq(a+b, 240.0),Eq(a, 2.0*b-6.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[82.0, 158.0]" - ], - "split": "test" - }, - { - "Input": "The sum of two numbers is ten . Three times the larger number is three less than eight times the smaller number . What is the smaller number ?", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x+y, 10.0),Eq(3.0*y, 8.0*x-3.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[3.0, 7.0]" - ], - "split": "test" - }, - { - "Input": "the greater of two consecutive even integers is six less than three times the lesser", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(2.0*k+2.0, 3.0*(2.0*k)-6.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[2.0]" - ], - "split": "test" - }, - { - "Input": "two consecutive odd integers whose sum is 164", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-1.0)+(2.0*k+1.0), 164.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[41.0]" - ], - "split": "test" - }, - { - "Input": "The sum of three consecutive even integers is 480 . Find the three integers", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(x-2.0+x+x+2.0, 480.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[160.0]" - ], - "split": "test" - }, - { - "Input": "Twice the sum of a number and 8 is 40 . Find the number", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(2.0*(x+8.0), 40.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[12.0]" - ], - "split": "test" - }, - { - "Input": "find two consecutive odd number such that when smaller number is subtracted from 3 time bigger number , the result is 56 .", - "Output Program": [ - "from sympy import *\nn = symbols('n')\nanswer = solve([Eq(3.0*(2.0*n+1.0)-2.0*n+1.0, 56.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[13.0]" - ], - "split": "test" - }, - { - "Input": "The sum of four consecutive odd integers is 360 . find the largest of the four odd integers", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k+1.0)+(2.0*k+3.0)+(2.0*k+5.0)+(2.0*k+7.0), 360.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[43.0]" - ], - "split": "test" - }, - { - "Input": "Find 3 consecutive integers whose sum is 27 ?", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq((x-1.0)+x+(x+1.0), 27.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[9.0]" - ], - "split": "test" - }, - { - "Input": "the sum of three consecutive integers is 90 find the three numbers by letting x represent the first integer and find the three numbers by letting x represent the second integer", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq((x-1.0)+x+(x+1.0), 90.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[30.0]" - ], - "split": "test" - }, - { - "Input": "what number is 5 sixths of 100 ?", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(x, 5.0*0.16666666*100.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[83.33333]" - ], - "split": "test" - }, - { - "Input": "Find five consecutive odd numbers that have a sum of 65 .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-3.0)+(2.0*k-1.0)+(2.0*k+1.0)+(2.0*k+3.0)+(2.0*k+5.0), 65.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[6.0]" - ], - "split": "test" - }, - { - "Input": "find two consecutive odd integers such that twice the lager is 17 more than the smaller", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(2.0*(2.0*k+3.0), 17.0+(2.0*k+1.0))])\nprint(answer)\n" - ], - "Output Answer": [ - "[6.0]" - ], - "split": "test" - }, - { - "Input": "If the first and third of three consecutive odd integers are added , the result is 57 less than five times the second integer . Find the third integer .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-1.0)+(2.0*k+3.0), 5.0*(2.0*k+1.0)-57.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[9.0]" - ], - "split": "test" - }, - { - "Input": "The sum of two numbers is 91 . The larger number is 1 more than 4 times the smaller number . Find the numbers .", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x+y, 91.0),Eq(x, 1.0+4.0*y)])\nprint(answer)\n" - ], - "Output Answer": [ - "[73.0, 18.0]" - ], - "split": "test" - }, - { - "Input": "find 3 consecutive integers such that the sum of twice the second and three times the third is 5 less that six times the first", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(2.0*x+3.0*(x+1.0), 6.0*(x-1.0)-5.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[14.0]" - ], - "split": "test" - }, - { - "Input": "the sum of twice and thrice of a number is 75 . find the number .", - "Output Program": [ - "from sympy import *\nn = symbols('n')\nanswer = solve([Eq(2.0*n+3.0*n, 75.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[15.0]" - ], - "split": "test" - }, - { - "Input": "one number is 11 less than the other number . If their sum is -9 , find the two numbers .", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x+11.0, y),Eq(x+y, -9.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[-10.0, 1.0]" - ], - "split": "test" - }, - { - "Input": "Find 5 consecutive odd integers such that the sum of the first and the fifth is one less than 3 times the fourth .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-1.0)+(2.0*k+7.0)+1.0, 3.0*(2.0*k+5.0))])\nprint(answer)\n" - ], - "Output Answer": [ - "[-4.0]" - ], - "split": "test" - }, - { - "Input": "what three consecutive odd integers have a sum of -75 ?", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-1.0)+(2.0*k+1.0)+(2.0*k+3.0), -75.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[-13.0]" - ], - "split": "test" - }, - { - "Input": "The product of 8 and the sum of 4 and a number is 112 . What is the number ?", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(8.0*(x+4.0), 112.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[10.0]" - ], - "split": "test" - }, - { - "Input": "find two consecutive even integers such that three times the first equals twice the second", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(3.0*(2.0*k), 2.0*(2.0*k+2.0))])\nprint(answer)\n" - ], - "Output Answer": [ - "[2.0]" - ], - "split": "test" - }, - { - "Input": "ten more than 6 times a number is 4 less than 4 times the number . Determine the number .", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(10.0+6.0*x, 4.0*x-4.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[-7.0]" - ], - "split": "test" - }, - { - "Input": "What is the sum of the arithmetic sequence 152 , 138 , 124 , , if there are 24 terms ?", - "Output Program": [ - "from sympy import *\nd,b,s = symbols('d b s')\nanswer = solve([Eq(d, 138.0-152.0),Eq(b, 152.0+24.0*d -d),Eq(2 * s, 152.0 * 24.0 +b*24.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[-216.0, -170.0, -14.0]" - ], - "split": "test" - }, - { - "Input": "I have two secret numbers . Each has two digits . The secret numbers have the same digits , only reversed . The difference between the two numbers is 54 , and the sum of the digits in each number is 10 . what are my two secret numbers ?", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(10.0*x+y-10.0*y-x, 54.0),Eq(x+y, 10.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[8.0, 2.0]" - ], - "split": "test" - }, - { - "Input": "Find two consecutive odd integers whose sum is 176 .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-1.0)+(2.0*k+1.0), 176.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[44.0]" - ], - "split": "test" - }, - { - "Input": "twice the greater of two consecutive odd integers is 13 less than three times the lesser number", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(2.0*(2.0*k+1.0), 3.0*(2.0*k-1.0)-13.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[9.0]" - ], - "split": "test" - }, - { - "Input": "15 is 25 % of what number ?", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(15.0, 0.25*x)])\nprint(answer)\n" - ], - "Output Answer": [ - "[60.0]" - ], - "split": "test" - }, - { - "Input": "find 4 consecutive integers such that the sum of the first three exceeds the 4th by 18 .", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq((x-1.0)+x+(x+1.0), 18.0+(x+2.0))])\nprint(answer)\n" - ], - "Output Answer": [ - "[10.0]" - ], - "split": "test" - }, - { - "Input": "twice the smallest of three consecutive odd integers is seven more than the largest . determine the integers .", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(2.0*(2.0*x-1.0), (2.0*x+3.0)+7.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[6.0]" - ], - "split": "test" - }, - { - "Input": "what 's 8 % of 5.00 ?", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(x, 0.08*5.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[0.4]" - ], - "split": "test" - }, - { - "Input": "one number is 2 more than three times a second number . the sum of the two numbers is 30 . find the two numbers .", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x, 2.0+3.0*y),Eq(x+y, 30.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[23.0, 7.0]" - ], - "split": "test" - }, - { - "Input": "the sum of two numbers is 68 . their difference is 16 . what are the numbers ?", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x+y, 68.0),Eq(x-y, 16.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[42.0, 26.0]" - ], - "split": "test" - }, - { - "Input": "The sum of the three smallest of four consecutive integers is 30 more than the largest integer . What are the four consecutive integers ?", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(x+(x+1.0)+(x+2.0), (x+3.0)+30.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[15.0]" - ], - "split": "test" - }, - { - "Input": "find three consecutive numbers whose sum is 90", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq((x-1.0)+x+(x+1.0), 90.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[30.0]" - ], - "split": "test" - }, - { - "Input": "find two consecutive even integers so that three times the smaller is 40 more than two times the larger", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(3.0*(2.0*k), 2.0*(2.0*k+2.0)+40.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[22.0]" - ], - "split": "test" - }, - { - "Input": "Three times a number , increased by 32 , has the same value as four times the number , decreased by 15 . Find the number .", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(3.0*x+32.0, 4.0*x-15.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[47.0]" - ], - "split": "test" - }, - { - "Input": "One number is twice another number . The larger number is also 24 more than the smaller number . Find the numbers .", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x, 2.0*y),Eq(x, 24.0+y)])\nprint(answer)\n" - ], - "Output Answer": [ - "[48.0, 24.0]" - ], - "split": "test" - }, - { - "Input": "The sum of two consecutive odd integer is 29 more than the next odd integer . Find the three integers in increasing order .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-1.0)+(2.0*k+1.0), (2.0*k+3.0)+29.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[16.0]" - ], - "split": "test" - }, - { - "Input": "Find two consecutive even integers such that the sum of twice the smaller integer plus the larger is 344 .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(2.0*2.0*k+2.0*k+2.0, 344.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[57.0]" - ], - "split": "test" - }, - { - "Input": "Five times the first of 3 consecutive even integers is 4 less than the twice of the sum of 2nd and 3rd . find the three even numbers .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(5.0*(2.0*k), 2.0*(2*2.0*k+6.0)-4.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[4.0]" - ], - "split": "test" - }, - { - "Input": "what are two consecutive even integers such that the sum of the larger and 3 times the smaller is 234 ?", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k+2.0)+3.0*(2.0*k), 234.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[29.0]" - ], - "split": "test" - }, - { - "Input": "The greater of two consecutive odd integers is one less than twice the smaller . Find the integers .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k+1.0), 2.0*(2.0*k-1.0)-1.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[2.0]" - ], - "split": "test" - }, - { - "Input": "Seperate the number 57 into two parts so that the first number is three less than twice the second number .", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x+y, 57.0),Eq(x, 2.0*y-3.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[37.0, 20.0]" - ], - "split": "test" - }, - { - "Input": "Consecutive even integers . Find four consecutive even integers whose sum is 340 .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-2.0)+2.0*k+(2.0*k+2.0)+(2.0*k+4.0), 340.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[42.0]" - ], - "split": "test" - }, - { - "Input": "what is the answer to 30 divided by 8 as a fraction ?", - "Output Program": [ - "from sympy import *\nf = symbols('f')\nanswer = solve([Eq(f * 8.0, 30.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[3.75]" - ], - "split": "test" - }, - { - "Input": "The sum of two numbers is 55 . The smaller is 5 less than the larger what are the numbers", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x+y, 55.0),Eq(x, y-5.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[25.0, 30.0]" - ], - "split": "test" - }, - { - "Input": "Find 3 consecutive odd integers such that the sum of the first and third integer is the sum of the second integer and 7", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-1.0)+(2.0*k+3.0), (2.0*k+1.0)+7.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[3.0]" - ], - "split": "test" - }, - { - "Input": "35 % of what number is 70 ?", - "Output Program": [ - "from sympy import *\nn = symbols('n')\nanswer = solve([Eq(35.0*0.01*n, 70.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[200.0]" - ], - "split": "test" - }, - { - "Input": "Find two consecutive even integers such that twice the smaller diminished by twenty is equal to the larger .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(2.0*k+2.0, 2.0*2.0*k-20.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[11.0]" - ], - "split": "test" - }, - { - "Input": "The sum of the largest and smallest of three consecutive even numbers is 68 . What are the three numbers ?", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(2.0*k-1.0+(2.0*k+3.0), 68.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[16.5]" - ], - "split": "test" - }, - { - "Input": "Find the smallest of three consecutive even integers so that four times the smallest increased by two times the largest is 32", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(4.0*x+2.0*(x+4.0), 32.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[4.0]" - ], - "split": "test" - }, - { - "Input": "If the sum of three consecutive odd integers is 69 , what is the third of the three odd integers", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-1.0)+(2.0*k+1.0)+(2.0*k+3.0), 69.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[11.0]" - ], - "split": "test" - }, - { - "Input": "The sum of two numbers is 82 . The larger number is 17 less than twice the smaller number . What are the two numbers ?", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x+y, 82.0),Eq(x+17.0, 2.0*y)])\nprint(answer)\n" - ], - "Output Answer": [ - "[49.0, 33.0]" - ], - "split": "test" - }, - { - "Input": "the sum of two consecutive even integers is -78 . find the two integers .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(2.0*k+(2.0*k+2.0), -78.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[-20.0]" - ], - "split": "test" - }, - { - "Input": "Find four consecutive integers such that twice the first subtracted from the sum of the other three integers is sixteen .", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(x+1.0+x+2.0+x+3.0-2.0*x, 16.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[10.0]" - ], - "split": "test" - }, - { - "Input": "Find three consecutive numbers such that twice the smallest number is 23 more than the largest .", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(2.0*x, 23.0+x+2.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[25.0]" - ], - "split": "test" - }, - { - "Input": "twice the sum of a number and sixteen is five less than three times the number?find the number ?", - "Output Program": [ - "from sympy import *\nn = symbols('n')\nanswer = solve([Eq(2.0*(n+16.0), 3.0*n-5.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[37.0]" - ], - "split": "test" - }, - { - "Input": "if 7 is added to a quarter of a certain number , the answer is 10 . what is the number ?", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(7.0+0.25*x, 10.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[12.0]" - ], - "split": "test" - }, - { - "Input": "When the number w is multiplied by 4 , the result is the same as when 4 is added to w . What is the value of 3w ?", - "Output Program": [ - "from sympy import *\nw = symbols('w')\nanswer = solve([Eq(4.0*w, w+4.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[1.33333333333]" - ], - "split": "test" - }, - { - "Input": "when 23 is added to 4 times a certain number the answer is 11 . Find this number", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(23.0+4.0*x, 11.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[-3.0]" - ], - "split": "test" - }, - { - "Input": "Three times the first of three consecutive odd integers is 3 more than twice the third . Find the third integer ? A 9 B 11 C 13 D 15", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(3.0*(2.0*k-1.0), 2.0*(2.0*k+3.0)+3.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[6.0]" - ], - "split": "test" - }, - { - "Input": "the sum of 4 consecutive integers of 114", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq((x-1.0)+x+(x+1.0)+(x+2.0), 114.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[28.0]" - ], - "split": "test" - }, - { - "Input": "if 5 is decreased by 3 times a number , the result is -4", - "Output Program": [ - "from sympy import *\nn = symbols('n')\nanswer = solve([Eq(5.0-3.0*n, -4.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[3.0]" - ], - "split": "test" - }, - { - "Input": "the sum of two integers is ten , three times the larger integer is three less than eight times the smaller integer .", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x+y, 10.0),Eq(3.0*y, 8.0*x-3.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[3.0, 7.0]" - ], - "split": "test" - }, - { - "Input": "Find two consecutive odd integers such that three times the first minus the second equals 24", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(3.0*2.0*k-3.0-2.0*k-1.0, 24.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[7.0]" - ], - "split": "test" - }, - { - "Input": "find three consecutive even integers such that the sum of the smallest and the largest is 36", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(x-2.0+x+2.0, 36.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[18.0]" - ], - "split": "test" - }, - { - "Input": "3 times an odd integer is 12 more than the next consecutive odd integer", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(3.0*(2.0*k-1.0), (2.0*k+1.0)+12.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[4.0]" - ], - "split": "test" - }, - { - "Input": "find three consecutive odd integers whose sum is 105", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(2.0*k-1.0+2.0*k+1.0+2.0*k+3.0, 105.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[17.0]" - ], - "split": "test" - }, - { - "Input": "The Sum of two consecutive even integers in 118 . What is the 2nd number ?", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq((2*x) + (2*x + 2) , 118.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[29.0]" - ], - "split": "test" - }, - { - "Input": "I THINK OF A NUMBER IF I MULTIPLY IT BY 6 THE ANSWER WILL BE 80 . what IS the number ?", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(6.0*x, 80.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[13.3333333333]" - ], - "split": "test" - }, - { - "Input": "The sum of 3 consecutive integers is 54 . What is the greatest of the three integers ?", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq((x-1.0)+x+(x+1.0), 54.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[18.0]" - ], - "split": "test" - }, - { - "Input": "The sum of three consecutive even integers is 54 . Find all three integers", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-2.0)+2.0*k+(2.0*k+2.0), 54.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[9.0]" - ], - "split": "test" - }, - { - "Input": "the sum of 3 consecutive integers is 33 more than the least of the integers . find the integers", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq((x-1.0)+x+(x+1.0), (x-1.0)+33.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[16.0]" - ], - "split": "test" - }, - { - "Input": "find two consecutive even integers such that five times the smaller integer is ten more than three times the larger integer", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(3.0*(x+2.0), 5.0*x-10.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[8.0]" - ], - "split": "test" - }, - { - "Input": "find two consecutive even integers such that the larger , added to eight times the smaller , equals 110", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq((2.0*x+2.0)+8.0*2.0*x, 110.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[6.0]" - ], - "split": "test" - }, - { - "Input": "five times a number is ten more than three times the number . Find the number .", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(5.0*x, 3.0*x+10.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[5.0]" - ], - "split": "test" - }, - { - "Input": "Three times the greatest of 3 consecutive even integers exceeds twice the least by 38 . Find the integers .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(3.0*(2.0*k+2.0), 2.0*(2.0*k-2.0)+38.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[14.0]" - ], - "split": "test" - }, - { - "Input": "Find two consecutive odd integers such that twice the larger is 17 more than the smaller", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(2.0*(2.0*k+1.0), (2.0*k-1.0)+17.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[7.0]" - ], - "split": "test" - }, - { - "Input": "I think of a number multiply it by 8 then subtract 66 . The result is twice the number that i was thinking .", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(8.0*x-66.0, 2.0*x)])\nprint(answer)\n" - ], - "Output Answer": [ - "[11.0]" - ], - "split": "test" - }, - { - "Input": "find five consecutive whole numbers sum 90", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq((x-2.0)+(x-1.0)+x+(x+1.0)+(x+2.0), 90.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[18.0]" - ], - "split": "test" - }, - { - "Input": "find two consecutive whole numbers , where 0.75 of the first number is 5 more than 0.5 the second number ? Let n represent the first number , and n + 1 the second number ?", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(x*0.75, (x+1.0)*0.5+5.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[22.0]" - ], - "split": "test" - }, - { - "Input": "The sum of two numbers is 56 . Their difference is 22 . Find the larger number .", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x+y, 56.0),Eq(x-y, 22.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[39.0, 17.0]" - ], - "split": "test" - }, - { - "Input": "What is the three consecutive numbers if they add up to 66", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(x+(x+1.0)+(x+2.0), 66.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[21.0]" - ], - "split": "test" - }, - { - "Input": "if the sum of a number and seven is tripled , the result is two less than twice the number . find the number ?", - "Output Program": [ - "from sympy import *\nn = symbols('n')\nanswer = solve([Eq(3.0*(n+7.0), 2.0*n-2.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[-23.0]" - ], - "split": "test" - }, - { - "Input": "the sum of three consecutive odd integers is 63 . Find the numbers", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-1.0)+(2.0*k+1.0)+(2.0*k+3.0), 63.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[10.0]" - ], - "split": "test" - }, - { - "Input": "find two consecutive integers such that the sum of twice the first integer and three times the second integer is 28", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(2.0*x+3.0*(x+1.0), 28.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[5.0]" - ], - "split": "test" - }, - { - "Input": "The larger of two numbers is four times the smaller . If their difference is eighteen , find the numbers .", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(y, 4.0*x),Eq(y-x, 18.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[6.0, 24.0]" - ], - "split": "test" - }, - { - "Input": "420 is subtracted from the product of a number and 12 . This difference is equal to 960 . What is the number ?", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(12.0*x-420.0, 960.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[115.0]" - ], - "split": "test" - }, - { - "Input": "find the four consecutive such that the sum of the first three integers is equal to the fourth", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq((x-1.0)+x+(x+1.0), x+2.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[1.0]" - ], - "split": "test" - }, - { - "Input": "Four times the difference of a number and one is equal to six times the sum of the number and three . Find the number .", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(4.0*(x-1.0), 6.0*(x+3.0))])\nprint(answer)\n" - ], - "Output Answer": [ - "[-11.0]" - ], - "split": "test" - }, - { - "Input": "Grant is thinking of two numbers . He says that one of the numbers is six times the other number decreased by 2 and the sum of the numbers is 25 . What are the numbers ?", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x, 6.0*y-2.0),Eq(x+y, 25.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[21.1428571429, 3.85714285714]" - ], - "split": "test" - }, - { - "Input": "I think of a number . I multiply the number by 5 and minus 60 . I end up with the number i started with.What is my number ?", - "Output Program": [ - "from sympy import *\nn = symbols('n')\nanswer = solve([Eq(5.0*n-60.0, n)])\nprint(answer)\n" - ], - "Output Answer": [ - "[15.0]" - ], - "split": "test" - }, - { - "Input": "What is the sum of the first 500 odd numbers ?", - "Output Program": [ - "from sympy import *\nx,n = symbols('x n')\nanswer = solve([Eq(n, 1.0+500.0*2.0-1.0*2.0),Eq(x, n*500.0*0.5 + 500 * 0.5)])\nprint(answer)\n" - ], - "Output Answer": [ - "[999.0, 250000.0]" - ], - "split": "test" - }, - { - "Input": "a number is 7 less than another . if 4 times the smaller number plus twice the larger is 46 , find the two numbers ?", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x-y, 7.0),Eq(2*x+4*y, 46)])\nprint(answer)\n" - ], - "Output Answer": [ - "[12.3333333333, 5.33333333333]" - ], - "split": "test" - }, - { - "Input": "Find Three consecutive odd integers such that the sum of the first and third equals the sum of the second and 31 .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(2.0*k-1.0+2.0*k+3.0, 2.0*k+1.0+31.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[15.0]" - ], - "split": "test" - }, - { - "Input": "What is the sum of the first 85 consecutive odd numbers ?", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(x, 85.0*(1.0+2.0*85.0-1.0)*0.5)])\nprint(answer)\n" - ], - "Output Answer": [ - "[7225.0]" - ], - "split": "test" - }, - { - "Input": "Twice the difference of a number and 3 is equal to three times the sum of the number and 5 . What is the number ?", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(2.0*(x-3.0), 3.0*(x+5.0))])\nprint(answer)\n" - ], - "Output Answer": [ - "[-21.0]" - ], - "split": "test" - }, - { - "Input": "if three times the smaller of two consecutive integers is added to four times the larger , the result is 130 . find the smaller integer .", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(3.0*x+4.0*(x+1.0), 130.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[18.0]" - ], - "split": "test" - }, - { - "Input": "3 less than 5 times a number is 11 more than the number ? Find the number .", - "Output Program": [ - "from sympy import *\nn = symbols('n')\nanswer = solve([Eq(5.0*n-3.0, 11.0+n)])\nprint(answer)\n" - ], - "Output Answer": [ - "[3.5]" - ], - "split": "test" - }, - { - "Input": "Find two consecutive even integers such that eight times the first equals seven times the second .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(8.0*(2.0*k), 7.0*(2.0*k+2.0))])\nprint(answer)\n" - ], - "Output Answer": [ - "[7.0]" - ], - "split": "test" - }, - { - "Input": "Find two consecutive integers such that the sum of 8 times the first integer and 7 times the second integer is 127", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(8.0*x+7.0*(x+1.0), 127.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[8.0]" - ], - "split": "test" - }, - { - "Input": "The sum of two numbers is 40 . The sum of twice the larger and 4 times the smaller is 108 . Find the numbers .", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x+y, 40.0),Eq(2.0*x+4.0*y, 108.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[26.0, 14.0]" - ], - "split": "test" - }, - { - "Input": "The sum of two numbers is 78 . The second is 8 more than 4 times the first . What are the two numbers ?", - "Output Program": [ - "from sympy import *\na,b = symbols('a b')\nanswer = solve([Eq(a+b, 78.0),Eq(b, 4.0*a+8.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[64.0, 14.0]" - ], - "split": "test" - }, - { - "Input": "Seven times the first of two consecutive odd integers is equal to five times the second . Find each integer .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(7.0*(2.0*k-1.0), 5.0*(2.0*k+1.0))])\nprint(answer)\n" - ], - "Output Answer": [ - "[3.0]" - ], - "split": "test" - }, - { - "Input": "find four consecutive even integers with the sum of 68", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(2.0*k-2.0+2.0*k+2.0*k+2.0+2.0*k+4.0, 68.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[8.0]" - ], - "split": "test" - }, - { - "Input": "what two consecutive odd integers have a sum of -56", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-1.0)+(2.0*k+1.0), -56.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[-14.0]" - ], - "split": "test" - }, - { - "Input": "find two numbers whose sum is 53 and whose difference is 27 . what is the larger number ? what is the smaller number ?", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x+y, 53.0),Eq(x-y, 27.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[40.0, 13.0]" - ], - "split": "test" - }, - { - "Input": "Three times the sum of five and a number is 48 . Find the number .", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(3.0*(5.0+x), 48.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[11.0]" - ], - "split": "test" - }, - { - "Input": "There are 3 consecutive odd integers . Three times the largest is seven times the smallest . What are the integers ?", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(3.0*(2.0*k+5.0), 7.0*(2.0*k+1.0))])\nprint(answer)\n" - ], - "Output Answer": [ - "[1.0]" - ], - "split": "test" - }, - { - "Input": "60 is 140 % of what number ?", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(60.0, 140.0*0.01*x)])\nprint(answer)\n" - ], - "Output Answer": [ - "[42.8571428571]" - ], - "split": "test" - }, - { - "Input": "twice the sum of a number and 3 is the same as 1 subtracted from the number . Find the number", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(2.0*(x+3.0), x-1.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[-7.0]" - ], - "split": "test" - }, - { - "Input": "Find four consecutive integers whose sum is 94 .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((k-1.0)+k+(k+1.0)+(k+2.0), 94.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[23.0]" - ], - "split": "test" - }, - { - "Input": "The difference of two numbers is 18 . Twice the smaller number is 56 less than three time the larger . What are the numbers ?", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x-y, 18.0),Eq(2.0*y, 3.0*x-56.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[20.0, 2.0]" - ], - "split": "test" - }, - { - "Input": "The sum of 2 numbers is 25 . 12 less than 4 times one of the numbers is 16 more than twice the other number . Find both numbers .", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x+y, 25.0),Eq(4.0*x-12.0, 16.0+2.0*y)])\nprint(answer)\n" - ], - "Output Answer": [ - "[13.0, 12.0]" - ], - "split": "test" - }, - { - "Input": "Four times an integer is 9 more than three times the next consecutive odd integer . What are two odd integers ?", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(4.0*(2.0*k-1.0), 3.0*(2.0*k+1.0)+9.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[8.0]" - ], - "split": "test" - }, - { - "Input": "3 Rosenberg sisters ages are consecutive odd integers . if the sum of their ages is 231 , how old is oldest sister", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(2.0*k+1.0+2.0*k+3.0+2.0*k+5.0, 231.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[37.0]" - ], - "split": "test" - }, - { - "Input": "Twice the smallest of three consecutive even integers is four more than the largest . Find the integers .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(2.0*(2.0*k-2.0), (2.0*k+2.0)+4.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[5.0]" - ], - "split": "test" - }, - { - "Input": "twice the first of three consecutive even integers minus the third equals 36 . Find the three integers .", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(2.0*2.0*x-2.0 *2.0-2.0*x-2.0, 36.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[21.0]" - ], - "split": "test" - }, - { - "Input": "five consecutive odd integers whose sum is 85", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-3.0)+(2.0*k-1.0)+(2.0*k+1.0)+(2.0*k+3.0)+(2.0*k+5.0), 85.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[8.0]" - ], - "split": "test" - }, - { - "Input": "Find two consecutive integers such that three times the first equals twice the second .", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(3.0*x, 2.0*(x+1.0))])\nprint(answer)\n" - ], - "Output Answer": [ - "[2.0]" - ], - "split": "test" - }, - { - "Input": "What is the largest of the three consecutive odd integers whose sum is 57", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k+1.0)+(2.0*k+3.0)+(2.0*k+5.0), 57.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[8.0]" - ], - "split": "test" - }, - { - "Input": "two consecutive integers whose sum is 23", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(x+(x+1.0), 23.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[11.0]" - ], - "split": "test" - }, - { - "Input": "5 less than 6 times a whole number is 9 less than 8 times that number . Find the number .", - "Output Program": [ - "from sympy import *\nn = symbols('n')\nanswer = solve([Eq(6.0*n-5.0, 8.0*n-9.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[2.0]" - ], - "split": "test" - }, - { - "Input": "The total number of medals won by athletes in each of the countries A , B , C , and D are four consecutive integers whose sum is 50 . Find the number of metals for each country", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq((x-1.0)+x+(x+1.0)+(x+2.0), 50.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[12.0]" - ], - "split": "test" - }, - { - "Input": "if the sum of three consecutive odd integers is 237 then what are the integers", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(2.0*k-1.0+2.0*k+1.0+2.0*k+3.0, 237.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[39.0]" - ], - "split": "test" - }, - { - "Input": "the sum of two numbers is -3 . if the second number is subtracted from the first , the difference is 27 . find the numbers", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x+y, -3.0),Eq(x-y, 27.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[12.0, -15.0]" - ], - "split": "test" - }, - { - "Input": "Find three consecutive even integers such that the sum of the second and third integers is 30 more than the first integer .", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(2.0*x+2.0*x+2.0, 2.0*x-2.0+30.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[13.0]" - ], - "split": "test" - }, - { - "Input": "The sum of four consecutive integers is 122 . What are the integers ?", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq((x-1.0)+x+(x+1.0)+(x+2.0), 122.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[30.0]" - ], - "split": "test" - }, - { - "Input": "The sum of two numbers is 48 . Three times the smaller number is the same as 32 more than the larger . Find the two numbers .", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x+y, 48.0),Eq(3.0*x, 32.0+y)])\nprint(answer)\n" - ], - "Output Answer": [ - "[20.0, 28.0]" - ], - "split": "test" - }, - { - "Input": "The sum of two integers is 10 . Three times the larger integer is three less than 8 times the smaller integer . Find the integers .", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x+y, 10.0),Eq(3.0*x, 8.0*y-3.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[7.0, 3.0]" - ], - "split": "test" - }, - { - "Input": "The sum of the third and twice the first of three consecutive odd integers is 49 . Find all three consecutive odd integers .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k+3.0)+2.0*(2.0*k-1.0), 49.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[8.0]" - ], - "split": "test" - }, - { - "Input": "The sum of three consecutive odd integers is 85 less than four times the first . What is the first integer", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-1.0)+(2.0*k+1.0)+(2.0*k+3.0), 4.0*(2.0*k-1.0)-85.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[46.0]" - ], - "split": "test" - }, - { - "Input": "Find two consecutive integers such that the sum of five times the smaller and three times the larger is 67", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(5.0*x+3.0*(x+1.0), 67.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[8.0]" - ], - "split": "test" - }, - { - "Input": "Find three consecutive odd integers whose sum is 123", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-1.0)+(2.0*k+1.0)+(2.0*k+3.0), 123.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[20.0]" - ], - "split": "test" - }, - { - "Input": "Three times the first of three consecutive odd integers is 3 more than twice the third . What is the third integer ?", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(3.0*(2.0*k-1.0), 2.0*(2.0*k+3.0)+3.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[6.0]" - ], - "split": "test" - }, - { - "Input": "The difference of two numbers is 48 . The second is 8 less than 5 times the first . What are the two numbers .", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x-y, 48.0),Eq(y, 5.0*x-8.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[-10.0, -58.0]" - ], - "split": "test" - }, - { - "Input": "Find two consecutive integers such that the greater of the two is 20 more than twice the smaller .", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(x+1.0, 2.0*x+20.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[-19.0]" - ], - "split": "test" - }, - { - "Input": "What three consecutive even integers have a sum of 150 ?", - "Output Program": [ - "from sympy import *\nn = symbols('n')\nanswer = solve([Eq(n+(n+2.0)+(n+4.0), 150.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[48.0]" - ], - "split": "test" - }, - { - "Input": "Find two consecutive even integers such that 3 times the smaller is 12 more than 2 times the larger .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(3.0*(2.0*k), 2.0*(2.0*k+2.0)+12.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[8.0]" - ], - "split": "test" - }, - { - "Input": "The sum of two numbers is 23 . Twice the larger number is 4 more than 4 times the smaller . What are the numbers ?", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x+y, 23.0),Eq(2.0*y, 4.0*x+4.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[7.0, 16.0]" - ], - "split": "test" - }, - { - "Input": "the sum of two numbers is 18 . their difference is 22 . what are the numbers ?", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x+y, 18.0),Eq(x-y, 22.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[20.0, -2.0]" - ], - "split": "test" - }, - { - "Input": "What 4 consecutive integers have a sum of -34", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq((x-1.0)+x+(x+1.0)+(x+2.0), -34.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[-9.0]" - ], - "split": "test" - }, - { - "Input": "For 2 consecutive integers , the result of adding the smaller integer and triple the larger integer is 79 . What are the 2 integers ?", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(x+3.0*(x+1.0), 79.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[19.0]" - ], - "split": "test" - }, - { - "Input": "Four times an integer is 30 less than five times the next consecutive integer . Find the integers .", - "Output Program": [ - "from sympy import *\nn = symbols('n')\nanswer = solve([Eq(4.0*n, 5.0*(n+1.0)-30.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[25.0]" - ], - "split": "test" - }, - { - "Input": "find three consecutive numbers whose sum is 48", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq((x-1.0)+x+(x+1.0), 48.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[16.0]" - ], - "split": "test" - }, - { - "Input": "The sum of twice a first number and five times a second number is 111 . If the second number is subtracted from five times the first number the result is 21 . Find the numbers", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(2.0*x+5.0*y, 111.0),Eq(5.0*x-y, 21.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[8.0, 19.0]" - ], - "split": "test" - }, - { - "Input": "The sum of two numbers is 6 less than twice the first number . Their difference is 10 less than four times the second number . Find each of the numbers", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x+y, 2.0*x-6.0),Eq(x-y, 4.0*y-10.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[10.0, 4.0]" - ], - "split": "test" - }, - { - "Input": "Eleven more than five times a number is equal to the difference between 227 and four times the number . Find the number .", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(5.0*x+11.0, 227.0-4.0*x)])\nprint(answer)\n" - ], - "Output Answer": [ - "[24.0]" - ], - "split": "test" - }, - { - "Input": "Find two consecutive even integers such that six times the first integer equals four times the second integer .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(6.0*(2.0*k), 4.0*(2.0*k+2.0))])\nprint(answer)\n" - ], - "Output Answer": [ - "[2.0]" - ], - "split": "test" - }, - { - "Input": "The sum of three consecutive even integers is 228 . Find the integers", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-2.0)+2.0*k+(2.0*k+2.0), 228.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[38.0]" - ], - "split": "test" - }, - { - "Input": "4 times an integer is 9 more than 3 times the next consecutive integer . What are the two integers ?", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(4.0*x, 9.0+3.0*(x+1.0))])\nprint(answer)\n" - ], - "Output Answer": [ - "[12.0]" - ], - "split": "test" - }, - { - "Input": "the greater of two numbers is 9 more than the smaller . if the smaller is added to twice the greater the result is 22 . find both numbers", - "Output Program": [ - "from sympy import *\ns,g = symbols('s g')\nanswer = solve([Eq(g, 9.0+s),Eq(2.0*g+s, 22.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[1.33333333333, 10.3333333333]" - ], - "split": "test" - }, - { - "Input": "The sum of the digits of a two digit number is 9 . If the digits are reversed , the number is increased by 45 . Find the original number .", - "Output Program": [ - "from sympy import *\nx,y,m = symbols('x y m')\nanswer = solve([Eq(m, 10.0*x+y),Eq(x+y, 9.0),Eq(10.0*y+x, 45.0+m)])\nprint(answer)\n" - ], - "Output Answer": [ - "[27.0, 2.0, 7.0]" - ], - "split": "test" - }, - { - "Input": "one integer is 3 more than twice another integer . If sum of the two integers is 36 , what is the smaller integer ?", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(y, 2.0*x+3.0),Eq(x+y, 36.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[11.0, 25.0]" - ], - "split": "test" - }, - { - "Input": "The sum of three consecutive odd numbers is 357 . What are the three numbers ?", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-1.0)+(2.0*k+1.0)+(2.0*k+3.0), 357.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[59.0]" - ], - "split": "test" - }, - { - "Input": "the sum of the numbers on two consecutive post office boxes is 547 . what are the numbers ?", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(x+x+1.0, 547.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[273.0]" - ], - "split": "test" - }, - { - "Input": "Find three consecutive even integers such that the sum of the smallest integer and twice the second is 12 more than the third .", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(x+2.0*(x+2.0), 12.0+x+4.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[6.0]" - ], - "split": "test" - }, - { - "Input": "The greater of two consecutive even integers is 6 less than three times the lesser . Find the integers .", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(x+2.0+6.0, 3.0*x)])\nprint(answer)\n" - ], - "Output Answer": [ - "[4.0]" - ], - "split": "test" - }, - { - "Input": "The sum of three consecutive integers is 87 . What are the integers ?", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq((x-1.0)+x+(x+1.0), 87.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[29.0]" - ], - "split": "test" - }, - { - "Input": "three consecutive even numbers add up to 234 . find the three numbers", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-2.0)+(2.0*k)+(2.0*k+2.0), 234.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[39.0]" - ], - "split": "test" - }, - { - "Input": "Find four consecutive integers such that twice the first subtracted from the sum of the other three is 16 .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((k+1.0)+(k+2.0)+(k+3.0)-2.0*k, 16.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[10.0]" - ], - "split": "test" - }, - { - "Input": "For two consecutive integers the sum of the smaller and twice the larger is 38 . what are the integers .", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(x+2.0*(x+1.0), 38.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[12.0]" - ], - "split": "test" - }, - { - "Input": "the greater of 2 consecutive integers is 15 more than twice the smaller", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(x+1.0, 2.0*x+15.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[-14.0]" - ], - "split": "test" - }, - { - "Input": "the sum of 2 numbers is 75 . the larger number is 3 more than the smaller number . What 're the numbers ?", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x+y, 75.0),Eq(x-3.0, y)])\nprint(answer)\n" - ], - "Output Answer": [ - "[39.0, 36.0]" - ], - "split": "test" - }, - { - "Input": "Find three of the consecutive integer whose sum is equal to six . List answers from least to greatest ?", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq((x-1.0)+x+(x+1.0), 6.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[2.0]" - ], - "split": "test" - }, - { - "Input": "The difference of two numbers is 9 and their sum is 37 . what are the numbers ?", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x-y, 9.0),Eq(x+y, 37.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[23.0, 14.0]" - ], - "split": "test" - }, - { - "Input": "if 25 is added to three times of a number 52 is obtained . find the number .", - "Output Program": [ - "from sympy import *\nn = symbols('n')\nanswer = solve([Eq(3.0*n+25.0, 52.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[9.0]" - ], - "split": "test" - }, - { - "Input": "Four times the difference of a number and six is equal to twice the number . Find the number .", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(4.0*(x-6.0), 2.0*x)])\nprint(answer)\n" - ], - "Output Answer": [ - "[12.0]" - ], - "split": "test" - }, - { - "Input": "The sum of the digits of a two digit number is 12 . The number formed by interchanging the digits is 54 more than the original number . Find the original number and its reversal .", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x+y, 12.0),Eq(10.0*y+x, 54.0+10.0*x+y)])\nprint(answer)\n" - ], - "Output Answer": [ - "[3.0, 9.0]" - ], - "split": "test" - }, - { - "Input": "if the sum of five consecutive integers is 60 , find the value of the largest integer .", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq((x-2.0)+(x-1.0)+x+(x+1.0)+(x+2.0), 60.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[12.0]" - ], - "split": "test" - }, - { - "Input": "What two numbers have a sum of 34 and a difference of 10 ?", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x+y, 34.0),Eq(x-y, 10.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[22.0, 12.0]" - ], - "split": "test" - }, - { - "Input": "Find four consecutive negative integers whose sum is -54", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(x+(x+1.0)+(x+2.0)+(x+3.0), -54.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[-15.0]" - ], - "split": "test" - }, - { - "Input": "Find 2 consecutive odd integers such that three times the first minus the second equals 24", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(3.0*2.0*k-3.0-2.0*k-1.0, 24.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[7.0]" - ], - "split": "test" - }, - { - "Input": "What are three consecutive odd integers so that five times the middle integer is nine more than twice the sum of the first and third integers ?", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(5.0*(2.0*k+1.0), 2.0*(2*2.0*k+2.0)+9.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[4.0]" - ], - "split": "test" - }, - { - "Input": "Find three consecutive odd integers such that the sum of the smallest and 4 times the largest is 61", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-1.0)+4.0*(2.0*k+3.0), 61.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[5.0]" - ], - "split": "test" - }, - { - "Input": "The sum of three consecutive odd integers is 69 . what is the largest of the integers ?", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-1.0)+(2.0*k+1.0)+(2.0*k+3.0), 69.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[11.0]" - ], - "split": "test" - }, - { - "Input": "The sum of two numbers is 42 . One number is 2 times as large as the other . What are the numbers ?", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(y, 2.0*x),Eq(x+y, 42.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[14.0, 28.0]" - ], - "split": "test" - }, - { - "Input": "The sum of two numbers is 52 . The larger number is three times the smaller number . Find the larger number", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x+y, 52.0),Eq(y, 3.0*x)])\nprint(answer)\n" - ], - "Output Answer": [ - "[13.0, 39.0]" - ], - "split": "test" - }, - { - "Input": "twice the greater of two consecutive odd integers is thirteen less than three times the lesser number ?", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(2.0*(2.0*k+1.0), 3.0*(2.0*k-1.0)-13.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[9.0]" - ], - "split": "test" - }, - { - "Input": "The sum of three consecutive odd integers is 201 . Find the integers .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-1.0)+(2.0*k+1.0)+(2.0*k+3.0), 201.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[33.0]" - ], - "split": "test" - }, - { - "Input": "One number exceeds another by -6 . The sum of the numbers is 12 . What are the numbers ?", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x, y+(-6.0)),Eq(x+y, 12.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[3.0, 9.0]" - ], - "split": "test" - }, - { - "Input": "The second of three numbers is one less than the first . The third number is five less than the second . If the first number is twice the size of the third , find the three numbers .", - "Output Program": [ - "from sympy import *\nx,y,z = symbols('x y z')\nanswer = solve([Eq(y, x-1.0),Eq(z, y-5.0),Eq(x, 2.0*z)])\nprint(answer)\n" - ], - "Output Answer": [ - "[12.0, 6.0, 11.0]" - ], - "split": "test" - }, - { - "Input": "The sum of 3 numbers is 137 . The second number is 4 more than 2 times the first number . The third is 5 less than three times the first number . Find the 3 numbers", - "Output Program": [ - "from sympy import *\nx,y,z = symbols('x y z')\nanswer = solve([Eq(x+y+z, 137.0),Eq(y, 4.0+2.0*x),Eq(z, 3.0*x-5.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[23.0, 64.0, 50.0]" - ], - "split": "test" - }, - { - "Input": "The sum of two consecutive even integers is 62 . Find the larger number .", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(2.0*k+(2.0*k+2.0), 62.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[15.0]" - ], - "split": "test" - }, - { - "Input": "the sum of two consecutive integers is 185 . Find the 2 integers .", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(x+(x+1.0), 185.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[92.0]" - ], - "split": "test" - }, - { - "Input": "Three times the greatest of three consecutive even integers exceeds twice the least by 38 . What are the integers ?", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq(3.0*(2.0*k+2.0), 2.0*(2.0*k-2.0)+38.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[14.0]" - ], - "split": "test" - }, - { - "Input": "find three consecutive integers such that the sum of the first and twice the second is 98 minus three times the third", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(x+2.0*x+2.0, 98.0-3.0*x- 3.0 *2.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[15.0]" - ], - "split": "test" - }, - { - "Input": "If you have five consecutive integers such that the even integers add up to 48 what is the smallest odd integer ?", - "Output Program": [ - "from sympy import *\nx = symbols('x')\nanswer = solve([Eq(x-2.0+x+x+2.0, 48.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[16.0]" - ], - "split": "test" - }, - { - "Input": "The sum of two numbers is 12 . When one number is subtracted from three times the other , the result is 5 . Find the numbers .", - "Output Program": [ - "from sympy import *\nx,y = symbols('x y')\nanswer = solve([Eq(x+y, 12.0),Eq(3.0*y-x, 5.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[7.75, 4.25]" - ], - "split": "test" - }, - { - "Input": "the sum of two consecutive odd integers is 24 . find the two integers", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-1.0)+(2.0*k+1.0), 24.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[6.0]" - ], - "split": "test" - }, - { - "Input": "find three consecutive odd numbers whose sum is 111", - "Output Program": [ - "from sympy import *\nk = symbols('k')\nanswer = solve([Eq((2.0*k-1.0)+(2.0*k+1.0)+(2.0*k+3.0), 111.0)])\nprint(answer)\n" - ], - "Output Answer": [ - "[18.0]" - ], - "split": "test" - } - ], - "Metadata": [] -} \ No newline at end of file