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-0033398
Mental arithmetic: 92 × 18 is 1656
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
13
{"a": 92, "b": 18, "notation": "×", "commas": false, "carries": null, "shown": "92 × 18", "gold": "1656", "printed": "1656"}
nlprog_det-arith-0033399
<|start|><|user|> What does 42 + 20 come to?<|eot|> <|assistant|> ```python print(42 + 20) # 62 ``` The program outputs: 62 The figure is 62.<|eot|> <|end|>
chat
[ { "role": "user", "content": "What does 42 + 20 come to?" }, { "role": "assistant", "content": "```python\nprint(42 + 20) # 62\n```\nThe program outputs: 62\n\nThe figure is 62." } ]
nlprog_det
arith
original
null
deterministic
[]
[]
51
{"a": 42, "b": 20, "notation": "+", "commas": true, "carries": 0, "shown": "42 + 20", "gold": "62", "printed": "62"}
nlprog_det-arith-0033401
<|start|><|user|> Determine 3,196 / 17.<|eot|> <|assistant|> 3,196 / 17 = 188<|eot|> <|end|>
chat
[ { "role": "user", "content": "Determine 3,196 / 17." }, { "role": "assistant", "content": "3,196 / 17 = 188" } ]
nlprog_det
arith
original
null
deterministic
[]
[]
29
{"a": 3196, "b": 17, "notation": "/", "commas": true, "carries": null, "shown": "3,196 / 17", "gold": "188", "printed": "188"}
nlprog_det-arith-0033402
Give the value of 5,843 + 8,583. Keep it short. Translated to Python: ```python print(5843 + 8583) # 14426 ``` stdout: 14426 14,426 — that is the result.
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
76
{"a": 5843, "b": 8583, "notation": "+", "commas": true, "carries": 3, "shown": "5,843 + 8,583", "gold": "14426", "printed": "14426"}
nlprog_det-arith-0033403
Remove 66 from 100; what is left? We get 34.
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
16
{"a": 100, "b": 66, "notation": "difference", "commas": true, "carries": 2, "shown": "the difference between 100 and 66", "gold": "34", "printed": "34"}
nlprog_det-arith-0033404
Calculate 978 − 547. 978 − 547 = 431
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
23
{"a": 978, "b": 547, "notation": "−", "commas": false, "carries": 0, "shown": "978 − 547", "gold": "431", "printed": "431"}
nlprog_det-arith-0033405
Share 419312 equally among 718. Code: 419312 // 718 Output: 584 Returns: 584
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
39
{"a": 419312, "b": 718, "notation": "divided by", "commas": false, "carries": null, "shown": "419312 divided by 718", "gold": "584", "printed": "584"}
nlprog_det-arith-0033406
Please find 1,340 divided by 4. Step by step: 1340 ÷ 4 = 335 check: 4 × 335 = 1340 335 it is.
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
46
{"a": 1340, "b": 4, "notation": "divided by", "commas": true, "carries": null, "shown": "1,340 divided by 4", "gold": "335", "printed": "335"}
nlprog_det-arith-0033407
Bookkeeping check: What do you get for the quotient of 45,475 and 85? 45475 ÷ 85 = 535 check: 85 × 535 = 45475 Conclusion - 535
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
53
{"a": 45475, "b": 85, "notation": "quotient", "commas": true, "carries": null, "shown": "the quotient of 45,475 and 85", "gold": "535", "printed": "535"}
nlprog_det-arith-0033408
Easy one: Tell me 5,345 minus 1,562. As a program: ```python print(5345 - 1562) ``` That prints 3783. So it is 3,783.
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
65
{"a": 5345, "b": 1562, "notation": "minus", "commas": true, "carries": 2, "shown": "5,345 minus 1,562", "gold": "3783", "printed": "3783"}
nlprog_det-arith-0033409
Figure out 5,000 minus 2,994. Give the exact value. Let's compute it with Python. ```python print(5000 - 2994) # 2006 ``` # program output: 2006 That gives 2,006.
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
74
{"a": 5000, "b": 2994, "notation": "minus", "commas": true, "carries": 3, "shown": "5,000 minus 2,994", "gold": "2006", "printed": "2006"}
nlprog_det-arith-0033410
Mental arithmetic: What is 2622 ÷ 57? 2622 ÷ 57 = 46
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
22
{"a": 2622, "b": 57, "notation": "÷", "commas": false, "carries": null, "shown": "2622 ÷ 57", "gold": "46", "printed": "46"}
nlprog_det-arith-0033411
Evaluate 1,104 − 505. ```python print(1104 - 505) # 599 ``` Output of the run — 599 End result: 599
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
55
{"a": 1104, "b": 505, "notation": "−", "commas": true, "carries": 3, "shown": "1,104 − 505", "gold": "599", "printed": "599"}
nlprog_det-arith-0033412
Number work: How much is 1000 − 418? Exact answer, please. 1000 − 418 = 582
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
30
{"a": 1000, "b": 418, "notation": "−", "commas": false, "carries": 3, "shown": "1000 − 418", "gold": "582", "printed": "582"}
nlprog_det-arith-0033413
Basic math: Give the value of 8177 ÷ 37. Use Python if it helps. 8177 ÷ 37 = 221
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
36
{"a": 8177, "b": 37, "notation": "÷", "commas": false, "carries": null, "shown": "8177 ÷ 37", "gold": "221", "printed": "221"}
nlprog_det-arith-0033414
Split 10,132 into 17 equal parts; how big is each? That gives 596.
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
26
{"a": 10132, "b": 17, "notation": "quotient", "commas": true, "carries": null, "shown": "the quotient of 10,132 and 17", "gold": "596", "printed": "596"}
nlprog_det-arith-0033415
Calculation: Work out the product of 2 and 43. Give the exact value. Let's compute it with Python. ```python print(2 * 43) ``` # console output: 86 Found: 86
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
65
{"a": 2, "b": 43, "notation": "product", "commas": true, "carries": null, "shown": "the product of 2 and 43", "gold": "86", "printed": "86"}
nlprog_det-arith-0033416
Quiz: Work out 85570 / 86. Use Python if it helps. Computation in Python: ```python print(85570 // 86) # 995 ``` The run gives 995, as expected. 995
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
72
{"a": 85570, "b": 86, "notation": "/", "commas": false, "carries": null, "shown": "85570 / 86", "gold": "995", "printed": "995"}
nlprog_det-arith-0033417
Simple arithmetic: 133 * 5 = what? 665
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
16
{"a": 133, "b": 5, "notation": "*", "commas": true, "carries": null, "shown": "133 * 5", "gold": "665", "printed": "665"}
nlprog_det-arith-0033418
<|start|><|system|> Functions: {"name": "lookup_statute", "description": "Look up the text of a U.S. Code section.", "parameters": {"type": "object", "properties": {"title": {"type": "integer"}, "section": {"type": "string"}}, "required": ["title", "section"]}} {"name": "py_exec", "description": "Executes a Python prog...
chat
[ { "role": "system", "content": "Functions:\n{\"name\": \"lookup_statute\", \"description\": \"Look up the text of a U.S. Code section.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"title\": {\"type\": \"integer\"}, \"section\": {\"type\": \"string\"}}, \"required\": [\"title\", \"section\"]}}...
nlprog_det
arith
original
null
deterministic
[]
[]
266
{"a": 75029, "b": 2311, "notation": "−", "commas": true, "carries": 1, "shown": "75,029 − 2,311", "gold": "72718", "printed": "72718"}
nlprog_det-arith-0033419
Solve: 2 x 19 2 x 19 = 38
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
14
{"a": 2, "b": 19, "notation": "x", "commas": false, "carries": null, "shown": "2 x 19", "gold": "38", "printed": "38"}
nlprog_det-arith-0033420
Figure out 86 + 11. Keep it short. 86 + 11 = 97
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
19
{"a": 86, "b": 11, "notation": "+", "commas": false, "carries": 0, "shown": "86 + 11", "gold": "97", "printed": "97"}
nlprog_det-arith-0033421
Can you work out 174 plus 715? Integers only. Evaluate in Python: 174 + 715 Gives 889. **Found:** 889
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
46
{"a": 174, "b": 715, "notation": "plus", "commas": true, "carries": 0, "shown": "174 plus 715", "gold": "889", "printed": "889"}
nlprog_det-arith-0033422
<|start|><|user|> Problem: Calculate the sum of 6375 and 2152.<|eot|> <|assistant|> This gives us 8527.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Problem: Calculate the sum of 6375 and 2152." }, { "role": "assistant", "content": "This gives us 8527." } ]
nlprog_det
arith
original
null
deterministic
[]
[]
32
{"a": 6375, "b": 2152, "notation": "sum", "commas": false, "carries": 1, "shown": "the sum of 6375 and 2152", "gold": "8527", "printed": "8527"}
nlprog_det-arith-0033424
<|start|><|user|> Sum check: Figure out 25648 + 58591.<|eot|> <|assistant|> ```python print(25648 + 58591) # 84239 ``` (Printed result: 84239) Verdict: 84239<|eot|> <|end|>
chat
[ { "role": "user", "content": "Sum check: Figure out 25648 + 58591." }, { "role": "assistant", "content": "```python\nprint(25648 + 58591) # 84239\n```\n(Printed result: 84239)\n\nVerdict: 84239" } ]
nlprog_det
arith
original
null
deterministic
[]
[]
73
{"a": 25648, "b": 58591, "notation": "+", "commas": false, "carries": 3, "shown": "25648 + 58591", "gold": "84239", "printed": "84239"}
nlprog_det-arith-0033425
Try this: Find 4 * 60. It's 240.
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
18
{"a": 4, "b": 60, "notation": "*", "commas": true, "carries": null, "shown": "4 * 60", "gold": "240", "printed": "240"}
nlprog_det-arith-0033426
<|start|><|system|> Be brief and correct.<|eot|> <|user|> Quick check: Find 100 - 48.<|eot|> <|assistant|> ```python print(100 - 48) # 52 ``` The program prints: 52 Thus 52.<|eot|> <|end|>
chat
[ { "role": "system", "content": "Be brief and correct." }, { "role": "user", "content": "Quick check: Find 100 - 48." }, { "role": "assistant", "content": "```python\nprint(100 - 48) # 52\n```\nThe program prints: 52\n\nThus 52." } ]
nlprog_det
arith
original
null
deterministic
[]
[]
61
{"a": 100, "b": 48, "notation": "-", "commas": true, "carries": 2, "shown": "100 - 48", "gold": "52", "printed": "52"}
nlprog_det-arith-0033427
Practice: What does 3 · 69 come to? >>> 3 * 69 207 Hence: 207
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
31
{"a": 3, "b": 69, "notation": "·", "commas": true, "carries": null, "shown": "3 · 69", "gold": "207", "printed": "207"}
nlprog_det-arith-0033428
Deduct 2532 from 5000. 2468
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
15
{"a": 5000, "b": 2532, "notation": "subtract", "commas": false, "carries": 3, "shown": "2532 subtracted from 5000", "gold": "2468", "printed": "2468"}
nlprog_det-arith-0033429
Evaluate 1,000 - 95. Step by step: 1000 − 95 = 905 check: 95 + 905 = 1000 Final value: 905
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
45
{"a": 1000, "b": 95, "notation": "-", "commas": true, "carries": 3, "shown": "1,000 - 95", "gold": "905", "printed": "905"}
nlprog_det-arith-0033430
Compute 10 x 23. Double-check it. As a Python expression: 10 * 23 Evaluated: 230 230
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
37
{"a": 10, "b": 23, "notation": "x", "commas": false, "carries": null, "shown": "10 x 23", "gold": "230", "printed": "230"}
nlprog_det-arith-0033431
<|start|><|system|> Tools you may use: [{"name": "python_exec", "description": "Executes a Python program and returns its output.", "parameters": {"type": "object", "properties": {"script": {"type": "string", "description": "Python source code"}}, "required": ["script"]}}]<|eot|> <|user|> Please find 4,283 subtracted f...
chat
[ { "role": "system", "content": "Tools you may use:\n[{\"name\": \"python_exec\", \"description\": \"Executes a Python program and returns its output.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"script\": {\"type\": \"string\", \"description\": \"Python source code\"}}, \"required\": [\"scri...
nlprog_det
arith
original
null
deterministic
[]
[]
189
{"a": 5000, "b": 4283, "notation": "subtract", "commas": true, "carries": 3, "shown": "4,283 subtracted from 5,000", "gold": "717", "printed": "717"}
nlprog_det-arith-0033434
Please find the difference between 60 and 47. Python says 60 - 47 is 13. In the end: 13.
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
31
{"a": 60, "b": 47, "notation": "difference", "commas": false, "carries": 1, "shown": "the difference between 60 and 47", "gold": "13", "printed": "13"}
nlprog_det-arith-0033435
Combine 619 and 689. 619 + 600 = 1219 1219 + 89 = 1308 That is 1,308.
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
38
{"a": 619, "b": 689, "notation": "plus", "commas": true, "carries": 3, "shown": "619 plus 689", "gold": "1308", "printed": "1308"}
nlprog_det-arith-0033436
<|start|><|system|> Functions: [{"name": "code_runner", "description": "Evaluates Python and returns the printed output.", "parameters": {"type": "object", "properties": {"source": {"type": "string", "description": "Python source code"}}, "required": ["source"]}}]<|eot|> <|user|> Can you work out 51 times 170?<|eot|> <...
chat
[ { "role": "system", "content": "Functions:\n[{\"name\": \"code_runner\", \"description\": \"Evaluates Python and returns the printed output.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"source\": {\"type\": \"string\", \"description\": \"Python source code\"}}, \"required\": [\"source\"]}}]"...
nlprog_det
arith
original
null
deterministic
[]
[]
170
{"a": 51, "b": 170, "notation": "times", "commas": false, "carries": null, "shown": "51 times 170", "gold": "8670", "printed": "8670"}
nlprog_det-arith-0033437
<|start|><|user|> Quick check: How much is 6898 plus 2470?<|eot|> <|assistant|> ```python print(6898 + 2470) ``` Executing it gives 9368. Which gives 9368.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Quick check: How much is 6898 plus 2470?" }, { "role": "assistant", "content": "```python\nprint(6898 + 2470)\n```\nExecuting it gives 9368.\n\nWhich gives 9368." } ]
nlprog_det
arith
original
null
deterministic
[]
[]
60
{"a": 6898, "b": 2470, "notation": "plus", "commas": false, "carries": 2, "shown": "6898 plus 2470", "gold": "9368", "printed": "9368"}
nlprog_det-arith-0033438
<|start|><|system|> You may call the tools below. {"name": "interpreter", "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"]}} {"name": "fetch...
chat
[ { "role": "system", "content": "You may call the tools below.\n{\"name\": \"interpreter\", \"description\": \"Run Python code in a sandbox; the result is whatever the code prints.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"snippet\": {\"type\": \"string\", \"description\": \"Python source ...
nlprog_det
arith
original
null
deterministic
[]
[]
328
{"a": 40, "b": 8, "notation": "*", "commas": false, "carries": null, "shown": "40 * 8", "gold": "320", "printed": "320"}
nlprog_det-arith-0033441
Easy one: What is 32 times 11? Give the exact value. print(32 * 11) # 352 # result: 352 [Determined value] 352
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
44
{"a": 32, "b": 11, "notation": "times", "commas": false, "carries": null, "shown": "32 times 11", "gold": "352", "printed": "352"}
nlprog_det-arith-0033442
<|start|><|user|> Drill: Compute the sum of 652 and 646.<|eot|> <|assistant|> ```python print(652 + 646) # 1298 ``` Execution prints: 1298 1298 exactly.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Drill: Compute the sum of 652 and 646." }, { "role": "assistant", "content": "```python\nprint(652 + 646) # 1298\n```\nExecution prints: 1298\n\n1298 exactly." } ]
nlprog_det
arith
original
null
deterministic
[]
[]
61
{"a": 652, "b": 646, "notation": "sum", "commas": false, "carries": 1, "shown": "the sum of 652 and 646", "gold": "1298", "printed": "1298"}
nlprog_det-arith-0033443
Bookkeeping check: Calculate 2,828 × 9. In code: 2828 * 9 It evaluates to 25452. It works out to 25,452.
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
45
{"a": 2828, "b": 9, "notation": "×", "commas": true, "carries": null, "shown": "2,828 × 9", "gold": "25452", "printed": "25452"}
nlprog_det-arith-0033444
Remove 3275 from 10000; what is left? Code: 10000 - 3275 Output: 6725 In short: 6725
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
39
{"a": 10000, "b": 3275, "notation": "subtract", "commas": false, "carries": 4, "shown": "3275 subtracted from 10000", "gold": "6725", "printed": "6725"}
nlprog_det-arith-0033445
9 x 41 equals A Python solution: ```python print(9 * 41) # 369 ``` It prints: 369 This yields 369.
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
51
{"a": 9, "b": 41, "notation": "x", "commas": false, "carries": null, "shown": "9 x 41", "gold": "369", "printed": "369"}
nlprog_det-arith-0033447
Number work: Determine the sum of 6501 and 5395. 11896
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
19
{"a": 6501, "b": 5395, "notation": "sum", "commas": false, "carries": 1, "shown": "the sum of 6501 and 5395", "gold": "11896", "printed": "11896"}
nlprog_det-arith-0033448
Mental math: What is 23288 divided by 41? 23288 ÷ 41 = 568 check: 41 × 568 = 23288 Found: 568
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
45
{"a": 23288, "b": 41, "notation": "divided by", "commas": false, "carries": null, "shown": "23288 divided by 41", "gold": "568", "printed": "568"}
nlprog_det-arith-0033449
For the ledger: What is 8 x 25? Program: print(8 * 25) # 200 Run it and it prints 200. Done: 200
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
43
{"a": 8, "b": 25, "notation": "x", "commas": true, "carries": null, "shown": "8 x 25", "gold": "200", "printed": "200"}
nlprog_det-arith-0033450
<|start|><|user|> Divide 2500 by 125.<|eot|> <|assistant|> 20<|eot|> <|end|>
chat
[ { "role": "user", "content": "Divide 2500 by 125." }, { "role": "assistant", "content": "20" } ]
nlprog_det
arith
original
null
deterministic
[]
[]
20
{"a": 2500, "b": 125, "notation": "divided by", "commas": false, "carries": null, "shown": "2500 divided by 125", "gold": "20", "printed": "20"}
nlprog_det-arith-0033451
Total 1001 and 2885. ```python print(1001 + 2885) # 3886 ``` Executed, it shows: 3886 This gives us 3886.
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
54
{"a": 1001, "b": 2885, "notation": "sum", "commas": false, "carries": 0, "shown": "the sum of 1001 and 2885", "gold": "3886", "printed": "3886"}
nlprog_det-arith-0033452
<|start|><|user|> Add 17 to 47.<|eot|> <|assistant|> print(47 + 17) # 64 Result: 64 So we have 64.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Add 17 to 47." }, { "role": "assistant", "content": " print(47 + 17) # 64\nResult:\n64\n\nSo we have 64." } ]
nlprog_det
arith
original
null
deterministic
[]
[]
38
{"a": 47, "b": 17, "notation": "sum", "commas": false, "carries": 1, "shown": "the sum of 47 and 17", "gold": "64", "printed": "64"}
nlprog_det-arith-0033453
<|start|><|user|> Total 675 and 347.<|eot|> <|assistant|> 1022<|eot|> <|end|>
chat
[ { "role": "user", "content": "Total 675 and 347." }, { "role": "assistant", "content": "1022" } ]
nlprog_det
arith
original
null
deterministic
[]
[]
19
{"a": 675, "b": 347, "notation": "plus", "commas": false, "carries": 3, "shown": "675 plus 347", "gold": "1022", "printed": "1022"}
nlprog_det-arith-0033454
Ledger line: 315 x 99 = Break it up: 315 × 90 = 28350 315 × 9 = 2835 28350 + 2835 = 31185 31185
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
56
{"a": 315, "b": 99, "notation": "x", "commas": false, "carries": null, "shown": "315 x 99", "gold": "31185", "printed": "31185"}
nlprog_det-arith-0033455
Give me 300 minus 217. In Python, 300 - 217 evaluates to 83. That leaves 83.
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
33
{"a": 300, "b": 217, "notation": "minus", "commas": false, "carries": 2, "shown": "300 minus 217", "gold": "83", "printed": "83"}
nlprog_det-arith-0033456
Homework: Please find 1000 less 987. Integers only. The computation: ```python print(1000 - 987) # 13 ``` Python prints: 13 So we have 13.
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
63
{"a": 1000, "b": 987, "notation": "less", "commas": false, "carries": 3, "shown": "1000 less 987", "gold": "13", "printed": "13"}
nlprog_det-arith-0033457
Calculate 7 x 77. The computation: ```python print(7 * 77) # 539 ``` (Result: 539) 539
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
48
{"a": 7, "b": 77, "notation": "x", "commas": true, "carries": null, "shown": "7 x 77", "gold": "539", "printed": "539"}
nlprog_det-arith-0033458
Compute 2,000 - 1,543. Python expression: 2000 - 1543 Its value: 457 Upshot — 457
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
38
{"a": 2000, "b": 1543, "notation": "-", "commas": true, "carries": 3, "shown": "2,000 - 1,543", "gold": "457", "printed": "457"}
nlprog_det-arith-0033459
Bookkeeping check: What is 5 multiplied by 7? ```python print(5 * 7) # 35 ``` Run it and it prints: 35 Thus 35.
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
51
{"a": 5, "b": 7, "notation": "multiplied by", "commas": false, "carries": null, "shown": "5 multiplied by 7", "gold": "35", "printed": "35"}
nlprog_det-arith-0033460
<|start|><|user|> Mental arithmetic: Determine 6013 − 1289. Give the exact value.<|eot|> <|assistant|> ```python print(6013 - 1289) # 4724 ``` # run result: 4724 4724<|eot|> <|end|>
chat
[ { "role": "user", "content": "Mental arithmetic: Determine 6013 − 1289. Give the exact value." }, { "role": "assistant", "content": "```python\nprint(6013 - 1289) # 4724\n```\n# run result: 4724\n\n4724" } ]
nlprog_det
arith
original
null
deterministic
[]
[]
62
{"a": 6013, "b": 1289, "notation": "−", "commas": false, "carries": 3, "shown": "6013 − 1289", "gold": "4724", "printed": "4724"}
nlprog_det-arith-0033461
<|start|><|user|> Quick check: What is 2 · 46?<|eot|> <|assistant|> ```python print(2 * 46) ``` Output: 92 92<|eot|> <|end|>
chat
[ { "role": "user", "content": "Quick check: What is 2 · 46?" }, { "role": "assistant", "content": "```python\nprint(2 * 46)\n```\nOutput: 92\n\n92" } ]
nlprog_det
arith
original
null
deterministic
[]
[]
46
{"a": 2, "b": 46, "notation": "·", "commas": false, "carries": null, "shown": "2 · 46", "gold": "92", "printed": "92"}
nlprog_det-arith-0033462
Find the value of 1000 − 876. 124
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
14
{"a": 1000, "b": 876, "notation": "−", "commas": false, "carries": 3, "shown": "1000 − 876", "gold": "124", "printed": "124"}
nlprog_det-arith-0033463
<|start|><|system|> You are a puzzle helper.<|eot|> <|user|> Problem: Figure out 8 × 5.<|eot|> <|assistant|> 8 × 5 = 40<|eot|> <|end|>
chat
[ { "role": "system", "content": "You are a puzzle helper." }, { "role": "user", "content": "Problem: Figure out 8 × 5." }, { "role": "assistant", "content": "8 × 5 = 40" } ]
nlprog_det
arith
original
null
deterministic
[]
[]
41
{"a": 8, "b": 5, "notation": "×", "commas": false, "carries": null, "shown": "8 × 5", "gold": "40", "printed": "40"}
nlprog_det-arith-0033464
Quiz: Find 7 multiplied by 91. Script: ```python print(7 * 91) # 637 ``` stdout: 637 All told, 637.
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
55
{"a": 7, "b": 91, "notation": "multiplied by", "commas": false, "carries": null, "shown": "7 multiplied by 91", "gold": "637", "printed": "637"}
nlprog_det-arith-0033465
From the workbook: 76910 + 40946 equals Python code: ```python print(76910 + 40946) # 117856 ``` Printed result — 117856 It's 117856.
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
69
{"a": 76910, "b": 40946, "notation": "+", "commas": false, "carries": 2, "shown": "76910 + 40946", "gold": "117856", "printed": "117856"}
nlprog_det-arith-0033466
Determine 8,197 - 1,431. As Python: print(8197 - 1431) # 6766 That prints: 6766 The outcome is 6,766.
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
55
{"a": 8197, "b": 1431, "notation": "-", "commas": true, "carries": 1, "shown": "8,197 - 1,431", "gold": "6766", "printed": "6766"}
nlprog_det-arith-0033468
Simple arithmetic: Solve: 6 × 6 36
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
16
{"a": 6, "b": 6, "notation": "×", "commas": true, "carries": null, "shown": "6 × 6", "gold": "36", "printed": "36"}
nlprog_det-arith-0033469
Quiz: 1000 less 303: what is it? 697
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
16
{"a": 1000, "b": 303, "notation": "less", "commas": false, "carries": 3, "shown": "1000 less 303", "gold": "697", "printed": "697"}
nlprog_det-arith-0033470
Easy one: Solve: 1849 + 9734 Python says 1849 + 9734 is 11583. 11583 — that is the result.
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
39
{"a": 1849, "b": 9734, "notation": "+", "commas": false, "carries": 3, "shown": "1849 + 9734", "gold": "11583", "printed": "11583"}
nlprog_det-arith-0033471
Subtract 3,507 from 7,054. Working: 7054 − 3500 = 3554 3554 − 7 = 3547 That is: 3,547
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
50
{"a": 7054, "b": 3507, "notation": "subtract", "commas": true, "carries": 2, "shown": "3,507 subtracted from 7,054", "gold": "3547", "printed": "3547"}
nlprog_det-arith-0033472
<|start|><|user|> Solve: 500 - 240<|eot|> <|assistant|> print(500 - 240) Printed: 260 It must be 260.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Solve: 500 - 240" }, { "role": "assistant", "content": " print(500 - 240)\nPrinted: 260\n\nIt must be 260." } ]
nlprog_det
arith
original
null
deterministic
[]
[]
36
{"a": 500, "b": 240, "notation": "-", "commas": true, "carries": 1, "shown": "500 - 240", "gold": "260", "printed": "260"}
nlprog_det-arith-0033473
Subtract 281 from 300. Expression 300 - 281, value 19. 19 is what it comes to.
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
29
{"a": 300, "b": 281, "notation": "subtract", "commas": false, "carries": 2, "shown": "281 subtracted from 300", "gold": "19", "printed": "19"}
nlprog_det-arith-0033474
Problem: What does 838 - 387 come to? 838 - 387 = 451
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
24
{"a": 838, "b": 387, "notation": "-", "commas": true, "carries": 1, "shown": "838 - 387", "gold": "451", "printed": "451"}
nlprog_det-arith-0033475
Find 318 × 968. 307824
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
14
{"a": 318, "b": 968, "notation": "×", "commas": false, "carries": null, "shown": "318 × 968", "gold": "307824", "printed": "307824"}
nlprog_det-arith-0033476
Work out 5 x 3. 5 x 3 = 15
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
16
{"a": 5, "b": 3, "notation": "x", "commas": false, "carries": null, "shown": "5 x 3", "gold": "15", "printed": "15"}
nlprog_det-arith-0033478
Practice: Determine 2,000 - 1,658. 2,000 - 1,658 = 342
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
30
{"a": 2000, "b": 1658, "notation": "-", "commas": true, "carries": 3, "shown": "2,000 - 1,658", "gold": "342", "printed": "342"}
nlprog_det-arith-0033479
Number work: Tell me the difference between 500 and 364. Python: 500 - 364 Result: 136 Thus 136.
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
38
{"a": 500, "b": 364, "notation": "difference", "commas": true, "carries": 2, "shown": "the difference between 500 and 364", "gold": "136", "printed": "136"}
nlprog_det-arith-0033480
Sum check: Work out 9500 ÷ 19. 9500 ÷ 19 = 500
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
21
{"a": 9500, "b": 19, "notation": "÷", "commas": false, "carries": null, "shown": "9500 ÷ 19", "gold": "500", "printed": "500"}
nlprog_det-arith-0033481
Ledger line: Calculate 70,975 / 85. Double-check it. ```python print(70975 // 85) # 835 ``` stdout: 835 Which gives 835.
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
64
{"a": 70975, "b": 85, "notation": "/", "commas": true, "carries": null, "shown": "70,975 / 85", "gold": "835", "printed": "835"}
nlprog_det-arith-0033482
Add 8719 and 1660. 8719 + 1600 = 10319 10319 + 60 = 10379 Hence: 10379
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
38
{"a": 8719, "b": 1660, "notation": "plus", "commas": false, "carries": 2, "shown": "8719 plus 1660", "gold": "10379", "printed": "10379"}
nlprog_det-arith-0033483
<|start|><|user|> Find 222 + 35.<|eot|> <|assistant|> All told, 257.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Find 222 + 35." }, { "role": "assistant", "content": "All told, 257." } ]
nlprog_det
arith
original
null
deterministic
[]
[]
23
{"a": 222, "b": 35, "notation": "+", "commas": false, "carries": 0, "shown": "222 + 35", "gold": "257", "printed": "257"}
nlprog_det-arith-0033484
How many times does 71 go into 142? Computation in Python: ```python print(142 // 71) # 2 ``` The interpreter prints 2. We get 2.
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
60
{"a": 142, "b": 71, "notation": "divided by", "commas": true, "carries": null, "shown": "142 divided by 71", "gold": "2", "printed": "2"}
nlprog_det-arith-0033485
Can you work out 73 minus 11? Expr: 73 - 11 Result: 62 62 is what it comes to.
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
31
{"a": 73, "b": 11, "notation": "minus", "commas": true, "carries": 0, "shown": "73 minus 11", "gold": "62", "printed": "62"}
nlprog_det-arith-0033486
<|start|><|user|> Try this: Work out 30 x 2.<|eot|> <|assistant|> ```python print(30 * 2) # 60 ``` The program prints: 60 That is 60.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Try this: Work out 30 x 2." }, { "role": "assistant", "content": "```python\nprint(30 * 2) # 60\n```\nThe program prints: 60\n\nThat is 60." } ]
nlprog_det
arith
original
null
deterministic
[]
[]
53
{"a": 30, "b": 2, "notation": "x", "commas": false, "carries": null, "shown": "30 x 2", "gold": "60", "printed": "60"}
nlprog_det-arith-0033488
Add 1,308 to 9,949. 11,257
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
19
{"a": 9949, "b": 1308, "notation": "sum", "commas": true, "carries": 3, "shown": "the sum of 9,949 and 1,308", "gold": "11257", "printed": "11257"}
nlprog_det-arith-0033489
Arithmetic: Find 321 − 278. Let's compute it with Python. ```python print(321 - 278) # 43 ``` Python prints 43, as expected. 43
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
65
{"a": 321, "b": 278, "notation": "−", "commas": false, "carries": 2, "shown": "321 − 278", "gold": "43", "printed": "43"}
nlprog_det-arith-0033490
<|start|><|user|> Drill: Calculate 300 − 115. Double-check it.<|eot|> <|assistant|> ```python print(300 - 115) # 185 ``` Run result — 185 In the end: 185.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Drill: Calculate 300 − 115. Double-check it." }, { "role": "assistant", "content": "```python\nprint(300 - 115) # 185\n```\nRun result — 185\n\nIn the end: 185." } ]
nlprog_det
arith
original
null
deterministic
[]
[]
65
{"a": 300, "b": 115, "notation": "−", "commas": true, "carries": 2, "shown": "300 − 115", "gold": "185", "printed": "185"}
nlprog_det-arith-0033491
The product of 703 and 8: what is it? >>> print(703 * 8) 5624 In the end: 5624.
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
35
{"a": 703, "b": 8, "notation": "product", "commas": false, "carries": null, "shown": "the product of 703 and 8", "gold": "5624", "printed": "5624"}
nlprog_det-arith-0033492
Practice: How much is 8 * 75? 8 * 75 = 600
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
19
{"a": 8, "b": 75, "notation": "*", "commas": false, "carries": null, "shown": "8 * 75", "gold": "600", "printed": "600"}
nlprog_det-arith-0033493
Quick check: Evaluate 2000 − 697. Split it: 2000 − 600 = 1400 1400 − 97 = 1303 1303
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
42
{"a": 2000, "b": 697, "notation": "−", "commas": false, "carries": 3, "shown": "2000 − 697", "gold": "1303", "printed": "1303"}
nlprog_det-arith-0033494
<|start|><|system|> You have access to these functions: [{"name": "translate", "description": "Translate text into another language.", "parameters": {"type": "object", "properties": {"text": {"type": "string"}, "target": {"type": "string"}}, "required": ["text", "target"]}}, {"name": "calc", "description": "Run Python ...
chat
[ { "role": "system", "content": "You have access to these functions:\n[{\"name\": \"translate\", \"description\": \"Translate text into another language.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"text\": {\"type\": \"string\"}, \"target\": {\"type\": \"string\"}}, \"required\": [\"text\", ...
nlprog_det
arith
original
null
deterministic
[]
[]
279
{"a": 6752, "b": 4202, "notation": "+", "commas": true, "carries": 1, "shown": "6,752 + 4,202", "gold": "10954", "printed": "10954"}
nlprog_det-arith-0033495
<|start|><|system|> The following tools are available. Call one when it helps. [{"name": "py_exec", "description": "Executes a Python program and returns its output.", "parameters": {"type": "object", "properties": {"snippet": {"type": "string", "description": "Python source code"}}, "required": ["snippet"]}}]<|eot|> <...
chat
[ { "role": "system", "content": "The following tools are available. Call one when it helps.\n[{\"name\": \"py_exec\", \"description\": \"Executes a Python program and returns its output.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"snippet\": {\"type\": \"string\", \"description\": \"Python s...
nlprog_det
arith
original
null
deterministic
[]
[]
177
{"a": 853, "b": 84, "notation": "plus", "commas": true, "carries": 1, "shown": "853 plus 84", "gold": "937", "printed": "937"}
nlprog_det-arith-0033498
Give the value of 2 · 368. The computation: ```python print(2 * 368) # 736 ``` The program prints: 736 So the result is 736.
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
57
{"a": 2, "b": 368, "notation": "·", "commas": false, "carries": null, "shown": "2 · 368", "gold": "736", "printed": "736"}
nlprog_det-arith-0033499
Exam warm-up: I need 559 minus 437. Show the computation. Written as code: ```python print(559 - 437) # 122 ``` Out — 122 This yields 122.
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
64
{"a": 559, "b": 437, "notation": "minus", "commas": false, "carries": 0, "shown": "559 minus 437", "gold": "122", "printed": "122"}
nlprog_det-arith-0033500
Tell me 11280 ÷ 60. Double-check it. In code: 11280 // 60 It evaluates to 188. Answer 188.
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
44
{"a": 11280, "b": 60, "notation": "÷", "commas": false, "carries": null, "shown": "11280 ÷ 60", "gold": "188", "printed": "188"}
nlprog_det-arith-0033501
<|start|><|user|> Easy one: Solve: 32809 − 31469<|eot|> <|assistant|> ```python print(32809 - 31469) # 1340 ``` Running this gives 1340. 1340<|eot|> <|end|>
chat
[ { "role": "user", "content": "Easy one: Solve: 32809 − 31469" }, { "role": "assistant", "content": "```python\nprint(32809 - 31469) # 1340\n```\nRunning this gives 1340.\n\n1340" } ]
nlprog_det
arith
original
null
deterministic
[]
[]
66
{"a": 32809, "b": 31469, "notation": "−", "commas": false, "carries": 1, "shown": "32809 − 31469", "gold": "1340", "printed": "1340"}
nlprog_det-arith-0033502
<|start|><|user|> Try this: Solve: 101 x 592<|eot|> <|assistant|> ```python print(101 * 592) # 59792 ``` Execution result: 59792 Done; the answer is 59792.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Try this: Solve: 101 x 592" }, { "role": "assistant", "content": "```python\nprint(101 * 592) # 59792\n```\nExecution result: 59792\n\nDone; the answer is 59792." } ]
nlprog_det
arith
original
null
deterministic
[]
[]
67
{"a": 101, "b": 592, "notation": "x", "commas": false, "carries": null, "shown": "101 x 592", "gold": "59792", "printed": "59792"}
nlprog_det-arith-0033503
Can you work out 64 times 36? Script: ```python print(64 * 36) # 2304 ``` The program outputs: 2304 It works out to 2,304.
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
55
{"a": 64, "b": 36, "notation": "times", "commas": true, "carries": null, "shown": "64 times 36", "gold": "2304", "printed": "2304"}
nlprog_det-arith-0033504
What do you get for 3087 - 2849? Python version: ```python print(3087 - 2849) # 238 ``` Python prints 238. 238
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
59
{"a": 3087, "b": 2849, "notation": "-", "commas": false, "carries": 2, "shown": "3087 - 2849", "gold": "238", "printed": "238"}
nlprog_det-arith-0033506
<|start|><|user|> Ledger line: Give the value of 483 - 71.<|eot|> <|assistant|> 483 - 71 = 412<|eot|> <|end|>
chat
[ { "role": "user", "content": "Ledger line: Give the value of 483 - 71." }, { "role": "assistant", "content": "483 - 71 = 412" } ]
nlprog_det
arith
original
null
deterministic
[]
[]
31
{"a": 483, "b": 71, "notation": "-", "commas": false, "carries": 0, "shown": "483 - 71", "gold": "412", "printed": "412"}
nlprog_det-arith-0033507
Combine 15 and 30. 45
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
10
{"a": 15, "b": 30, "notation": "plus", "commas": true, "carries": 0, "shown": "15 plus 30", "gold": "45", "printed": "45"}
nlprog_det-arith-0033508
Simple arithmetic: Determine 222 subtracted from 400. Double-check it. It's 178.
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
30
{"a": 400, "b": 222, "notation": "subtract", "commas": true, "carries": 2, "shown": "222 subtracted from 400", "gold": "178", "printed": "178"}
nlprog_det-arith-0033509
Determine 33,614 ÷ 49. Exact answer, please. We write it as a program: ```python print(33614 // 49) # 686 ``` (Run result: 686) That makes 686.
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
67
{"a": 33614, "b": 49, "notation": "÷", "commas": true, "carries": null, "shown": "33,614 ÷ 49", "gold": "686", "printed": "686"}
nlprog_det-arith-0033510
Calculate 100 - 93. Keep it short. It must be 7.
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
18
{"a": 100, "b": 93, "notation": "-", "commas": false, "carries": 2, "shown": "100 - 93", "gold": "7", "printed": "7"}