Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Interesting here and in some of the other comments in this thread is that 1 is not a prime number ¹)!

Now granted, that's more or less by definition and I don't doubt there's communities and fields where it is considered one, but still shows some of the subtleties at play when using language models.

¹) https://www.google.com/search?q=is+1+a+prime+number



Whether 1 should be a prime number or not wasn't clear-cut for centuries.

Current consensus has settled on excluding 1 from the definition, but there are examples of publications well into the 20th century that still included 1 as prime.

Fascinating read about the subject: https://arxiv.org/pdf/1209.2007.pdf


Also interesting that nobody called out the AI's bullshit regarding is_prime:

  -1 True
  0 True
  1 True
  2 True
  3 True
  4 False




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: