Another number puzzle
Moderator: Michael Wallace
-
- Kiloposter
- Posts: 1955
- Joined: Mon Jan 21, 2008 9:02 am
- Location: UK
Another number puzzle
Dinos's puzzle this morning reminds me of another I learned at about the same time. It's probably equally well known, so PM me with an answer, and I'll acknowledge it here if you're right.
Find a 10 digit number in which
the first digit is the number of zeros in the number
the second digit is the number of ones in the number
the third digit is the number of twos in the number
...
the last digit is the number of nines in the number
Find a 10 digit number in which
the first digit is the number of zeros in the number
the second digit is the number of ones in the number
the third digit is the number of twos in the number
...
the last digit is the number of nines in the number
- Michael Wallace
- Racoonteur
- Posts: 5458
- Joined: Mon Jan 21, 2008 5:01 am
- Location: London
Re: Another number puzzle
How many 8s in that?Liam Tiernan wrote:8100000000?. There are probably others.
Edit: Oh, you deleted it.
-
- Devotee
- Posts: 799
- Joined: Thu Jun 04, 2009 5:12 pm
- Location: Kildare, Rep. of Ireland
Re: Another number puzzle
Whoops, soz, serious caffeine deficiency this morning. TBF, was playing weekly poker tournament 'til early hours and won for first time in months. Head still buzzing.Michael Wallace wrote:How many 8s in that?Liam Tiernan wrote:8100000000?. There are probably others.
Edit: Oh, you deleted it.
-
- Kiloposter
- Posts: 1955
- Joined: Mon Jan 21, 2008 9:02 am
- Location: UK
Re: Another number puzzle
One suggestion by PM so far. Not correct.
-
- Kiloposter
- Posts: 1955
- Joined: Mon Jan 21, 2008 9:02 am
- Location: UK
Re: Another number puzzle
Jon Corby spot on at 14:39. Well done.
I've got an extension for this one too, but I need to be careful how I word it. Later, maybe.
I've got an extension for this one too, but I need to be careful how I word it. Later, maybe.
-
- Kiloposter
- Posts: 1955
- Joined: Mon Jan 21, 2008 9:02 am
- Location: UK
Re: Another number puzzle
Bob de Caux has now got a correct solution.
Jon and Bob have both come up with the same 10-digit number. For you two, and for anyone else who manages a valid solution, how many 10-digit solutions can you find? And can you prove convincingly that there aren't any more?
Jon and Bob have both come up with the same 10-digit number. For you two, and for anyone else who manages a valid solution, how many 10-digit solutions can you find? And can you prove convincingly that there aren't any more?
- Kai Laddiman
- Fanatic
- Posts: 2314
- Joined: Wed Oct 15, 2008 3:37 pm
- Location: My bedroom
Re: Another number puzzle
I might have a stab at a program for this in a bit.
Might.
Might.
16/10/2007 - Episode 4460
Dinos Sfyris 76 - 78 Dorian Lidell
Proof that even idiots can get well and truly mainwheeled.
Dinos Sfyris 76 - 78 Dorian Lidell
Proof that even idiots can get well and truly mainwheeled.
-
- Kiloposter
- Posts: 1955
- Joined: Mon Jan 21, 2008 9:02 am
- Location: UK
Re: Another number puzzle
3rd correct solution. This time from Graeme Cole. Well done, Graeme.
-
- Kiloposter
- Posts: 1955
- Joined: Mon Jan 21, 2008 9:02 am
- Location: UK
Re: Another number puzzle
And a correct over-night submission from Dinos.
-
- Kiloposter
- Posts: 1955
- Joined: Mon Jan 21, 2008 9:02 am
- Location: UK
Re: Another number puzzle
You'll find it much more satisfying to do it without programming aids.Kai Laddiman wrote:I might have a stab at a program for this in a bit.
Might.
... unless you simply treat it as an excercise in improving your programming skills. But even then, I'd have a go at doing it by simply thinking.
-
- Kiloposter
- Posts: 1955
- Joined: Mon Jan 21, 2008 9:02 am
- Location: UK
Re: Another number puzzle
Ok, first extension.
Replace the asterisks with numbers, which do not have to be single digits, so that the following sentence is correct.
This sentence contains * 0s, * 1s, * 2s, * 3s, * 4s, * 5s, * 6s, * 7s, * 8s and * 9s.
Of course, if any of the asterisks are 1, then you can drop the corresponding plural s.
I believe there are two solutions.
Replace the asterisks with numbers, which do not have to be single digits, so that the following sentence is correct.
This sentence contains * 0s, * 1s, * 2s, * 3s, * 4s, * 5s, * 6s, * 7s, * 8s and * 9s.
Of course, if any of the asterisks are 1, then you can drop the corresponding plural s.
I believe there are two solutions.
-
- Kiloposter
- Posts: 1955
- Joined: Mon Jan 21, 2008 9:02 am
- Location: UK
Re: Another number puzzle
Another correct submission for the 10 digit number. This time from Ben W.
-
- Kiloposter
- Posts: 1955
- Joined: Mon Jan 21, 2008 9:02 am
- Location: UK
Re: Another number puzzle
For the first extension, Bob is the first to get one of the two possible answers.
So who's going to be the first to get them both?
So who's going to be the first to get them both?
- Jon O'Neill
- Ginger Ninja
- Posts: 4552
- Joined: Tue Jan 22, 2008 12:45 am
- Location: London, UK
Re: Another number puzzle
Is this another extension? If it is, I'm going for Bob.Howard Somerset wrote:So who's going to be the first to get them both?
-
- Kiloposter
- Posts: 1955
- Joined: Mon Jan 21, 2008 9:02 am
- Location: UK
Re: Another number puzzle
I wonder if Bob will hold back, just to prove you wrong, Jono.Jon O'Neill wrote:Is this another extension? If it is, I'm going for Bob.Howard Somerset wrote:So who's going to be the first to get them both?
-
- Kiloposter
- Posts: 1955
- Joined: Mon Jan 21, 2008 9:02 am
- Location: UK
Re: Another number puzzle
First the first extension, Jon Corby's the first to get both solutions.
- Jon O'Neill
- Ginger Ninja
- Posts: 4552
- Joined: Tue Jan 22, 2008 12:45 am
- Location: London, UK
Re: Another number puzzle
So I failed the second extension? Poop.
-
- Enthusiast
- Posts: 265
- Joined: Wed Sep 09, 2009 3:18 pm
Re: Another number puzzle
Sorry Jono, I couldn't handle the pressure and went to piecesJon O'Neill wrote:So I failed the second extension? Poop.
-
- Kiloposter
- Posts: 1955
- Joined: Mon Jan 21, 2008 9:02 am
- Location: UK
Re: Another number puzzle
Bob has now recovered his composure, and come up with the second possible solution.
-
- Kiloposter
- Posts: 1955
- Joined: Mon Jan 21, 2008 9:02 am
- Location: UK
Re: Another number puzzle
And now a correct submission from Jono. Well half a submission anyway. One solution to the extension.
-
- Kiloposter
- Posts: 1955
- Joined: Mon Jan 21, 2008 9:02 am
- Location: UK
Re: Another number puzzle
All correct now from Jono. Both for the initial puzzle, and the two solutions for the extension.
-
- Kiloposter
- Posts: 1955
- Joined: Mon Jan 21, 2008 9:02 am
- Location: UK
Re: Another number puzzle
10 digit solution now correctly found by Jack.