Incantory
Sign in
Text promptMITNot scanned

Adding Odd Numbers with LLMs

This prompt tests an LLM's mathematical capabilities by prompting it check if adding odd numbers add up to an even number. We will also leverage chain-of-thought prompting in this example.

Prompt Engineering Guidev10 stars · 0 forks · 0 makes≈54 tokens

prompt.md · 216 BRaw

The odd numbers in this group add up to an even number: 15, 32, 5, 13, 82, 7, 1. Solve by breaking the problem into steps. First, identify the odd numbers, add them, and indicate whether the result is odd or even.