programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
• Campbell Ritchie
• Ron McLeod
• Paul Clapham
• Bear Bibeault
• Junilu Lacar
Sheriffs:
• Jeanne Boyarsky
• Tim Cooke
• Henry Wong
Saloon Keepers:
• Tim Moores
• Stephan van Hulst
• Tim Holloway
• salvin francis
• Frits Walraven
Bartenders:
• Scott Selikoff
• Piet Souris
• Carey Brown

# Counting in decimal on 6-sided dice

Rancher
Posts: 13459
I haven't tried this myself but thought it might be an interesting problem.
Given two 6-sided dice, and able to write any (single) number on any face of either dice, what is the largest number you can count up to (ie display each number starting from 1) and how are the numbers arranged on the dice?
Assume you only need to show a single value for numbers less than 10 ie 9 and not 09

David O'Meara
Rancher
Posts: 13459
my max is 29, I can't make 30

Ranch Hand
Posts: 245
If 6 can be turned upside down and used as 9 it is 43. (otherwise 32)

David O'Meara
Rancher
Posts: 13459
Nice, inverting a 6 would be allowed.
The practical use is that we have a Christmas thing with dice that count the days down to Christmas, and rather than looking to what they have I thought I'd pose the question here instead.

Ranch Hand
Posts: 1923
I'm not sure whether I got the question.

> any (single) number

Do you mean cipher by that?

> count up to

That just means: arrange the two dice (being allowed to hide one of them), so that they show a number?

(012387)(12345[69])

Bartender
Posts: 1197
22
What if, in addition to a 6 being flipped over to make a 9, you could also flip a 7 over to make a 1? In that case, how high could you count?

lowercase baba
Posts: 12893
63
well while we're at it...a lot of sports teams use the same thing for a '2' and a '5'. Or are we now making it too easy?

 With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.