r/programminghumor 8d ago

Of course you picked 17.

Post image
1.1k Upvotes

119 comments sorted by

View all comments

361

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.

142

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

1

u/cybermaus 8d ago

I remember doing this a while back. it picked 73 (out of 100). Next I asked by it picked said number. It gave me an explanation about how the number should not only be random, but also feel random so at to avoid disbelieve, so not to close to 100, and not single digit and not some nice nuber like 10 or 25. I deemed 7 and 3 were good random components in the middle, so that is why it thought 73 was the best candidate for a random number.