id stringlengths 23 26 | text stringlengths 20 1.37k | format stringclasses 2
values | messages listlengths 2 4 ⌀ | family stringclasses 1
value | sub stringclasses 3
values | variant stringclasses 1
value | variant_of stringclasses 0
values | generator stringclasses 1
value | sources listlengths 0 0 | source_ids listlengths 0 0 | n_tokens_alea int64 8 494 | meta stringlengths 47 170 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
nlprog_det-arith-0023042 | What does 938 · 918 come to?
861084 | plain | null | nlprog_det | arith | original | null | deterministic | [] | [] | 19 | {"a": 938, "b": 918, "notation": "·", "commas": false, "carries": null, "shown": "938 · 918", "gold": "861084", "printed": "861084"} |
nlprog_det-arith-0023044 | Find the value of 70 * 9,551. 70 * 9,551 = 668,570 | plain | null | nlprog_det | arith | original | null | deterministic | [] | [] | 25 | {"a": 70, "b": 9551, "notation": "*", "commas": true, "carries": null, "shown": "70 * 9,551", "gold": "668570", "printed": "668570"} |
nlprog_det-arith-0023045 | <|start|><|user|>
Take 38 times 8,204.<|eot|>
<|assistant|>
Worked answer: 311,752<|eot|>
<|end|> | chat | [
{
"role": "user",
"content": "Take 38 times 8,204."
},
{
"role": "assistant",
"content": "Worked answer: 311,752"
}
] | nlprog_det | arith | original | null | deterministic | [] | [] | 29 | {"a": 38, "b": 8204, "notation": "multiplied by", "commas": true, "carries": null, "shown": "38 multiplied by 8,204", "gold": "311752", "printed": "311752"} |
nlprog_det-arith-0023046 | <|start|><|system|>
You are an assistant for a small office.<|eot|>
<|user|>
Arithmetic: Work out 52948 / 62. No rounding needed.<|eot|>
<|assistant|>
That gives 854.<|eot|>
<|end|> | chat | [
{
"role": "system",
"content": "You are an assistant for a small office."
},
{
"role": "user",
"content": "Arithmetic: Work out 52948 / 62. No rounding needed."
},
{
"role": "assistant",
"content": "That gives 854."
}
] | nlprog_det | arith | original | null | deterministic | [] | [] | 47 | {"a": 52948, "b": 62, "notation": "/", "commas": false, "carries": null, "shown": "52948 / 62", "gold": "854", "printed": "854"} |
nlprog_det-arith-0023047 | Figure out 38064 ÷ 78. Show the computation.
Python does the arithmetic:
```python
print(38064 // 78)
```
Run output: 488
Which gives 488. | plain | null | nlprog_det | arith | original | null | deterministic | [] | [] | 65 | {"a": 38064, "b": 78, "notation": "÷", "commas": false, "carries": null, "shown": "38064 ÷ 78", "gold": "488", "printed": "488"} |
nlprog_det-arith-0023048 | Find the value of 5 × 6,637. Exact answer, please.
As a program:
```python
print(5 * 6637)
```
Out = 33185
Final value: 33,185 | plain | null | nlprog_det | arith | original | null | deterministic | [] | [] | 61 | {"a": 5, "b": 6637, "notation": "×", "commas": true, "carries": null, "shown": "5 × 6,637", "gold": "33185", "printed": "33185"} |
nlprog_det-arith-0023049 | <|start|><|system|>
Respond clearly and to the point.<|eot|>
<|user|>
Mental arithmetic: What do you get for the difference between 400 and 389? No rounding needed.<|eot|>
<|assistant|>
11<|eot|>
<|end|> | chat | [
{
"role": "system",
"content": "Respond clearly and to the point."
},
{
"role": "user",
"content": "Mental arithmetic: What do you get for the difference between 400 and 389? No rounding needed."
},
{
"role": "assistant",
"content": "11"
}
] | nlprog_det | arith | original | null | deterministic | [] | [] | 42 | {"a": 400, "b": 389, "notation": "difference", "commas": false, "carries": 2, "shown": "the difference between 400 and 389", "gold": "11", "printed": "11"} |
nlprog_det-arith-0023050 | Calculation: Please find 13 multiplied by 9096.
In parts:
13 × 9090 = 118170
13 × 6 = 78
118170 + 78 = 118248
118248 | plain | null | nlprog_det | arith | original | null | deterministic | [] | [] | 51 | {"a": 13, "b": 9096, "notation": "multiplied by", "commas": false, "carries": null, "shown": "13 multiplied by 9096", "gold": "118248", "printed": "118248"} |
nlprog_det-arith-0023051 | Sum check: Determine 82 + 65.
Script:
```python
print(82 + 65) # 147
```
The program prints: 147
This yields 147. | plain | null | nlprog_det | arith | original | null | deterministic | [] | [] | 53 | {"a": 82, "b": 65, "notation": "+", "commas": false, "carries": 1, "shown": "82 + 65", "gold": "147", "printed": "147"} |
nlprog_det-arith-0023052 | Share 72,890 equally among 370.
Expression 72890 // 370, value 197.
That is 197. | plain | null | nlprog_det | arith | original | null | deterministic | [] | [] | 35 | {"a": 72890, "b": 370, "notation": "divided by", "commas": true, "carries": null, "shown": "72,890 divided by 370", "gold": "197", "printed": "197"} |
nlprog_det-arith-0023053 | Calculation: Please find the difference between 5,000 and 1,154.
The program:
```python
print(5000 - 1154) # 3846
```
(Console output: 3846)
So it is 3,846. | plain | null | nlprog_det | arith | original | null | deterministic | [] | [] | 68 | {"a": 5000, "b": 1154, "notation": "difference", "commas": true, "carries": 3, "shown": "the difference between 5,000 and 1,154", "gold": "3846", "printed": "3846"} |
nlprog_det-arith-0023054 | Evaluate 397 x 136.
As a Python expression: 397 * 136
Evaluated: 53992
53,992 | plain | null | nlprog_det | arith | original | null | deterministic | [] | [] | 39 | {"a": 397, "b": 136, "notation": "x", "commas": true, "carries": null, "shown": "397 x 136", "gold": "53992", "printed": "53992"} |
nlprog_det-arith-0023055 | Problem: Find 824 + 622. Give the exact value.
Computation in Python:
```python
print(824 + 622) # 1446
```
Python prints: 1446
It comes out as 1446. | plain | null | nlprog_det | arith | original | null | deterministic | [] | [] | 73 | {"a": 824, "b": 622, "notation": "+", "commas": false, "carries": 1, "shown": "824 + 622", "gold": "1446", "printed": "1446"} |
nlprog_det-arith-0023056 | Bookkeeping check: Solve: 116 + 282
A few lines of Python do it:
print(116 + 282) # 398
Execution result — 398
398 | plain | null | nlprog_det | arith | original | null | deterministic | [] | [] | 52 | {"a": 116, "b": 282, "notation": "+", "commas": true, "carries": 0, "shown": "116 + 282", "gold": "398", "printed": "398"} |
nlprog_det-arith-0023057 | <|start|><|system|>
Functions:
{"name": "compute", "description": "Executes a Python program and returns its output.", "parameters": {"type": "object", "properties": {"code": {"type": "string", "description": "Python source code"}}, "required": ["code"]}}<|eot|>
<|user|>
Basic math: Calculate 511 minus 314.<|eot|>
<|as... | chat | [
{
"role": "system",
"content": "Functions:\n{\"name\": \"compute\", \"description\": \"Executes a Python program and returns its output.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"code\": {\"type\": \"string\", \"description\": \"Python source code\"}}, \"required\": [\"code\"]}}"
},
{... | nlprog_det | arith | original | null | deterministic | [] | [] | 167 | {"a": 511, "b": 314, "notation": "minus", "commas": false, "carries": 2, "shown": "511 minus 314", "gold": "197", "printed": "197"} |
nlprog_det-arith-0023059 | <|start|><|system|>
You are a study helper for students.<|eot|>
<|user|>
Find 304 multiplied by 944.<|eot|>
<|assistant|>
```python
print(304 * 944) # 286976
```
stdout — 286976
286,976<|eot|>
<|end|> | chat | [
{
"role": "system",
"content": "You are a study helper for students."
},
{
"role": "user",
"content": "Find 304 multiplied by 944."
},
{
"role": "assistant",
"content": "```python\nprint(304 * 944) # 286976\n```\nstdout — 286976\n\n286,976"
}
] | nlprog_det | arith | original | null | deterministic | [] | [] | 71 | {"a": 304, "b": 944, "notation": "times", "commas": true, "carries": null, "shown": "304 times 944", "gold": "286976", "printed": "286976"} |
nlprog_det-arith-0023060 | Drill: Evaluate 69 - 63.
Computation in Python:
```python
print(69 - 63)
```
(Output: 6)
The figure is 6. | plain | null | nlprog_det | arith | original | null | deterministic | [] | [] | 55 | {"a": 69, "b": 63, "notation": "-", "commas": true, "carries": 0, "shown": "69 - 63", "gold": "6", "printed": "6"} |
nlprog_det-arith-0023061 | 3000 - 1191 equals
Here is a short program for it.
```python
print(3000 - 1191)
```
Output = 1809
Upshot:
1809 | plain | null | nlprog_det | arith | original | null | deterministic | [] | [] | 54 | {"a": 3000, "b": 1191, "notation": "-", "commas": false, "carries": 3, "shown": "3000 - 1191", "gold": "1809", "printed": "1809"} |
nlprog_det-arith-0023062 | Calculate 5 x 87. 435 | plain | null | nlprog_det | arith | original | null | deterministic | [] | [] | 11 | {"a": 5, "b": 87, "notation": "x", "commas": false, "carries": null, "shown": "5 x 87", "gold": "435", "printed": "435"} |
nlprog_det-arith-0023063 | <|start|><|user|>
Calculate the difference between 1,000 and 93.<|eot|>
<|assistant|>
```python
print(1000 - 93) # 907
```
Execution prints 907, as expected.
It's 907.<|eot|>
<|end|> | chat | [
{
"role": "user",
"content": "Calculate the difference between 1,000 and 93."
},
{
"role": "assistant",
"content": "```python\nprint(1000 - 93) # 907\n```\nExecution prints 907, as expected.\n\nIt's 907."
}
] | nlprog_det | arith | original | null | deterministic | [] | [] | 63 | {"a": 1000, "b": 93, "notation": "difference", "commas": true, "carries": 3, "shown": "the difference between 1,000 and 93", "gold": "907", "printed": "907"} |
nlprog_det-arith-0023064 | Practice set: Give the value of 506520 ÷ 670. Double-check it.
Working:
506520 ÷ 670 = 756
check: 670 × 756 = 506520
So: 756. | plain | null | nlprog_det | arith | original | null | deterministic | [] | [] | 64 | {"a": 506520, "b": 670, "notation": "÷", "commas": false, "carries": null, "shown": "506520 ÷ 670", "gold": "756", "printed": "756"} |
nlprog_det-arith-0023065 | Calculate 300 minus 145.
Computing it:
```python
print(300 - 145) # 155
```
When run, it prints 155, as expected.
Works out to: 155 | plain | null | nlprog_det | arith | original | null | deterministic | [] | [] | 63 | {"a": 300, "b": 145, "notation": "minus", "commas": true, "carries": 2, "shown": "300 minus 145", "gold": "155", "printed": "155"} |
nlprog_det-arith-0023067 | Find the value of 8923 + 8729. No rounding needed.
In code: 8923 + 8729
It evaluates to 17652.
17652 | plain | null | nlprog_det | arith | original | null | deterministic | [] | [] | 39 | {"a": 8923, "b": 8729, "notation": "+", "commas": false, "carries": 3, "shown": "8923 + 8729", "gold": "17652", "printed": "17652"} |
nlprog_det-arith-0023068 | Exercise: What's 23306 divided by 43?
In code: 23306 // 43
It evaluates to 542.
Which gives 542. | plain | null | nlprog_det | arith | original | null | deterministic | [] | [] | 40 | {"a": 23306, "b": 43, "notation": "divided by", "commas": false, "carries": null, "shown": "23306 divided by 43", "gold": "542", "printed": "542"} |
nlprog_det-arith-0023070 | Drill: What do you get for 2,000 - 682?
2000 − 600 = 1400
1400 − 82 = 1318
1,318 is the answer. | plain | null | nlprog_det | arith | original | null | deterministic | [] | [] | 45 | {"a": 2000, "b": 682, "notation": "-", "commas": true, "carries": 3, "shown": "2,000 - 682", "gold": "1318", "printed": "1318"} |
nlprog_det-arith-0023071 | <|start|><|system|>
Tools (call with JSON):
{"name": "eval_python", "description": "Python sandbox for calculations. Returns printed text.", "parameters": {"type": "object", "properties": {"code": {"type": "string", "description": "Python source code"}}, "required": ["code"]}}
{"name": "business_days", "description": "... | chat | [
{
"role": "system",
"content": "Tools (call with JSON):\n{\"name\": \"eval_python\", \"description\": \"Python sandbox for calculations. Returns printed text.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"code\": {\"type\": \"string\", \"description\": \"Python source code\"}}, \"required\": ... | nlprog_det | arith | original | null | deterministic | [] | [] | 257 | {"a": 500, "b": 453, "notation": "difference", "commas": false, "carries": 2, "shown": "the difference between 500 and 453", "gold": "47", "printed": "47"} |
nlprog_det-arith-0023072 | Give the value of 2587 / 13.
Program: print(2587 // 13)
Printed: 199
199 it is. | plain | null | nlprog_det | arith | original | null | deterministic | [] | [] | 34 | {"a": 2587, "b": 13, "notation": "/", "commas": false, "carries": null, "shown": "2587 / 13", "gold": "199", "printed": "199"} |
nlprog_det-arith-0023074 | Mental math: Work out the difference between 273 and 236. Exact answer, please.
Break it up:
273 − 200 = 73
73 − 36 = 37
37 | plain | null | nlprog_det | arith | original | null | deterministic | [] | [] | 47 | {"a": 273, "b": 236, "notation": "difference", "commas": false, "carries": 1, "shown": "the difference between 273 and 236", "gold": "37", "printed": "37"} |
nlprog_det-arith-0023075 | Arithmetic: Solve: 400 - 256
Computing it:
```python
print(400 - 256) # 144
```
Execution prints: 144
Hence 144. | plain | null | nlprog_det | arith | original | null | deterministic | [] | [] | 54 | {"a": 400, "b": 256, "notation": "-", "commas": true, "carries": 2, "shown": "400 - 256", "gold": "144", "printed": "144"} |
nlprog_det-arith-0023076 | For the ledger: Find 226 x 200.
Typed into Python, 226 * 200 returns 45200.
Hence — 45200 | plain | null | nlprog_det | arith | original | null | deterministic | [] | [] | 40 | {"a": 226, "b": 200, "notation": "x", "commas": false, "carries": null, "shown": "226 x 200", "gold": "45200", "printed": "45200"} |
nlprog_det-arith-0023078 | Exercise: How much is 217 - 48?
Python:
```python
print(217 - 48)
```
Running this gives 169.
169 | plain | null | nlprog_det | arith | original | null | deterministic | [] | [] | 51 | {"a": 217, "b": 48, "notation": "-", "commas": false, "carries": 2, "shown": "217 - 48", "gold": "169", "printed": "169"} |
nlprog_det-arith-0023079 | <|start|><|system|>
You may call the tools below.
[{"name": "convert_units", "description": "Convert a quantity between units.", "parameters": {"type": "object", "properties": {"value": {"type": "number"}, "from_unit": {"type": "string"}, "to_unit": {"type": "string"}}, "required": ["value", "from_unit", "to_unit"]}}, ... | chat | [
{
"role": "system",
"content": "You may call the tools below.\n[{\"name\": \"convert_units\", \"description\": \"Convert a quantity between units.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"value\": {\"type\": \"number\"}, \"from_unit\": {\"type\": \"string\"}, \"to_unit\": {\"type\": \"st... | nlprog_det | arith | original | null | deterministic | [] | [] | 253 | {"a": 205, "b": 564, "notation": "plus", "commas": true, "carries": 0, "shown": "205 plus 564", "gold": "769", "printed": "769"} |
nlprog_det-arith-0023081 | Quick check: Calculate 41 · 25. Integers only.
41 · 25 = 1025 | plain | null | nlprog_det | arith | original | null | deterministic | [] | [] | 27 | {"a": 41, "b": 25, "notation": "·", "commas": false, "carries": null, "shown": "41 · 25", "gold": "1025", "printed": "1025"} |
nlprog_det-arith-0023082 | 485 plus 788 is how much?
We write it as a program:
```python
print(485 + 788) # 1273
```
Printed: 1273
So it is 1,273. | plain | null | nlprog_det | arith | original | null | deterministic | [] | [] | 57 | {"a": 485, "b": 788, "notation": "plus", "commas": true, "carries": 3, "shown": "485 plus 788", "gold": "1273", "printed": "1273"} |
nlprog_det-arith-0023083 | Bookkeeping check: Tell me 79,734 divided by 97.
Written as code:
```python
print(79734 // 97) # 822
```
Printed result — 822
It must be 822. | plain | null | nlprog_det | arith | original | null | deterministic | [] | [] | 66 | {"a": 79734, "b": 97, "notation": "divided by", "commas": true, "carries": null, "shown": "79,734 divided by 97", "gold": "822", "printed": "822"} |
nlprog_det-arith-0023084 | Sum check: How much is 306 × 62? 306 × 62 = 18972 | plain | null | nlprog_det | arith | original | null | deterministic | [] | [] | 24 | {"a": 306, "b": 62, "notation": "×", "commas": false, "carries": null, "shown": "306 × 62", "gold": "18972", "printed": "18972"} |
nlprog_det-arith-0023085 | Work out 79 × 20. Keep it short.
79 × 20 = 1,580 | plain | null | nlprog_det | arith | original | null | deterministic | [] | [] | 25 | {"a": 79, "b": 20, "notation": "×", "commas": true, "carries": null, "shown": "79 × 20", "gold": "1580", "printed": "1580"} |
nlprog_det-arith-0023086 | Mental math: I need 71 added to 59.
130 | plain | null | nlprog_det | arith | original | null | deterministic | [] | [] | 17 | {"a": 59, "b": 71, "notation": "added", "commas": false, "carries": 2, "shown": "71 added to 59", "gold": "130", "printed": "130"} |
nlprog_det-arith-0023087 | <|start|><|user|>
Find the value of 7562 / 38.<|eot|>
<|assistant|>
199<|eot|>
<|end|> | chat | [
{
"role": "user",
"content": "Find the value of 7562 / 38."
},
{
"role": "assistant",
"content": "199"
}
] | nlprog_det | arith | original | null | deterministic | [] | [] | 22 | {"a": 7562, "b": 38, "notation": "/", "commas": false, "carries": null, "shown": "7562 / 38", "gold": "199", "printed": "199"} |
nlprog_det-arith-0023088 | <|start|><|system|>
You are an assistant for a small office.<|eot|>
<|user|>
Add 7569 and 9218.<|eot|>
<|assistant|>
```python
print(7569 + 9218) # 16787
```
That prints: 16787
Calculated value:
16787<|eot|>
<|end|> | chat | [
{
"role": "system",
"content": "You are an assistant for a small office."
},
{
"role": "user",
"content": "Add 7569 and 9218."
},
{
"role": "assistant",
"content": "```python\nprint(7569 + 9218) # 16787\n```\nThat prints: 16787\n\nCalculated value:\n16787"
}
] | nlprog_det | arith | original | null | deterministic | [] | [] | 75 | {"a": 7569, "b": 9218, "notation": "sum", "commas": false, "carries": 2, "shown": "the sum of 7569 and 9218", "gold": "16787", "printed": "16787"} |
nlprog_det-arith-0023089 | Try this: Tell me 18,648 ÷ 36.
As a Python expression: 18648 // 36
Evaluated: 518
Thus 518. | plain | null | nlprog_det | arith | original | null | deterministic | [] | [] | 46 | {"a": 18648, "b": 36, "notation": "÷", "commas": true, "carries": null, "shown": "18,648 ÷ 36", "gold": "518", "printed": "518"} |
nlprog_det-arith-0023092 | Homework: 3 x 13 = 39 | plain | null | nlprog_det | arith | original | null | deterministic | [] | [] | 11 | {"a": 3, "b": 13, "notation": "x", "commas": false, "carries": null, "shown": "3 x 13", "gold": "39", "printed": "39"} |
nlprog_det-arith-0023093 | Warm-up: 33957 / 77 =
A Python solution:
```python
print(33957 // 77) # 441
```
The run gives 441, as expected.
Final value: 441 | plain | null | nlprog_det | arith | original | null | deterministic | [] | [] | 64 | {"a": 33957, "b": 77, "notation": "/", "commas": false, "carries": null, "shown": "33957 / 77", "gold": "441", "printed": "441"} |
nlprog_det-arith-0023094 | <|start|><|user|>
Divide 1,173 by 391.<|eot|>
<|assistant|>
print(1173 // 391) # 3
Result:
3
Therefore: 3<|eot|>
<|end|> | chat | [
{
"role": "user",
"content": "Divide 1,173 by 391."
},
{
"role": "assistant",
"content": " print(1173 // 391) # 3\nResult:\n3\n\nTherefore: 3"
}
] | nlprog_det | arith | original | null | deterministic | [] | [] | 45 | {"a": 1173, "b": 391, "notation": "quotient", "commas": true, "carries": null, "shown": "the quotient of 1,173 and 391", "gold": "3", "printed": "3"} |
nlprog_det-arith-0023096 | <|start|><|user|>
Remove 1,964 from 2,822; what is left?<|eot|>
<|assistant|>
```python
print(2822 - 1964) # 858
```
This prints: 858
So: 858.<|eot|>
<|end|> | chat | [
{
"role": "user",
"content": "Remove 1,964 from 2,822; what is left?"
},
{
"role": "assistant",
"content": "```python\nprint(2822 - 1964) # 858\n```\nThis prints: 858\n\nSo: 858."
}
] | nlprog_det | arith | original | null | deterministic | [] | [] | 63 | {"a": 2822, "b": 1964, "notation": "minus", "commas": true, "carries": 3, "shown": "2,822 minus 1,964", "gold": "858", "printed": "858"} |
nlprog_det-arith-0023097 | <|start|><|system|>
You are a teaching assistant.<|eot|>
<|user|>
Give the value of 9 x 24.<|eot|>
<|assistant|>
9 x 24 = 216<|eot|>
<|end|> | chat | [
{
"role": "system",
"content": "You are a teaching assistant."
},
{
"role": "user",
"content": "Give the value of 9 x 24."
},
{
"role": "assistant",
"content": "9 x 24 = 216"
}
] | nlprog_det | arith | original | null | deterministic | [] | [] | 35 | {"a": 9, "b": 24, "notation": "x", "commas": true, "carries": null, "shown": "9 x 24", "gold": "216", "printed": "216"} |
nlprog_det-arith-0023098 | Give the value of 57920 / 64.
By place value:
57920 ÷ 64 = 905
check: 64 × 905 = 57920
So the result is 905. | plain | null | nlprog_det | arith | original | null | deterministic | [] | [] | 51 | {"a": 57920, "b": 64, "notation": "/", "commas": false, "carries": null, "shown": "57920 / 64", "gold": "905", "printed": "905"} |
nlprog_det-arith-0023099 | Mental arithmetic: Evaluate 34801 - 16045. No rounding needed.
Script:
```python
print(34801 - 16045) # 18756
```
Running this gives: 18756
All told, 18756. | plain | null | nlprog_det | arith | original | null | deterministic | [] | [] | 71 | {"a": 34801, "b": 16045, "notation": "-", "commas": false, "carries": 3, "shown": "34801 - 16045", "gold": "18756", "printed": "18756"} |
nlprog_det-arith-0023100 | What is 60605 / 391? Exact answer, please.
>>> print(60605 // 391)
155
So the answer is 155. | plain | null | nlprog_det | arith | original | null | deterministic | [] | [] | 44 | {"a": 60605, "b": 391, "notation": "/", "commas": false, "carries": null, "shown": "60605 / 391", "gold": "155", "printed": "155"} |
nlprog_det-arith-0023101 | Evaluate 835 * 5. Integers only.
Break it up:
830 × 5 = 4150
5 × 5 = 25
4150 + 25 = 4175
Computed value: 4175 | plain | null | nlprog_det | arith | original | null | deterministic | [] | [] | 57 | {"a": 835, "b": 5, "notation": "*", "commas": false, "carries": null, "shown": "835 * 5", "gold": "4175", "printed": "4175"} |
nlprog_det-arith-0023102 | <|start|><|system|>
Use a tool when a calculation is needed. Tools:
[{"name": "py_exec", "description": "Run Python code in a sandbox; the result is whatever the code prints.", "parameters": {"type": "object", "properties": {"snippet": {"type": "string", "description": "Python source code"}}, "required": ["snippet"]}}]... | chat | [
{
"role": "system",
"content": "Use a tool when a calculation is needed. Tools:\n[{\"name\": \"py_exec\", \"description\": \"Run Python code in a sandbox; the result is whatever the code prints.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"snippet\": {\"type\": \"string\", \"description\": \... | nlprog_det | arith | original | null | deterministic | [] | [] | 201 | {"a": 64108, "b": 43307, "notation": "+", "commas": true, "carries": 2, "shown": "64,108 + 43,307", "gold": "107415", "printed": "107415"} |
nlprog_det-arith-0023103 | <|start|><|system|>
Functions:
[{"name": "fetch_filing", "description": "Fetch an SEC filing by accession number.", "parameters": {"type": "object", "properties": {"accession": {"type": "string"}}, "required": ["accession"]}}, {"name": "python", "description": "Evaluates Python and returns the printed output.", "parame... | chat | [
{
"role": "system",
"content": "Functions:\n[{\"name\": \"fetch_filing\", \"description\": \"Fetch an SEC filing by accession number.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"accession\": {\"type\": \"string\"}}, \"required\": [\"accession\"]}}, {\"name\": \"python\", \"description\": \"... | nlprog_det | arith | original | null | deterministic | [] | [] | 209 | {"a": 5000, "b": 4024, "notation": "difference", "commas": true, "carries": 3, "shown": "the difference between 5,000 and 4,024", "gold": "976", "printed": "976"} |
nlprog_det-arith-0023105 | From the workbook: Calculate 44380 / 70. 44380 / 70 = 634 | plain | null | nlprog_det | arith | original | null | deterministic | [] | [] | 23 | {"a": 44380, "b": 70, "notation": "/", "commas": false, "carries": null, "shown": "44380 / 70", "gold": "634", "printed": "634"} |
nlprog_det-arith-0023106 | What does 521 × 989 come to?
So we have 515,269. | plain | null | nlprog_det | arith | original | null | deterministic | [] | [] | 25 | {"a": 521, "b": 989, "notation": "×", "commas": true, "carries": null, "shown": "521 × 989", "gold": "515269", "printed": "515269"} |
nlprog_det-arith-0023108 | Figure out 37 + 15.
Thus 52. | plain | null | nlprog_det | arith | original | null | deterministic | [] | [] | 15 | {"a": 37, "b": 15, "notation": "+", "commas": true, "carries": 1, "shown": "37 + 15", "gold": "52", "printed": "52"} |
nlprog_det-arith-0023110 | Determine the difference between 500 and 210. Give the exact value.
290 | plain | null | nlprog_det | arith | original | null | deterministic | [] | [] | 22 | {"a": 500, "b": 210, "notation": "difference", "commas": true, "carries": 1, "shown": "the difference between 500 and 210", "gold": "290", "printed": "290"} |
nlprog_det-arith-0023111 | <|start|><|user|>
Problem: Can you work out 2234 subtracted from 3000? Exact answer, please.<|eot|>
<|assistant|>
766<|eot|>
<|end|> | chat | [
{
"role": "user",
"content": "Problem: Can you work out 2234 subtracted from 3000? Exact answer, please."
},
{
"role": "assistant",
"content": "766"
}
] | nlprog_det | arith | original | null | deterministic | [] | [] | 36 | {"a": 3000, "b": 2234, "notation": "subtract", "commas": false, "carries": 3, "shown": "2234 subtracted from 3000", "gold": "766", "printed": "766"} |
nlprog_det-arith-0023112 | Add 17156 and 4380.
Code:
```python
print(17156 + 4380)
```
The program outputs 21536.
So:
21536 | plain | null | nlprog_det | arith | original | null | deterministic | [] | [] | 54 | {"a": 17156, "b": 4380, "notation": "added", "commas": false, "carries": 2, "shown": "4380 added to 17156", "gold": "21536", "printed": "21536"} |
nlprog_det-arith-0023113 | Quick check: Find 5000 − 4715.
Program: print(5000 - 4715)
Printed: 285
Thus 285. | plain | null | nlprog_det | arith | original | null | deterministic | [] | [] | 40 | {"a": 5000, "b": 4715, "notation": "−", "commas": false, "carries": 3, "shown": "5000 − 4715", "gold": "285", "printed": "285"} |
nlprog_det-arith-0023114 | <|start|><|user|>
What does 9 × 6 come to?<|eot|>
<|assistant|>
print(9 * 6) # 54
stdout = 54
So the answer is 54.<|eot|>
<|end|> | chat | [
{
"role": "user",
"content": "What does 9 × 6 come to?"
},
{
"role": "assistant",
"content": " print(9 * 6) # 54\nstdout = 54\n\nSo the answer is 54."
}
] | nlprog_det | arith | original | null | deterministic | [] | [] | 44 | {"a": 9, "b": 6, "notation": "×", "commas": true, "carries": null, "shown": "9 × 6", "gold": "54", "printed": "54"} |
nlprog_det-arith-0023115 | For the ledger: Can you work out 37450 divided by 50? Use Python if it helps.
In the end: 749. | plain | null | nlprog_det | arith | original | null | deterministic | [] | [] | 35 | {"a": 37450, "b": 50, "notation": "divided by", "commas": false, "carries": null, "shown": "37450 divided by 50", "gold": "749", "printed": "749"} |
nlprog_det-arith-0023117 | Take 345 away from 400.
400 − 300 = 100
100 − 45 = 55
55 exactly. | plain | null | nlprog_det | arith | original | null | deterministic | [] | [] | 28 | {"a": 400, "b": 345, "notation": "difference", "commas": false, "carries": 2, "shown": "the difference between 400 and 345", "gold": "55", "printed": "55"} |
nlprog_det-arith-0023119 | Exercise: Tell me 14350 ÷ 70.
The Python version:
```python
print(14350 // 70) # 205
```
Execution result: 205
Final: 205. | plain | null | nlprog_det | arith | original | null | deterministic | [] | [] | 64 | {"a": 14350, "b": 70, "notation": "÷", "commas": false, "carries": null, "shown": "14350 ÷ 70", "gold": "205", "printed": "205"} |
nlprog_det-arith-0023121 | Combine 709 and 488.
Step by step:
709 + 400 = 1109
1109 + 88 = 1197
Answer - 1197 | plain | null | nlprog_det | arith | original | null | deterministic | [] | [] | 41 | {"a": 709, "b": 488, "notation": "sum", "commas": false, "carries": 2, "shown": "the sum of 709 and 488", "gold": "1197", "printed": "1197"} |
nlprog_det-arith-0023122 | Quiz: Give the value of 40 · 8.
40 · 8 = 320 | plain | null | nlprog_det | arith | original | null | deterministic | [] | [] | 22 | {"a": 40, "b": 8, "notation": "·", "commas": true, "carries": null, "shown": "40 · 8", "gold": "320", "printed": "320"} |
nlprog_det-arith-0023123 | Quiz: Compute 732 + 500. It's 1,232. | plain | null | nlprog_det | arith | original | null | deterministic | [] | [] | 20 | {"a": 732, "b": 500, "notation": "+", "commas": true, "carries": 1, "shown": "732 + 500", "gold": "1232", "printed": "1232"} |
nlprog_det-arith-0023124 | Total 56500 and 52916.
We can compute it in Python.
print(56500 + 52916) # 109416
Run output: 109416
109416 | plain | null | nlprog_det | arith | original | null | deterministic | [] | [] | 54 | {"a": 56500, "b": 52916, "notation": "plus", "commas": false, "carries": 2, "shown": "56500 plus 52916", "gold": "109416", "printed": "109416"} |
nlprog_det-arith-0023125 | Compute 344 multiplied by 414. Give the exact value.
Program:
```python
print(344 * 414) # 142416
```
Run result: 142416
142416 | plain | null | nlprog_det | arith | original | null | deterministic | [] | [] | 60 | {"a": 344, "b": 414, "notation": "multiplied by", "commas": false, "carries": null, "shown": "344 multiplied by 414", "gold": "142416", "printed": "142416"} |
nlprog_det-arith-0023127 | <|start|><|system|>
You may call the tools below.
{"name": "py_exec", "description": "Python sandbox for calculations. Returns printed text.", "parameters": {"type": "object", "properties": {"code": {"type": "string", "description": "Python source code"}}, "required": ["code"]}}<|eot|>
<|user|>
Divide 42875 by 49.<|eot... | chat | [
{
"role": "system",
"content": "You may call the tools below.\n{\"name\": \"py_exec\", \"description\": \"Python sandbox for calculations. Returns printed text.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"code\": {\"type\": \"string\", \"description\": \"Python source code\"}}, \"required\"... | nlprog_det | arith | original | null | deterministic | [] | [] | 177 | {"a": 42875, "b": 49, "notation": "divided by", "commas": false, "carries": null, "shown": "42875 divided by 49", "gold": "875", "printed": "875"} |
nlprog_det-arith-0023128 | <|start|><|user|>
Divide 27231 by 29.<|eot|>
<|assistant|>
print(27231 // 29) # 939
# program output: 939
Conclusion: 939<|eot|>
<|end|> | chat | [
{
"role": "user",
"content": "Divide 27231 by 29."
},
{
"role": "assistant",
"content": " print(27231 // 29) # 939\n# program output: 939\n\nConclusion: 939"
}
] | nlprog_det | arith | original | null | deterministic | [] | [] | 46 | {"a": 27231, "b": 29, "notation": "divided by", "commas": false, "carries": null, "shown": "27231 divided by 29", "gold": "939", "printed": "939"} |
nlprog_det-arith-0023129 | What is 295 × 777?
The computation:
```python
print(295 * 777) # 229215
```
Output of the run — 229215
This gives us 229215. | plain | null | nlprog_det | arith | original | null | deterministic | [] | [] | 64 | {"a": 295, "b": 777, "notation": "×", "commas": false, "carries": null, "shown": "295 × 777", "gold": "229215", "printed": "229215"} |
nlprog_det-arith-0023130 | <|start|><|user|>
Determine the difference between 47 and 19.<|eot|>
<|assistant|>
```python
print(47 - 19) # 28
```
Program output — 28
Obtained: 28<|eot|>
<|end|> | chat | [
{
"role": "user",
"content": "Determine the difference between 47 and 19."
},
{
"role": "assistant",
"content": "```python\nprint(47 - 19) # 28\n```\nProgram output — 28\n\nObtained: 28"
}
] | nlprog_det | arith | original | null | deterministic | [] | [] | 52 | {"a": 47, "b": 19, "notation": "difference", "commas": true, "carries": 1, "shown": "the difference between 47 and 19", "gold": "28", "printed": "28"} |
nlprog_det-arith-0023131 | <|start|><|user|>
What is 148 subtracted from 787? Keep it short.<|eot|>
<|assistant|>
639 — that is the result.<|eot|>
<|end|> | chat | [
{
"role": "user",
"content": "What is 148 subtracted from 787? Keep it short."
},
{
"role": "assistant",
"content": "639 — that is the result."
}
] | nlprog_det | arith | original | null | deterministic | [] | [] | 34 | {"a": 787, "b": 148, "notation": "subtract", "commas": true, "carries": 1, "shown": "148 subtracted from 787", "gold": "639", "printed": "639"} |
nlprog_det-arith-0023133 | Practice: What does 2,000 − 860 come to?
Working:
2000 − 800 = 1200
1200 − 60 = 1140
Expected answer - 1,140 | plain | null | nlprog_det | arith | original | null | deterministic | [] | [] | 51 | {"a": 2000, "b": 860, "notation": "−", "commas": true, "carries": 2, "shown": "2,000 − 860", "gold": "1140", "printed": "1140"} |
nlprog_det-arith-0023134 | Calculation: What do you get for 7,264 * 61?
The program:
```python
print(7264 * 61) # 443104
```
Running it prints 443104, as expected.
Thus 443,104. | plain | null | nlprog_det | arith | original | null | deterministic | [] | [] | 71 | {"a": 7264, "b": 61, "notation": "*", "commas": true, "carries": null, "shown": "7,264 * 61", "gold": "443104", "printed": "443104"} |
nlprog_det-arith-0023135 | Math check: I need 3216 times 81.
Expr: 3216 * 81
Result: 260496
Figure: 260496 | plain | null | nlprog_det | arith | original | null | deterministic | [] | [] | 37 | {"a": 3216, "b": 81, "notation": "times", "commas": false, "carries": null, "shown": "3216 times 81", "gold": "260496", "printed": "260496"} |
nlprog_det-arith-0023136 | <|start|><|user|>
From the workbook: Evaluate 4 * 7. Double-check it.<|eot|>
<|assistant|>
```python
print(4 * 7)
```
Executing it gives: 28
The number we want is 28.<|eot|>
<|end|> | chat | [
{
"role": "user",
"content": "From the workbook: Evaluate 4 * 7. Double-check it."
},
{
"role": "assistant",
"content": "```python\nprint(4 * 7)\n```\nExecuting it gives: 28\n\nThe number we want is 28."
}
] | nlprog_det | arith | original | null | deterministic | [] | [] | 60 | {"a": 4, "b": 7, "notation": "*", "commas": false, "carries": null, "shown": "4 * 7", "gold": "28", "printed": "28"} |
nlprog_det-arith-0023137 | Quick check: Give the value of 60 x 9. Give the exact value.
Typed into Python, 60 * 9 returns 540.
540 it is. | plain | null | nlprog_det | arith | original | null | deterministic | [] | [] | 42 | {"a": 60, "b": 9, "notation": "x", "commas": false, "carries": null, "shown": "60 x 9", "gold": "540", "printed": "540"} |
nlprog_det-arith-0023138 | Ledger line: Evaluate 5331 + 6199.
Expression 5331 + 6199, value 11530.
So: 11530. | plain | null | nlprog_det | arith | original | null | deterministic | [] | [] | 42 | {"a": 5331, "b": 6199, "notation": "+", "commas": false, "carries": 3, "shown": "5331 + 6199", "gold": "11530", "printed": "11530"} |
nlprog_det-arith-0023139 | Evaluate 122 × 5. Integers only.
Working it out:
120 × 5 = 600
2 × 5 = 10
600 + 10 = 610
Verdict: 610 | plain | null | nlprog_det | arith | original | null | deterministic | [] | [] | 53 | {"a": 122, "b": 5, "notation": "×", "commas": true, "carries": null, "shown": "122 × 5", "gold": "610", "printed": "610"} |
nlprog_det-arith-0023140 | Mental math: 84 × 61 =
A few lines of Python do it:
print(84 * 61) # 5124
Run it and it prints: 5124
That works out as 5,124. | plain | null | nlprog_det | arith | original | null | deterministic | [] | [] | 59 | {"a": 84, "b": 61, "notation": "×", "commas": true, "carries": null, "shown": "84 × 61", "gold": "5124", "printed": "5124"} |
nlprog_det-arith-0023141 | Exam warm-up: Please find 66,314 divided by 71. No rounding needed.
```python
print(66314 // 71) # 934
```
This prints 934.
It's 934. | plain | null | nlprog_det | arith | original | null | deterministic | [] | [] | 63 | {"a": 66314, "b": 71, "notation": "divided by", "commas": true, "carries": null, "shown": "66,314 divided by 71", "gold": "934", "printed": "934"} |
nlprog_det-arith-0023143 | <|start|><|user|>
2493 x 5 is<|eot|>
<|assistant|>
12465<|eot|>
<|end|> | chat | [
{
"role": "user",
"content": "2493 x 5 is"
},
{
"role": "assistant",
"content": "12465"
}
] | nlprog_det | arith | original | null | deterministic | [] | [] | 18 | {"a": 2493, "b": 5, "notation": "x", "commas": false, "carries": null, "shown": "2493 x 5", "gold": "12465", "printed": "12465"} |
nlprog_det-arith-0023144 | <|start|><|user|>
Number work: Figure out 11 times 6.<|eot|>
<|assistant|>
```python
print(11 * 6) # 66
```
# program output: 66
**That is:** 66<|eot|>
<|end|> | chat | [
{
"role": "user",
"content": "Number work: Figure out 11 times 6."
},
{
"role": "assistant",
"content": "```python\nprint(11 * 6) # 66\n```\n# program output: 66\n\n**That is:** 66"
}
] | nlprog_det | arith | original | null | deterministic | [] | [] | 53 | {"a": 11, "b": 6, "notation": "times", "commas": false, "carries": null, "shown": "11 times 6", "gold": "66", "printed": "66"} |
nlprog_det-arith-0023145 | Quiz: Give me 9,492 plus 3,645.
**Calculated value:** 13,137 | plain | null | nlprog_det | arith | original | null | deterministic | [] | [] | 29 | {"a": 9492, "b": 3645, "notation": "plus", "commas": true, "carries": 3, "shown": "9,492 plus 3,645", "gold": "13137", "printed": "13137"} |
nlprog_det-arith-0023146 | Practice set: Find 71608 + 42769.
Here is a short program for it.
```python
print(71608 + 42769) # 114377
```
The program outputs: 114377
So the answer is 114377. | plain | null | nlprog_det | arith | original | null | deterministic | [] | [] | 73 | {"a": 71608, "b": 42769, "notation": "+", "commas": false, "carries": 3, "shown": "71608 + 42769", "gold": "114377", "printed": "114377"} |
nlprog_det-arith-0023147 | 3 x 7 =
Expression 3 * 7, value 21.
21 exactly. | plain | null | nlprog_det | arith | original | null | deterministic | [] | [] | 21 | {"a": 3, "b": 7, "notation": "x", "commas": true, "carries": null, "shown": "3 x 7", "gold": "21", "printed": "21"} |
nlprog_det-arith-0023149 | Find 1482 + 1128. Integers only.
1482 + 1100 = 2582
2582 + 28 = 2610
2610 | plain | null | nlprog_det | arith | original | null | deterministic | [] | [] | 35 | {"a": 1482, "b": 1128, "notation": "+", "commas": false, "carries": 2, "shown": "1482 + 1128", "gold": "2610", "printed": "2610"} |
nlprog_det-arith-0023150 | Determine 23 x 2673. 23 x 2673 = 61479 | plain | null | nlprog_det | arith | original | null | deterministic | [] | [] | 19 | {"a": 23, "b": 2673, "notation": "x", "commas": false, "carries": null, "shown": "23 x 2673", "gold": "61479", "printed": "61479"} |
nlprog_det-arith-0023151 | Try this: How much is 739 times 338? Exact answer, please. 249782 | plain | null | nlprog_det | arith | original | null | deterministic | [] | [] | 24 | {"a": 739, "b": 338, "notation": "times", "commas": false, "carries": null, "shown": "739 times 338", "gold": "249782", "printed": "249782"} |
nlprog_det-arith-0023152 | Sum check: Quick: 1,015 divided by 35?
Evaluate in Python: 1015 // 35
Gives 29.
We end up with 29. | plain | null | nlprog_det | arith | original | null | deterministic | [] | [] | 44 | {"a": 1015, "b": 35, "notation": "divided by", "commas": true, "carries": null, "shown": "1,015 divided by 35", "gold": "29", "printed": "29"} |
nlprog_det-arith-0023156 | Add 486 and 931.
Let the code do the arithmetic:
```python
print(486 + 931) # 1417
```
Execution result: 1417
So the answer is 1,417. | plain | null | nlprog_det | arith | original | null | deterministic | [] | [] | 63 | {"a": 486, "b": 931, "notation": "plus", "commas": true, "carries": 2, "shown": "486 plus 931", "gold": "1417", "printed": "1417"} |
nlprog_det-arith-0023159 | 98 x 54 equals
We write it as a program:
```python
print(98 * 54)
```
stdout:
5292
Correct answer:
5292 | plain | null | nlprog_det | arith | original | null | deterministic | [] | [] | 50 | {"a": 98, "b": 54, "notation": "x", "commas": false, "carries": null, "shown": "98 x 54", "gold": "5292", "printed": "5292"} |
nlprog_det-arith-0023160 | <|start|><|user|>
Compute 4 x 9.<|eot|>
<|assistant|>
36<|eot|>
<|end|> | chat | [
{
"role": "user",
"content": "Compute 4 x 9."
},
{
"role": "assistant",
"content": "36"
}
] | nlprog_det | arith | original | null | deterministic | [] | [] | 17 | {"a": 4, "b": 9, "notation": "x", "commas": true, "carries": null, "shown": "4 x 9", "gold": "36", "printed": "36"} |
nlprog_det-arith-0023161 | Can you work out the difference between 1,000 and 394? Double-check it.
Answer:
606 | plain | null | nlprog_det | arith | original | null | deterministic | [] | [] | 31 | {"a": 1000, "b": 394, "notation": "difference", "commas": true, "carries": 3, "shown": "the difference between 1,000 and 394", "gold": "606", "printed": "606"} |
nlprog_det-arith-0023162 | Problem: Solve: 65 × 96
65 × 96 = 6,240 | plain | null | nlprog_det | arith | original | null | deterministic | [] | [] | 24 | {"a": 65, "b": 96, "notation": "×", "commas": true, "carries": null, "shown": "65 × 96", "gold": "6240", "printed": "6240"} |
nlprog_det-arith-0023164 | <|start|><|system|>
Answer accurately and briefly.<|eot|>
<|user|>
Problem: 56 added to 416: what is it?<|eot|>
<|assistant|>
It's 472.<|eot|>
<|end|> | chat | [
{
"role": "system",
"content": "Answer accurately and briefly."
},
{
"role": "user",
"content": "Problem: 56 added to 416: what is it?"
},
{
"role": "assistant",
"content": "It's 472."
}
] | nlprog_det | arith | original | null | deterministic | [] | [] | 40 | {"a": 416, "b": 56, "notation": "added", "commas": true, "carries": 1, "shown": "56 added to 416", "gold": "472", "printed": "472"} |
nlprog_det-arith-0023165 | Arithmetic: 10000 minus 4801 is how much?
5199 | plain | null | nlprog_det | arith | original | null | deterministic | [] | [] | 20 | {"a": 10000, "b": 4801, "notation": "minus", "commas": false, "carries": 4, "shown": "10000 minus 4801", "gold": "5199", "printed": "5199"} |
nlprog_det-arith-0023166 | Subtract 292 from 1000.
A short script:
```python
print(1000 - 292) # 708
```
# printed result: 708
Expected answer: 708 | plain | null | nlprog_det | arith | original | null | deterministic | [] | [] | 55 | {"a": 1000, "b": 292, "notation": "difference", "commas": false, "carries": 3, "shown": "the difference between 1000 and 292", "gold": "708", "printed": "708"} |
nlprog_det-arith-0023167 | <|start|><|user|>
Try this: Calculate 37 × 67. Use Python if it helps.<|eot|>
<|assistant|>
2479<|eot|>
<|end|> | chat | [
{
"role": "user",
"content": "Try this: Calculate 37 × 67. Use Python if it helps."
},
{
"role": "assistant",
"content": "2479"
}
] | nlprog_det | arith | original | null | deterministic | [] | [] | 32 | {"a": 37, "b": 67, "notation": "×", "commas": false, "carries": null, "shown": "37 × 67", "gold": "2479", "printed": "2479"} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.