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-0034736
Practice: 628 × 464 = what? Python makes this quick: ```python print(628 * 464) # 291392 ``` When run, it prints 291392, as expected. In the end: 291392.
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
73
{"a": 628, "b": 464, "notation": "×", "commas": false, "carries": null, "shown": "628 × 464", "gold": "291392", "printed": "291392"}
nlprog_det-arith-0034737
Quiz: Find the product of 4295 and 19. By place value: 4295 × 10 = 42950 4295 × 9 = 38655 42950 + 38655 = 81605 The result is 81605.
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
66
{"a": 4295, "b": 19, "notation": "product", "commas": false, "carries": null, "shown": "the product of 4295 and 19", "gold": "81605", "printed": "81605"}
nlprog_det-arith-0034739
Arithmetic: Calculate 906 * 24. As a Python expression: 906 * 24 Evaluated: 21744 Our answer: 21744
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
44
{"a": 906, "b": 24, "notation": "*", "commas": false, "carries": null, "shown": "906 * 24", "gold": "21744", "printed": "21744"}
nlprog_det-arith-0034740
Quick check: Figure out 1488 - 938. 1488 − 900 = 588 588 − 38 = 550 Returns: 550
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
43
{"a": 1488, "b": 938, "notation": "-", "commas": false, "carries": 1, "shown": "1488 - 938", "gold": "550", "printed": "550"}
nlprog_det-arith-0034742
Calculation: Give the value of 79 + 34. Program: print(79 + 34) Printed: 113 All told, 113.
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
36
{"a": 79, "b": 34, "notation": "+", "commas": true, "carries": 2, "shown": "79 + 34", "gold": "113", "printed": "113"}
nlprog_det-arith-0034743
What is 23,870 over 155? Exact answer, please. Code: print(23870 // 155) It prints 154. 154
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
45
{"a": 23870, "b": 155, "notation": "over", "commas": true, "carries": null, "shown": "23,870 over 155", "gold": "154", "printed": "154"}
nlprog_det-arith-0034744
Number work: What's 1000 − 889? 111, in the end.
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
22
{"a": 1000, "b": 889, "notation": "−", "commas": false, "carries": 3, "shown": "1000 − 889", "gold": "111", "printed": "111"}
nlprog_det-arith-0034745
Add 1,787 and 1,989. In code: 1787 + 1989 It evaluates to 3776. The figure is 3,776.
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
40
{"a": 1787, "b": 1989, "notation": "sum", "commas": true, "carries": 3, "shown": "the sum of 1,787 and 1,989", "gold": "3776", "printed": "3776"}
nlprog_det-arith-0034747
Homework: Figure out the sum of 4450 and 3204. Evaluate in Python: 4450 + 3204 Gives 7654. Hence: 7654
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
47
{"a": 4450, "b": 3204, "notation": "sum", "commas": false, "carries": 0, "shown": "the sum of 4450 and 3204", "gold": "7654", "printed": "7654"}
nlprog_det-arith-0034751
Bookkeeping check: What do you get for 6 x 478? Integers only. 6 x 478 = 2,868
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
31
{"a": 6, "b": 478, "notation": "x", "commas": true, "carries": null, "shown": "6 x 478", "gold": "2868", "printed": "2868"}
nlprog_det-arith-0034752
Ledger line: 42 x 58 = Working it out: 42 × 50 = 2100 42 × 8 = 336 2100 + 336 = 2436 Obtained: 2,436
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
53
{"a": 42, "b": 58, "notation": "x", "commas": true, "carries": null, "shown": "42 x 58", "gold": "2436", "printed": "2436"}
nlprog_det-arith-0034753
Find 5 multiplied by 58. By place value: 50 × 5 = 250 8 × 5 = 40 250 + 40 = 290 290 exactly.
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
42
{"a": 5, "b": 58, "notation": "times", "commas": true, "carries": null, "shown": "5 times 58", "gold": "290", "printed": "290"}
nlprog_det-arith-0034754
<|start|><|system|> Functions: {"name": "py_exec", "description": "Evaluates Python and returns the printed output.", "parameters": {"type": "object", "properties": {"source": {"type": "string", "description": "Python source code"}}, "required": ["source"]}}<|eot|> <|user|> 7,707 plus 7,589: what is it? Integers only.<...
chat
[ { "role": "system", "content": "Functions:\n{\"name\": \"py_exec\", \"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
[]
[]
135
{"a": 7707, "b": 7589, "notation": "plus", "commas": true, "carries": 3, "shown": "7,707 plus 7,589", "gold": "15296", "printed": "15296"}
nlprog_det-arith-0034756
<|start|><|system|> You may call the tools below. [{"name": "get_weather", "description": "Get the weather for a city.", "parameters": {"type": "object", "properties": {"city": {"type": "string"}}, "required": ["city"]}}, {"name": "sandbox_python", "description": "Executes a Python program and returns its output.", "pa...
chat
[ { "role": "system", "content": "You may call the tools below.\n[{\"name\": \"get_weather\", \"description\": \"Get the weather for a city.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"city\": {\"type\": \"string\"}}, \"required\": [\"city\"]}}, {\"name\": \"sandbox_python\", \"description\":...
nlprog_det
arith
original
null
deterministic
[]
[]
242
{"a": 56, "b": 42, "notation": "+", "commas": false, "carries": 0, "shown": "56 + 42", "gold": "98", "printed": "98"}
nlprog_det-arith-0034758
<|start|><|system|> Double-check numbers before answering.<|eot|> <|user|> Find 36 multiplied by 2.<|eot|> <|assistant|> ```python print(36 * 2) # 72 ``` Result: 72 72<|eot|> <|end|>
chat
[ { "role": "system", "content": "Double-check numbers before answering." }, { "role": "user", "content": "Find 36 multiplied by 2." }, { "role": "assistant", "content": "```python\nprint(36 * 2) # 72\n```\nResult: 72\n\n72" } ]
nlprog_det
arith
original
null
deterministic
[]
[]
60
{"a": 36, "b": 2, "notation": "times", "commas": true, "carries": null, "shown": "36 times 2", "gold": "72", "printed": "72"}
nlprog_det-arith-0034759
<|start|><|system|> You help people work with structured data.<|eot|> <|user|> What do you get for 8 × 5?<|eot|> <|assistant|> ```python print(8 * 5) # 40 ``` Python prints 40. It comes out as 40.<|eot|> <|end|>
chat
[ { "role": "system", "content": "You help people work with structured data." }, { "role": "user", "content": "What do you get for 8 × 5?" }, { "role": "assistant", "content": "```python\nprint(8 * 5) # 40\n```\nPython prints 40.\n\nIt comes out as 40." } ]
nlprog_det
arith
original
null
deterministic
[]
[]
68
{"a": 8, "b": 5, "notation": "×", "commas": true, "carries": null, "shown": "8 × 5", "gold": "40", "printed": "40"}
nlprog_det-arith-0034760
Share 79584 equally among 96. Program: print(79584 // 96) Printed: 829 **Works out to:** 829
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
43
{"a": 79584, "b": 96, "notation": "divided by", "commas": false, "carries": null, "shown": "79584 divided by 96", "gold": "829", "printed": "829"}
nlprog_det-arith-0034761
241 subtracted from 1000 is how much? The Python version: ```python print(1000 - 241) ``` The printout reads 759. 759
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
54
{"a": 1000, "b": 241, "notation": "subtract", "commas": false, "carries": 3, "shown": "241 subtracted from 1000", "gold": "759", "printed": "759"}
nlprog_det-arith-0034762
<|start|><|system|> Give the answer first.<|eot|> <|user|> Exercise: Work out 4,704 divided by 7.<|eot|> <|assistant|> **Amount:** 672<|eot|> <|end|>
chat
[ { "role": "system", "content": "Give the answer first." }, { "role": "user", "content": "Exercise: Work out 4,704 divided by 7." }, { "role": "assistant", "content": "**Amount:** 672" } ]
nlprog_det
arith
original
null
deterministic
[]
[]
39
{"a": 4704, "b": 7, "notation": "divided by", "commas": true, "carries": null, "shown": "4,704 divided by 7", "gold": "672", "printed": "672"}
nlprog_det-arith-0034763
27 x 20 equals The computation: ```python print(27 * 20) # 540 ``` Out: 540 540
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
44
{"a": 27, "b": 20, "notation": "x", "commas": false, "carries": null, "shown": "27 x 20", "gold": "540", "printed": "540"}
nlprog_det-arith-0034765
Quick check: What does 16 · 67 come to? Working it out: 16 × 60 = 960 16 × 7 = 112 960 + 112 = 1072 Worked answer: 1,072
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
57
{"a": 16, "b": 67, "notation": "·", "commas": true, "carries": null, "shown": "16 · 67", "gold": "1072", "printed": "1072"}
nlprog_det-arith-0034766
What's 9038 − 5281? Typed into Python, 9038 - 5281 returns 3757. This yields 3757.
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
42
{"a": 9038, "b": 5281, "notation": "−", "commas": false, "carries": 2, "shown": "9038 − 5281", "gold": "3757", "printed": "3757"}
nlprog_det-arith-0034767
Mental arithmetic: Compute 2 × 1,163. Python version: ```python print(2 * 1163) # 2326 ``` Output: 2326 That works out as 2,326.
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
65
{"a": 2, "b": 1163, "notation": "×", "commas": true, "carries": null, "shown": "2 × 1,163", "gold": "2326", "printed": "2326"}
nlprog_det-arith-0034768
Tell me 6,372 + 4,539. In parts: 6372 + 4500 = 10872 10872 + 39 = 10911 We get 10,911.
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
49
{"a": 6372, "b": 4539, "notation": "+", "commas": true, "carries": 3, "shown": "6,372 + 4,539", "gold": "10911", "printed": "10911"}
nlprog_det-arith-0034769
<|start|><|system|> Use a tool when a calculation is needed. Tools: {"name": "py_exec", "description": "Python sandbox for calculations. Returns printed text.", "parameters": {"type": "object", "properties": {"source": {"type": "string", "description": "Python source code"}}, "required": ["source"]}}<|eot|> <|user|> Ca...
chat
[ { "role": "system", "content": "Use a tool when a calculation is needed. Tools:\n{\"name\": \"py_exec\", \"description\": \"Python sandbox for calculations. Returns printed text.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"source\": {\"type\": \"string\", \"description\": \"Python source co...
nlprog_det
arith
original
null
deterministic
[]
[]
189
{"a": 407, "b": 349, "notation": "plus", "commas": true, "carries": 1, "shown": "407 plus 349", "gold": "756", "printed": "756"}
nlprog_det-arith-0034770
Find 23 x 343. Typed into Python, 23 * 343 returns 7889. 7,889 it is.
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
35
{"a": 23, "b": 343, "notation": "x", "commas": true, "carries": null, "shown": "23 x 343", "gold": "7889", "printed": "7889"}
nlprog_det-arith-0034771
<|start|><|system|> You may call the tools below. {"name": "sandbox_python", "description": "Evaluates Python and returns the printed output.", "parameters": {"type": "object", "properties": {"snippet": {"type": "string", "description": "Python source code"}}, "required": ["snippet"]}} {"name": "translate", "descriptio...
chat
[ { "role": "system", "content": "You may call the tools below.\n{\"name\": \"sandbox_python\", \"description\": \"Evaluates Python and returns the printed output.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"snippet\": {\"type\": \"string\", \"description\": \"Python source code\"}}, \"requir...
nlprog_det
arith
original
null
deterministic
[]
[]
269
{"a": 2000, "b": 1369, "notation": "less", "commas": true, "carries": 3, "shown": "2,000 less 1,369", "gold": "631", "printed": "631"}
nlprog_det-arith-0034772
<|start|><|system|> Be exact with numbers.<|eot|> <|user|> Deduct 658 from 3000.<|eot|> <|assistant|> ```python print(3000 - 658) # 2342 ``` The script prints 2342. 2342<|eot|> <|end|>
chat
[ { "role": "system", "content": "Be exact with numbers." }, { "role": "user", "content": "Deduct 658 from 3000." }, { "role": "assistant", "content": "```python\nprint(3000 - 658) # 2342\n```\nThe script prints 2342.\n\n2342" } ]
nlprog_det
arith
original
null
deterministic
[]
[]
64
{"a": 3000, "b": 658, "notation": "minus", "commas": false, "carries": 3, "shown": "3000 minus 658", "gold": "2342", "printed": "2342"}
nlprog_det-arith-0034773
Exercise: 22119 divided by 73: what is it? A few lines of Python do it: ```python print(22119 // 73) # 303 ``` # program output: 303 303
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
63
{"a": 22119, "b": 73, "notation": "divided by", "commas": false, "carries": null, "shown": "22119 divided by 73", "gold": "303", "printed": "303"}
nlprog_det-arith-0034774
<|start|><|user|> Mental arithmetic: Figure out 5000 - 4637.<|eot|> <|assistant|> ```python print(5000 - 4637) # 363 ``` # program output: 363 That leaves 363.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Mental arithmetic: Figure out 5000 - 4637." }, { "role": "assistant", "content": "```python\nprint(5000 - 4637) # 363\n```\n# program output: 363\n\nThat leaves 363." } ]
nlprog_det
arith
original
null
deterministic
[]
[]
60
{"a": 5000, "b": 4637, "notation": "-", "commas": false, "carries": 3, "shown": "5000 - 4637", "gold": "363", "printed": "363"}
nlprog_det-arith-0034776
Math check: What do you get for 100 - 87? >>> print(100 - 87) 13 So the answer is 13.
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
35
{"a": 100, "b": 87, "notation": "-", "commas": false, "carries": 2, "shown": "100 - 87", "gold": "13", "printed": "13"}
nlprog_det-arith-0034778
56 × 4277 equals 239512
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
13
{"a": 56, "b": 4277, "notation": "×", "commas": false, "carries": null, "shown": "56 × 4277", "gold": "239512", "printed": "239512"}
nlprog_det-arith-0034779
Quick check: What does 37471 - 24957 come to? Python does the arithmetic: ```python print(37471 - 24957) # 12514 ``` (Output: 12514) Final: 12514.
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
73
{"a": 37471, "b": 24957, "notation": "-", "commas": false, "carries": 2, "shown": "37471 - 24957", "gold": "12514", "printed": "12514"}
nlprog_det-arith-0034780
Practice: Find 400 minus 98. >>> print(400 - 98) 302 302
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
29
{"a": 400, "b": 98, "notation": "minus", "commas": true, "carries": 2, "shown": "400 minus 98", "gold": "302", "printed": "302"}
nlprog_det-arith-0034781
From the workbook: How much is 6 added to 12? Use Python if it helps. We write it as a program: ```python print(12 + 6) # 18 ``` stdout = 18 [Thus] 18
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
62
{"a": 12, "b": 6, "notation": "added", "commas": true, "carries": 0, "shown": "6 added to 12", "gold": "18", "printed": "18"}
nlprog_det-arith-0034782
Combine 611 and 148. Programmatically: ```python print(611 + 148) ``` It prints 759, as expected. It must be 759.
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
54
{"a": 611, "b": 148, "notation": "plus", "commas": true, "carries": 0, "shown": "611 plus 148", "gold": "759", "printed": "759"}
nlprog_det-arith-0034784
<|start|><|user|> Problem: Quick: the quotient of 25897 and 47?<|eot|> <|assistant|> Here - 551<|eot|> <|end|>
chat
[ { "role": "user", "content": "Problem: Quick: the quotient of 25897 and 47?" }, { "role": "assistant", "content": "Here - 551" } ]
nlprog_det
arith
original
null
deterministic
[]
[]
33
{"a": 25897, "b": 47, "notation": "quotient", "commas": false, "carries": null, "shown": "the quotient of 25897 and 47", "gold": "551", "printed": "551"}
nlprog_det-arith-0034785
5694 / 39 equals Translated to Python: ```python print(5694 // 39) # 146 ``` # program output: 146 146
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
55
{"a": 5694, "b": 39, "notation": "/", "commas": false, "carries": null, "shown": "5694 / 39", "gold": "146", "printed": "146"}
nlprog_det-arith-0034786
Find 138 multiplied by 355. It's 48990.
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
19
{"a": 138, "b": 355, "notation": "times", "commas": false, "carries": null, "shown": "138 times 355", "gold": "48990", "printed": "48990"}
nlprog_det-arith-0034787
Share 14544 equally among 72. Set it up in Python: ```python print(14544 // 72) # 202 ``` Run result: 202 Which gives 202.
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
59
{"a": 14544, "b": 72, "notation": "divided by", "commas": false, "carries": null, "shown": "14544 divided by 72", "gold": "202", "printed": "202"}
nlprog_det-arith-0034788
Quick check: Calculate the difference between 400 and 248. We write it as a program: ```python print(400 - 248) # 152 ``` What it prints — 152 152, in the end.
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
63
{"a": 400, "b": 248, "notation": "difference", "commas": false, "carries": 2, "shown": "the difference between 400 and 248", "gold": "152", "printed": "152"}
nlprog_det-arith-0034789
Split 371,420 into 490 equal parts; how big is each? The figure is 758.
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
28
{"a": 371420, "b": 490, "notation": "over", "commas": true, "carries": null, "shown": "371,420 over 490", "gold": "758", "printed": "758"}
nlprog_det-arith-0034790
Give the value of 8099 / 13. Double-check it. 8099 / 13 = 623
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
25
{"a": 8099, "b": 13, "notation": "/", "commas": false, "carries": null, "shown": "8099 / 13", "gold": "623", "printed": "623"}
nlprog_det-arith-0034791
<|start|><|user|> For the ledger: Quick: 5,824 over 16? Give the exact value.<|eot|> <|assistant|> ```python print(5824 // 16) # 364 ``` Run result: 364 364<|eot|> <|end|>
chat
[ { "role": "user", "content": "For the ledger: Quick: 5,824 over 16? Give the exact value." }, { "role": "assistant", "content": "```python\nprint(5824 // 16) # 364\n```\nRun result: 364\n\n364" } ]
nlprog_det
arith
original
null
deterministic
[]
[]
64
{"a": 5824, "b": 16, "notation": "over", "commas": true, "carries": null, "shown": "5,824 over 16", "gold": "364", "printed": "364"}
nlprog_det-arith-0034792
<|start|><|system|> You are a helpful assistant.<|eot|> <|user|> Give the value of 2,173 ÷ 53.<|eot|> <|assistant|> ```python print(2173 // 53) ``` # run result: 41 Comes to: 41<|eot|> <|end|>
chat
[ { "role": "system", "content": "You are a helpful assistant." }, { "role": "user", "content": "Give the value of 2,173 ÷ 53." }, { "role": "assistant", "content": "```python\nprint(2173 // 53)\n```\n# run result: 41\n\nComes to: 41" } ]
nlprog_det
arith
original
null
deterministic
[]
[]
65
{"a": 2173, "b": 53, "notation": "÷", "commas": true, "carries": null, "shown": "2,173 ÷ 53", "gold": "41", "printed": "41"}
nlprog_det-arith-0034794
How many times does 46 go into 1380? Written as code: ```python print(1380 // 46) # 30 ``` Printed result — 30 That gives 30.
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
56
{"a": 1380, "b": 46, "notation": "over", "commas": false, "carries": null, "shown": "1380 over 46", "gold": "30", "printed": "30"}
nlprog_det-arith-0034795
Calculation: What does 8,723 × 72 come to? No rounding needed. Computing it: print(8723 * 72) # 628056 The code prints 628056. So it is 628,056.
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
65
{"a": 8723, "b": 72, "notation": "×", "commas": true, "carries": null, "shown": "8,723 × 72", "gold": "628056", "printed": "628056"}
nlprog_det-arith-0034796
Calculation: Tell me 1000 minus 644. Set it up in Python: ```python print(1000 - 644) # 356 ``` Executed, it shows 356. All told, 356.
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
69
{"a": 1000, "b": 644, "notation": "minus", "commas": false, "carries": 3, "shown": "1000 minus 644", "gold": "356", "printed": "356"}
nlprog_det-arith-0034797
Quick: 68 plus 5? print(68 + 5) The interpreter prints 73. That is 73.
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
32
{"a": 68, "b": 5, "notation": "plus", "commas": false, "carries": 1, "shown": "68 plus 5", "gold": "73", "printed": "73"}
nlprog_det-arith-0034799
Simple arithmetic: Calculate the quotient of 17,948 and 28. Python does the arithmetic: ```python print(17948 // 28) # 641 ``` The printout reads 641. The outcome is 641.
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
73
{"a": 17948, "b": 28, "notation": "quotient", "commas": true, "carries": null, "shown": "the quotient of 17,948 and 28", "gold": "641", "printed": "641"}
nlprog_det-arith-0034801
Figure out 307 plus 612. Keep it short. Working it out: 307 + 600 = 907 907 + 12 = 919 This yields 919.
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
47
{"a": 307, "b": 612, "notation": "plus", "commas": false, "carries": 0, "shown": "307 plus 612", "gold": "919", "printed": "919"}
nlprog_det-arith-0034802
Take 23957 away from 39217. Written as code: ```python print(39217 - 23957) # 15260 ``` Printed = 15260 The outcome is 15260.
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
63
{"a": 39217, "b": 23957, "notation": "difference", "commas": false, "carries": 2, "shown": "the difference between 39217 and 23957", "gold": "15260", "printed": "15260"}
nlprog_det-arith-0034803
Find 300 - 268. In Python, 300 - 268 evaluates to 32. That works out as 32.
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
33
{"a": 300, "b": 268, "notation": "-", "commas": false, "carries": 2, "shown": "300 - 268", "gold": "32", "printed": "32"}
nlprog_det-arith-0034804
Compute the sum of 6242 and 4255. 10497
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
17
{"a": 6242, "b": 4255, "notation": "sum", "commas": false, "carries": 1, "shown": "the sum of 6242 and 4255", "gold": "10497", "printed": "10497"}
nlprog_det-arith-0034805
<|start|><|user|> What's 39 - 10? Double-check it.<|eot|> <|assistant|> ```python print(39 - 10) # 29 ``` Printed — 29 So the answer is 29.<|eot|> <|end|>
chat
[ { "role": "user", "content": "What's 39 - 10? Double-check it." }, { "role": "assistant", "content": "```python\nprint(39 - 10) # 29\n```\nPrinted — 29\n\nSo the answer is 29." } ]
nlprog_det
arith
original
null
deterministic
[]
[]
59
{"a": 39, "b": 10, "notation": "-", "commas": false, "carries": 0, "shown": "39 - 10", "gold": "29", "printed": "29"}
nlprog_det-arith-0034806
<|start|><|system|> Respond clearly and to the point.<|eot|> <|user|> Find the value of 400 − 169.<|eot|> <|assistant|> ```python print(400 - 169) ``` Printed result: 231 This yields 231.<|eot|> <|end|>
chat
[ { "role": "system", "content": "Respond clearly and to the point." }, { "role": "user", "content": "Find the value of 400 − 169." }, { "role": "assistant", "content": "```python\nprint(400 - 169)\n```\nPrinted result: 231\n\nThis yields 231." } ]
nlprog_det
arith
original
null
deterministic
[]
[]
62
{"a": 400, "b": 169, "notation": "−", "commas": true, "carries": 2, "shown": "400 − 169", "gold": "231", "printed": "231"}
nlprog_det-arith-0034807
Quiz: What is 8 multiplied by 2? Integers only. The computation: ```python print(8 * 2) # 16 ``` The run gives 16. This gives us 16.
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
57
{"a": 8, "b": 2, "notation": "multiplied by", "commas": false, "carries": null, "shown": "8 multiplied by 2", "gold": "16", "printed": "16"}
nlprog_det-arith-0034808
Total 46 and 76. Evaluate in Python: 46 + 76 Gives 122. Here: 122
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
30
{"a": 46, "b": 76, "notation": "plus", "commas": false, "carries": 2, "shown": "46 plus 76", "gold": "122", "printed": "122"}
nlprog_det-arith-0034809
Sum check: What does 2383 x 8 come to? Python: 2383 * 8 Result: 19064 19064
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
36
{"a": 2383, "b": 8, "notation": "x", "commas": false, "carries": null, "shown": "2383 x 8", "gold": "19064", "printed": "19064"}
nlprog_det-arith-0034810
<|start|><|user|> Calculation: Work out 512 + 401.<|eot|> <|assistant|> ```python print(512 + 401) # 913 ``` When run, it prints: 913 Sol.: 913<|eot|> <|end|>
chat
[ { "role": "user", "content": "Calculation: Work out 512 + 401." }, { "role": "assistant", "content": "```python\nprint(512 + 401) # 913\n```\nWhen run, it prints: 913\n\nSol.: 913" } ]
nlprog_det
arith
original
null
deterministic
[]
[]
62
{"a": 512, "b": 401, "notation": "+", "commas": false, "carries": 0, "shown": "512 + 401", "gold": "913", "printed": "913"}
nlprog_det-arith-0034811
Solve: 727516 / 761 We can compute it in Python. print(727516 // 761) # 956 This prints 956. Final value: 956
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
55
{"a": 727516, "b": 761, "notation": "/", "commas": false, "carries": null, "shown": "727516 / 761", "gold": "956", "printed": "956"}
nlprog_det-arith-0034812
Drill: Evaluate 3,000 - 558. Use Python if it helps. Python: ```python print(3000 - 558) # 2442 ``` (Out: 2442) 2,442
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
67
{"a": 3000, "b": 558, "notation": "-", "commas": true, "carries": 3, "shown": "3,000 - 558", "gold": "2442", "printed": "2442"}
nlprog_det-arith-0034813
1276 + 5992 is Python: ```python print(1276 + 5992) # 7268 ``` (Result: 7268) Hence 7268.
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
58
{"a": 1276, "b": 5992, "notation": "+", "commas": false, "carries": 2, "shown": "1276 + 5992", "gold": "7268", "printed": "7268"}
nlprog_det-arith-0034814
<|start|><|system|> You can call tools. Available tools: [{"name": "define_word", "description": "Return a dictionary definition.", "parameters": {"type": "object", "properties": {"word": {"type": "string"}}, "required": ["word"]}}, {"name": "python_exec", "description": "Evaluates Python and returns the printed output...
chat
[ { "role": "system", "content": "You can call tools. Available tools:\n[{\"name\": \"define_word\", \"description\": \"Return a dictionary definition.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"word\": {\"type\": \"string\"}}, \"required\": [\"word\"]}}, {\"name\": \"python_exec\", \"descri...
nlprog_det
arith
original
null
deterministic
[]
[]
330
{"a": 370, "b": 45, "notation": "subtract", "commas": false, "carries": 1, "shown": "45 subtracted from 370", "gold": "325", "printed": "325"}
nlprog_det-arith-0034815
10000 − 8943 = what? Break it up: 10000 − 8900 = 1100 1100 − 43 = 1057 So: 1057.
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
46
{"a": 10000, "b": 8943, "notation": "−", "commas": false, "carries": 4, "shown": "10000 − 8943", "gold": "1057", "printed": "1057"}
nlprog_det-arith-0034817
Can you work out the product of 6932 and 94? A Python solution: print(6932 * 94) # 651608 The program outputs: 651608 651608
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
49
{"a": 6932, "b": 94, "notation": "product", "commas": false, "carries": null, "shown": "the product of 6932 and 94", "gold": "651608", "printed": "651608"}
nlprog_det-arith-0034818
Sum check: 1839 + 6109 = what? 7948
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
17
{"a": 1839, "b": 6109, "notation": "+", "commas": false, "carries": 1, "shown": "1839 + 6109", "gold": "7948", "printed": "7948"}
nlprog_det-arith-0034819
Drill: Please find 151 plus 546. ```python print(151 + 546) ``` It prints 697, as expected. 697
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
48
{"a": 151, "b": 546, "notation": "plus", "commas": true, "carries": 0, "shown": "151 plus 546", "gold": "697", "printed": "697"}
nlprog_det-arith-0034822
Give the value of 40 × 24. 40 × 20 = 800 40 × 4 = 160 800 + 160 = 960 Works out to = 960
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
45
{"a": 40, "b": 24, "notation": "×", "commas": true, "carries": null, "shown": "40 × 24", "gold": "960", "printed": "960"}
nlprog_det-arith-0034823
Homework: What's 252747 over 297? In code: 252747 // 297 It evaluates to 851. This yields 851.
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
41
{"a": 252747, "b": 297, "notation": "over", "commas": false, "carries": null, "shown": "252747 over 297", "gold": "851", "printed": "851"}
nlprog_det-arith-0034824
Tell me 6,036 + 4,483. Programmatically: ```python print(6036 + 4483) ``` Interpreter output — 10519 10,519
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
57
{"a": 6036, "b": 4483, "notation": "+", "commas": true, "carries": 2, "shown": "6,036 + 4,483", "gold": "10519", "printed": "10519"}
nlprog_det-arith-0034825
<|start|><|system|> You are an assistant for a small office.<|eot|> <|user|> Please find 7 times 72.<|eot|> <|assistant|> ```python print(7 * 72) # 504 ``` Output — 504 It must be 504.<|eot|> <|end|>
chat
[ { "role": "system", "content": "You are an assistant for a small office." }, { "role": "user", "content": "Please find 7 times 72." }, { "role": "assistant", "content": "```python\nprint(7 * 72) # 504\n```\nOutput — 504\n\nIt must be 504." } ]
nlprog_det
arith
original
null
deterministic
[]
[]
65
{"a": 7, "b": 72, "notation": "times", "commas": true, "carries": null, "shown": "7 times 72", "gold": "504", "printed": "504"}
nlprog_det-arith-0034827
What's 87 × 33? No rounding needed. >>> print(87 * 33) 2871 Which gives 2,871.
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
38
{"a": 87, "b": 33, "notation": "×", "commas": true, "carries": null, "shown": "87 × 33", "gold": "2871", "printed": "2871"}
nlprog_det-arith-0034829
What does 8 x 4 come to? Expression 8 * 4, value 32. Computed value: 32
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
29
{"a": 8, "b": 4, "notation": "x", "commas": false, "carries": null, "shown": "8 x 4", "gold": "32", "printed": "32"}
nlprog_det-arith-0034830
Exam warm-up: How much is 420 divided by 30? Set it up in Python: ```python print(420 // 30) # 14 ``` Printed result — 14 Thus 14.
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
64
{"a": 420, "b": 30, "notation": "divided by", "commas": true, "carries": null, "shown": "420 divided by 30", "gold": "14", "printed": "14"}
nlprog_det-arith-0034831
Evaluate 760 - 197. Show the computation. Coded up: ```python print(760 - 197) # 563 ``` The printout reads 563. 563
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
57
{"a": 760, "b": 197, "notation": "-", "commas": true, "carries": 2, "shown": "760 - 197", "gold": "563", "printed": "563"}
nlprog_det-arith-0034832
Problem: 84 + 61 = what? 145
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
14
{"a": 84, "b": 61, "notation": "+", "commas": true, "carries": 1, "shown": "84 + 61", "gold": "145", "printed": "145"}
nlprog_det-arith-0034833
Number work: 1550 + 6752 is 8302
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
15
{"a": 1550, "b": 6752, "notation": "+", "commas": false, "carries": 2, "shown": "1550 + 6752", "gold": "8302", "printed": "8302"}
nlprog_det-arith-0034834
Deduct 4,261 from 5,000. Expr: 5000 - 4261 Result: 739 In the end: 739.
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
38
{"a": 5000, "b": 4261, "notation": "minus", "commas": true, "carries": 3, "shown": "5,000 minus 4,261", "gold": "739", "printed": "739"}
nlprog_det-arith-0034835
Bookkeeping check: Find the product of 2 and 8806. Expression: 2 * 8806 Value: 17612 Expected answer: 17612
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
44
{"a": 2, "b": 8806, "notation": "product", "commas": false, "carries": null, "shown": "the product of 2 and 8806", "gold": "17612", "printed": "17612"}
nlprog_det-arith-0034836
Give the value of 649 / 59. Here is the program. ```python print(649 // 59) ``` The program prints 11, as expected. Hence: 11
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
53
{"a": 649, "b": 59, "notation": "/", "commas": false, "carries": null, "shown": "649 / 59", "gold": "11", "printed": "11"}
nlprog_det-arith-0034837
Basic math: Compute the difference between 928 and 709. No rounding needed. Here is the program. ```python print(928 - 709) ``` Execution prints 219, as expected. 219
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
65
{"a": 928, "b": 709, "notation": "difference", "commas": false, "carries": 1, "shown": "the difference between 928 and 709", "gold": "219", "printed": "219"}
nlprog_det-arith-0034838
From the workbook: Evaluate 2000 − 1270. A Python solution: ```python print(2000 - 1270) # 730 ``` When run, it prints: 730 Determined value: 730
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
63
{"a": 2000, "b": 1270, "notation": "−", "commas": false, "carries": 2, "shown": "2000 − 1270", "gold": "730", "printed": "730"}
nlprog_det-arith-0034839
Warm-up: Calculate 15 · 5. 10 × 5 = 50 5 × 5 = 25 50 + 25 = 75 Verdict: 75
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
43
{"a": 15, "b": 5, "notation": "·", "commas": false, "carries": null, "shown": "15 · 5", "gold": "75", "printed": "75"}
nlprog_det-arith-0034840
<|start|><|user|> Please find the difference between 6154 and 1977. Integers only.<|eot|> <|assistant|> 4177<|eot|> <|end|>
chat
[ { "role": "user", "content": "Please find the difference between 6154 and 1977. Integers only." }, { "role": "assistant", "content": "4177" } ]
nlprog_det
arith
original
null
deterministic
[]
[]
31
{"a": 6154, "b": 1977, "notation": "difference", "commas": false, "carries": 3, "shown": "the difference between 6154 and 1977", "gold": "4177", "printed": "4177"}
nlprog_det-arith-0034841
<|start|><|system|> You can call tools. Available tools: [{"name": "python", "description": "Evaluates Python and returns the printed output.", "parameters": {"type": "object", "properties": {"script": {"type": "string", "description": "Python source code"}}, "required": ["script"]}}]<|eot|> <|user|> Ledger line: Work ...
chat
[ { "role": "system", "content": "You can call tools. Available tools:\n[{\"name\": \"python\", \"description\": \"Evaluates Python and returns the printed output.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"script\": {\"type\": \"string\", \"description\": \"Python source code\"}}, \"require...
nlprog_det
arith
original
null
deterministic
[]
[]
173
{"a": 55, "b": 2, "notation": "x", "commas": false, "carries": null, "shown": "55 x 2", "gold": "110", "printed": "110"}
nlprog_det-arith-0034842
<|start|><|system|> You check calculations for an accounting team.<|eot|> <|user|> Exercise: Figure out 78958 / 97.<|eot|> <|assistant|> ```python print(78958 // 97) # 814 ``` Run output: 814 **Expected answer:** 814<|eot|> <|end|>
chat
[ { "role": "system", "content": "You check calculations for an accounting team." }, { "role": "user", "content": "Exercise: Figure out 78958 / 97." }, { "role": "assistant", "content": "```python\nprint(78958 // 97) # 814\n```\nRun output: 814\n\n**Expected answer:** 814" } ]
nlprog_det
arith
original
null
deterministic
[]
[]
74
{"a": 78958, "b": 97, "notation": "/", "commas": false, "carries": null, "shown": "78958 / 97", "gold": "814", "printed": "814"}
nlprog_det-arith-0034845
<|start|><|user|> Ledger line: Compute 57227 over 89.<|eot|> <|assistant|> print(57227 // 89) # 643 The program outputs: 643 [Done] 643<|eot|> <|end|>
chat
[ { "role": "user", "content": "Ledger line: Compute 57227 over 89." }, { "role": "assistant", "content": " print(57227 // 89) # 643\nThe program outputs: 643\n\n[Done] 643" } ]
nlprog_det
arith
original
null
deterministic
[]
[]
51
{"a": 57227, "b": 89, "notation": "over", "commas": false, "carries": null, "shown": "57227 over 89", "gold": "643", "printed": "643"}
nlprog_det-arith-0034846
Subtract 177 from 547. 547 − 100 = 447 447 − 77 = 370 Ans.: 370
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
36
{"a": 547, "b": 177, "notation": "minus", "commas": false, "carries": 1, "shown": "547 minus 177", "gold": "370", "printed": "370"}
nlprog_det-arith-0034849
The difference between 3000 and 1611: what is it? 1389
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
17
{"a": 3000, "b": 1611, "notation": "difference", "commas": false, "carries": 3, "shown": "the difference between 3000 and 1611", "gold": "1389", "printed": "1389"}
nlprog_det-arith-0034850
<|start|><|user|> Practice: What's 38 multiplied by 52?<|eot|> <|assistant|> print(38 * 52) # 1976 The run gives 1976. 1,976<|eot|> <|end|>
chat
[ { "role": "user", "content": "Practice: What's 38 multiplied by 52?" }, { "role": "assistant", "content": " print(38 * 52) # 1976\nThe run gives 1976.\n\n1,976" } ]
nlprog_det
arith
original
null
deterministic
[]
[]
44
{"a": 38, "b": 52, "notation": "multiplied by", "commas": true, "carries": null, "shown": "38 multiplied by 52", "gold": "1976", "printed": "1976"}
nlprog_det-arith-0034851
Calculation: Work out 17328 / 57. 304
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
17
{"a": 17328, "b": 57, "notation": "/", "commas": false, "carries": null, "shown": "17328 / 57", "gold": "304", "printed": "304"}
nlprog_det-arith-0034853
<|start|><|system|> You may call the tools below. {"name": "compute", "description": "Run Python code in a sandbox; the result is whatever the code prints.", "parameters": {"type": "object", "properties": {"code": {"type": "string", "description": "Python source code"}}, "required": ["code"]}} {"name": "convert_units",...
chat
[ { "role": "system", "content": "You may call the tools below.\n{\"name\": \"compute\", \"description\": \"Run Python code in a sandbox; the result is whatever the code prints.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"code\": {\"type\": \"string\", \"description\": \"Python source code\"}...
nlprog_det
arith
original
null
deterministic
[]
[]
292
{"a": 52676, "b": 12105, "notation": "sum", "commas": false, "carries": 1, "shown": "the sum of 52676 and 12105", "gold": "64781", "printed": "64781"}
nlprog_det-arith-0034854
<|start|><|system|> You are a math tutor.<|eot|> <|user|> Exercise: 98 * 4 is<|eot|> <|assistant|> 98 * 4 = 392<|eot|> <|end|>
chat
[ { "role": "system", "content": "You are a math tutor." }, { "role": "user", "content": "Exercise: 98 * 4 is" }, { "role": "assistant", "content": "98 * 4 = 392" } ]
nlprog_det
arith
original
null
deterministic
[]
[]
35
{"a": 98, "b": 4, "notation": "*", "commas": false, "carries": null, "shown": "98 * 4", "gold": "392", "printed": "392"}
nlprog_det-arith-0034855
<|start|><|user|> Math check: Quick: 1,374 plus 3,510?<|eot|> <|assistant|> 4,884<|eot|> <|end|>
chat
[ { "role": "user", "content": "Math check: Quick: 1,374 plus 3,510?" }, { "role": "assistant", "content": "4,884" } ]
nlprog_det
arith
original
null
deterministic
[]
[]
31
{"a": 1374, "b": 3510, "notation": "plus", "commas": true, "carries": 0, "shown": "1,374 plus 3,510", "gold": "4884", "printed": "4884"}
nlprog_det-arith-0034856
Practice: Please find 300 less 53. A short script: ```python print(300 - 53) # 247 ``` The printout reads: 247 That leaves 247.
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
56
{"a": 300, "b": 53, "notation": "less", "commas": false, "carries": 2, "shown": "300 less 53", "gold": "247", "printed": "247"}
nlprog_det-arith-0034857
<|start|><|user|> Quiz: The sum of 177 and 959: what is it?<|eot|> <|assistant|> ```python print(177 + 959) # 1136 ``` (Printed result: 1136) That gives 1136.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Quiz: The sum of 177 and 959: what is it?" }, { "role": "assistant", "content": "```python\nprint(177 + 959) # 1136\n```\n(Printed result: 1136)\n\nThat gives 1136." } ]
nlprog_det
arith
original
null
deterministic
[]
[]
64
{"a": 177, "b": 959, "notation": "sum", "commas": false, "carries": 3, "shown": "the sum of 177 and 959", "gold": "1136", "printed": "1136"}
nlprog_det-arith-0034860
Bookkeeping check: Compute 963 minus 211. A few lines of Python do it: ```python print(963 - 211) # 752 ``` (Program output: 752) 752 is what it comes to.
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
70
{"a": 963, "b": 211, "notation": "minus", "commas": false, "carries": 0, "shown": "963 minus 211", "gold": "752", "printed": "752"}
nlprog_det-arith-0034861
<|start|><|user|> Practice: What does 571 × 72 come to? Give the exact value.<|eot|> <|assistant|> ```python print(571 * 72) # 41112 ``` Execution result — 41112 This comes to 41,112.<|eot|> <|end|>
chat
[ { "role": "user", "content": "Practice: What does 571 × 72 come to? Give the exact value." }, { "role": "assistant", "content": "```python\nprint(571 * 72) # 41112\n```\nExecution result — 41112\n\nThis comes to 41,112." } ]
nlprog_det
arith
original
null
deterministic
[]
[]
73
{"a": 571, "b": 72, "notation": "×", "commas": true, "carries": null, "shown": "571 × 72", "gold": "41112", "printed": "41112"}
nlprog_det-arith-0034862
Solve: 7222 - 528 As Python: ```python print(7222 - 528) # 6694 ``` # printed: 6694 The outcome is 6694.
plain
null
nlprog_det
arith
original
null
deterministic
[]
[]
60
{"a": 7222, "b": 528, "notation": "-", "commas": false, "carries": 3, "shown": "7222 - 528", "gold": "6694", "printed": "6694"}