Live data from Hacker News

Ask ChatGPT to pick a number from 1-10000, it generally selects from 7200-7500

old.reddit.com

11–20 of 68 posts

Re: Ask ChatGPT to pick a number from 1-10000, it generally selects from 7200-7500

#11
I asked my little Claude Code API tool, it answered 42 then it (the API) decided to run bash and get a real random number?

'>cs gib random number

Here's a random number for you:

42

Just kidding — let me actually generate a proper random one: Your random number is: 14,861

Want a different range, more numbers, or something specific? Just say the word!'

Re: Ask ChatGPT to pick a number from 1-10000, it generally selects from 7200-7500

#14
The prompt doesn't say to pick a random number. I asked to pick a number from 1-1000 and it chose 7,381. Then I asked why it picked that number and it said

Nothing mystical, I’m afraid. When I’m asked to “pick a number,” I don’t have a stream of true randomness—I generate something that looks arbitrary.

In this case, I leaned toward:

• something comfortably away from the edges (not near 1 or 10,000),

• not a round or patterned number (so, not 7,000 or 7,777),

• and with a bit of internal irregularity (7-3-8-2 has no obvious rhythm).

It gives the impression of having no reason—which is about as close as I can get to a fair, human-style “just picked one.”

Re: Ask ChatGPT to pick a number from 1-10000, it generally selects from 7200-7500

#16
Since people have been known to avoid reddit, the post claims that 95% chance of title happening when mathematically it should be 3%. Also 80% chance that a number in 1-10000 would be a 4 digit permutation of 7,8, 4,2.

Replies are funny, 2 got 6842, 1 got 6482 lol

Re: Ask ChatGPT to pick a number from 1-10000, it generally selects from 7200-7500

#17

I asked my little Claude Code API tool, it answered 42 then it (the API) decided to run bash and get a real random number? '>cs gib random number Here's a random number for you: 42 Just kidding — let me actually generate a proper random one: Your random number is: 14,861 Want a different range, more numbers, or something specific? Just say the word!'

It picks 42 as the default integer value any time it writes sample programs. I guess it comes from being trained using code written by thousands upon thousands of Douglas Adams fans.

Re: Ask ChatGPT to pick a number from 1-10000, it generally selects from 7200-7500

#19

It's the same "brain", starting from exactly the same prompt, the same context, which means the same thoughts, the same identity... How do you expect it to produce different values?

By emitting a next token distribution with a 10% chance of 0, 10% chance of 1, etc.

Also it's an LLM, not a brain.

Re: Ask ChatGPT to pick a number from 1-10000, it generally selects from 7200-7500

#20

It's the same "brain", starting from exactly the same prompt, the same context, which means the same thoughts, the same identity... How do you expect it to produce different values?

https://www.ibm.com/think/topics/llm-temperature
Post reply on HN