AI Prompt Library

Teacher Birthday Logic Puzzle

Knowledge Q&A

A globally renowned conditional reasoning test question. Exercises AI context memory and deductive reasoning through multi-step logical elimination. Suitable for LLM benchmark testing or fun IQ quiz content generation.

Prompt Template

Xiao Ming and Xiao Qiang are Teacher Zhang's students. His birthday is Month M, Day N. They know it's one of 10 dates: Mar 4, Mar 5, Mar 8, Jun 4, Jun 7, Sep 1, Sep 5, Dec 1, Dec 2, Dec 8. Teacher Zhang told M to Xiao Ming, N to Xiao Qiang. Xiao Ming: "If I don't know, Xiao Qiang definitely doesn't know." Xiao Qiang: "I didn't know, but now I do." Xiao Ming: "Oh, now I know too." Deduce the exact birthday based on this dialogue.

💡 How to use

  • 1.Click the "Copy Prompt" button above
  • 2.Paste it into ChatGPT or your AI tool
  • 3.Customize the placeholders with your specific information
  • 4.Generate high-quality content!