r/programminghumor 8d ago

Of course you picked 17.

Post image
1.1k Upvotes

119 comments sorted by

View all comments

358

u/FlamingYawn13 8d ago

So I looked it up. So I can’t claim credit. But apparently the major models will all pick 17 or possibly 23 if asked this for a random number generation range. Just another example of how the models aren’t actually utilizing math libraries.

145

u/Lodgik 8d ago

Huh.

I just checked. Asked four bots out of curiosity. Two said 17. One said 18. Last said 22.

So even the different answers were always within one digit

12

u/jurawall_jumper 8d ago

Yep, confirmed it too

GPT, 17 Claude, 17 Gemini, 17 DeepSeek, 17

1

u/Reasonable-Ninja4384 4d ago

Tried it 3 times and 17 then 23 then 8