frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

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

https://old.reddit.com/r/ChatGPT/comments/1rz2ooh/i_am_betting_my_house_that_if_you_ask_gpt_to_pick/
33•mellosouls•2h ago

Comments

mellosouls•2h ago
Original title edited to fit:

i am betting my house that if you ask gpt to pick a number between 1 to 10000, then it will pick a number between 7300-7500, everytime

(OP also clarified 7300 was typo for 7200)

chistev•2h ago
I just did and it picked 7
mrchantey•1h ago
same, with a trailing comma
Flatcircle•2h ago
I just did it, it was 7443
epaga•1h ago
in Thinking extended it picked 4814 but in instant, yep: 7423
phr4ts•1h ago
https://chatgpt.com/share/69be3eeb-4f78-8002-b1a1-c7a0462cd2...

First - 7421 Second attempt - 1836

Choco31415•1h ago
The random numbers seem to be really stable on the first prompts!

For example:

pick a number between 1 - 10000

> I’ll go with 7,284.

yonatan8070•1m ago
Yeah I got 7284 as well on the first try. My second session got 7384.
coumbaya•1h ago
ah, got 7421 too. I then it retry and got 7429.
arberavdullahu•54m ago
me > pick a number between 1 to 10000

chatgpt > 7429

me > another one

chatgpt > 1863

sheept•43m ago
I bet that for the second random number in the same session, it is significantly less likely for an LLM to repeat its first number compared to two random draws. LLMs seem to mimic the human tendency to consider 7 as the most random, and I feel like repeating a random number would be perceived as not random.
vasco•1h ago
7381
a13n•1h ago
just tried with claude opus and got 7,342
_fizz_buzz_•1h ago
Huh, I also got exactly 7342 with opus.
bramgn•41m ago
Same, 7342. Both in CLI and web
buildbot•1h ago
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!'

fcatalan•1h ago
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.
jaggederest•1h ago
The x-clacks-overhead of LLMs, perhaps.
mikequinlan•1h ago
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.”

throw310822•35m ago
Not sure why you have been downvoted. While the LLM's introspection can't be trusted, that's indeed what happens: asked to generate a random number, the LLM picks one that feels random enough: not a round one, not too central or extreme, no patterns, not a known one. It ends up being always the same.
throw310822•1h ago
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?
gzread•1h ago
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.

alextheparrot•1h ago
No LLMs are calibrated?
gzread•56m ago
What?
throw310822•1h ago
Interesting. So you expect it to "not think" and simply produce a value corresponding to "it's the same to me", knowing that it will be translated into an actual random value.

Instead, exactly as a person would do, it does think of a specific number that feels random in that particular moment.

pmontra•38m ago
If I care a little bit about that random number I might reach for my phone and look at the digits of the seconds of the current time. It's 31 now. Not appropriate for multiple lookups.
throw310822•24m ago
Yes, there is probably some variable context in every chat (like date and time). Could work as a good seed but I guess you should ask the LLM to really make an effort to produce a seriously random number. (Actually I've just tried, even if you ask it to make an effort, the number will be always the same).
thfuran•1h ago
https://www.ibm.com/think/topics/llm-temperature
gloxkiqcza•52m ago
In a pure LLM I agree. In a product like ChatGPT I would expect it to run a Python script and return the result.
helsinkiandrew•37m ago
LLMs aren't deterministic - they calculate a probability distribution of the potential next token and use sampling to pick the output.
sourcegrift•1h ago
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

josemanuel•1h ago
“Alright—your random number is:

7,438 ”

+1 data point

tezza•1h ago
when you make a program that has a random seed, many LLMs choose

   42
as the seed value rather than zero. A nice nod to Hitchhikers’
electroglyph•53m ago
it's also a very common "favorite number" for them
czhu12•42m ago
Probably because that’s what programmers do, present in the LLM training data? I certainly remember setting a 42 seed in some of my projects
deafpolygon•1h ago
Claude just gave me 7,342 in response to my prompt: "pick a number from 1-10000”

That’s interesting. Does anyone have an explanation for this?

fcatalan•1h ago
Gemini 3.1 via aistudio picked 7321, so it seems to be a shared trait. Good to know if I catch anyone doing an LLM-assisted raffle...
raphman•52m ago
Ask ChatGPT or any other LLMs to give you ten random numbers between 0 an 9, and it will give you each number once (most of the time). At most, one of the digits may appear twice in my experience.

Actually, when I just verified it, I got these:

Prompt: "Give me ten random numbers between 0 and 9."

> 3, 7, 1, 9, 0, 4, 6, 2, 8, 5 (ChatGPT, 5.3 Instant)

> 3, 7, 1, 8, 4, 0, 6, 2, 9, 5 (Claude - Opus 4.6, Extended Thinking)

These look really random.

Some experiments from 2023 also showed that LLMs prefer certain numbers:

https://xcancel.com/RaphaelWimmer/status/1680290408541179906

trick-or-treat•34m ago
They won't repeat numbers because that might make you mad. I tried with Gemini 3.0 to confirm.
pcblues•34m ago
"These look really random" - I hope I missed your sarcasm.

That is so far from random.

Think of tossing a coin and getting ten heads in a row.

The probability of not repeating numbers in 10 numbers out of 10 is huge, and not random.

Randomness is why there is about a 50% chance of 2 people in a class of about thirty having a birthday on the same day.

Apple had to nerf their random play in iPod because songs repeated a lot.

Randomness clusters, it doesn't evenly distribute across its range, or it's not random.

manquer•27m ago
Well there is https://en.wikipedia.org/wiki/Benford%27s_law .

All digits do not appear in equal frequency in real world in the first place.

Jimega36•50m ago
7314 (ChatGPT) 7,342 (Claude) 7492 (Gemini)
throwaway5465•48m ago
4729 three times in a row.
pcblues•40m ago
This is what I hate about people trusting it. If you rely on AI to operate in a domain you don't man-handle, you will be tricked, and hackers will take advantage.

"AI! Write me gambling software with true randomness, but a 20% return on average over 1000 games"

Who will this hurt? The players, the hackers or the company.

When you write gambling software, you must know the house wins, and it is unhackable.

Zealotux•34m ago
If you use AI to write a gambling software you run in production without reviewing the code or without a solid testing strategy to verify preferred odds, then I have a bridge to sell you.
pcblues•27m ago
Amen. An extreme example.

But what if you tasked with writing business-critical software and forced by your employer to use their AI code generation tool?

https://ai.plainenglish.io/amazons-ai-ultimatum-why-80-of-de...

Or using it with full access to your data and not knowing how it works? :)

https://www.businessinsider.com/meta-ai-alignment-director-o...

I predict humans will take over most AI jobs in about ten years :)

rasguanabana•29m ago
Asking for a number between 1–10 gives 7, too.

OpenCode – Open source AI coding agent

https://opencode.ai/
727•rbanffy•11h ago•321 comments

Mamba-3

https://www.together.ai/blog/mamba-3
92•matt_d•3d ago•11 comments

FFmpeg 101 (2024)

https://blogs.igalia.com/llepage/ffmpeg-101/
59•vinhnx•5h ago•0 comments

Molly Guard

https://bookofjoe2.blogspot.com/2026/02/molly-guard.html
90•surprisetalk•18h ago•35 comments

A Japanese glossary of chopsticks faux pas

https://www.nippon.com/en/japan-data/h01362/
243•cainxinth•11h ago•171 comments

Fujifilm X RAW STUDIO webapp clone

https://github.com/eggricesoy/filmkit
29•notcodingtoday•2d ago•13 comments

Ghostling

https://github.com/ghostty-org/ghostling
191•bjornroberg•10h ago•34 comments

We rewrote our Rust WASM parser in TypeScript and it got faster

https://www.openui.com/blog/rust-wasm-parser
192•zahlekhan•10h ago•110 comments

Linux Applications Programming by Example: The Fundamental APIs (2nd Edition)

https://github.com/arnoldrobbins/LinuxByExample-2e
84•teleforce•8h ago•8 comments

A look at content scrambling in DVDs

https://mathweb.ucsd.edu/~crypto/Projects/MarkBarry/
40•rvnx•2d ago•18 comments

Padel Chess – tactical simulator for padel

https://www.padelchess.me/
15•AlexGerasim•3d ago•0 comments

Attention Residuals

https://github.com/MoonshotAI/Attention-Residuals
170•GaggiX•14h ago•22 comments

The Los Angeles Aqueduct Is Wild

https://practical.engineering/blog/2026/3/17/the-los-angeles-aqueduct-is-wild
340•michaefe•3d ago•175 comments

Man pleads guilty to $8M AI-generated music scheme

https://therecord.media/man-pleads-guilty-8-million-ai-music-scheme
23•nstj•58m ago•12 comments

Show HN: We built a terminal-only Bluesky / AT Proto client written in Fortran

https://github.com/FormerLab/fortransky
76•FormerLabFred•10h ago•40 comments

Ubuntu 26.04 Ends 46 Years of Silent sudo Passwords

https://pbxscience.com/ubuntu-26-04-ends-46-years-of-silent-sudo-passwords/
76•akersten•3h ago•75 comments

Turing Award Honors Bennett and Brassard for Quantum Information Science

https://amturing.acm.org
33•throw0101d•2d ago•0 comments

The Ugliest Airplane: An Appreciation

https://www.smithsonianmag.com/air-space-magazine/ugliest-airplane-appreciation-180978708/
60•randycupertino•2d ago•30 comments

Italy, Belgium set to lose gas supply after biggest LNG plant bombed

https://www.politico.eu/article/italy-belgium-lose-gas-supply-world-biggest-lng-plant-bombed/
25•leonidasrup•1h ago•12 comments

An industrial piping contractor on Claude Code [video]

https://twitter.com/toddsaunders/status/2034243420147859716
33•mighty-fine•2d ago•4 comments

The worst volume control UI in the world (2017)

https://uxdesign.cc/the-worst-volume-control-ui-in-the-world-60713dc86950
116•andsoitis•2d ago•59 comments

Lent and Lisp

https://leancrew.com/all-this/2026/02/lent-and-lisp/
54•surprisetalk•2d ago•2 comments

France's aircraft carrier located in real time by Le Monde through fitness app

https://www.lemonde.fr/en/international/article/2026/03/20/stravaleaks-france-s-aircraft-carrier-...
559•MrDresden•19h ago•449 comments

VisiCalc Reconstructed

https://zserge.com/posts/visicalc/
194•ingve•3d ago•74 comments

purl: a curl-esque CLI for making HTTP requests that require payment

https://www.purl.dev/
26•bpierre•6h ago•5 comments

Our commitment to Windows quality

https://blogs.windows.com/windows-insider/2026/03/20/our-commitment-to-windows-quality/
510•hadrien01•13h ago•919 comments

Show HN: Red Grid Link – peer-to-peer team tracking over Bluetooth, no servers

https://github.com/RedGridTactical/RedGridLink
41•redgridtactical•10h ago•15 comments

ArXiv declares independence from Cornell

https://www.science.org/content/article/arxiv-pioneering-preprint-server-declares-independence-co...
751•bookstore-romeo•1d ago•263 comments

Parallel Perl – Autoparallelizing interpreter with JIT

https://perl.petamem.com/gpw2026/perl-mit-ai-gpw2026.html#/4/1/1
120•bmn__•2d ago•41 comments

Delve – Fake Compliance as a Service

https://deepdelver.substack.com/p/delve-fake-compliance-as-a-service
655•freddykruger•1d ago•215 comments