DrewDad: Aka Bart, who drew (angry) dad said,
"Glittering Points: Stalactites
Alive without breath: Sorry, I've read The Hobbit."
That's the problem, people are too well read. :wink:
"But apparently not optimal."
Mark, just because I say it, dose not make it so. I do not judge replies that vary from mine, there are many ways to reach a valid conclusion.
It is more amazing that we agree almost all the time, and nobody has raised any objections to any result. How long can it continue?
The number of integers satisfying the conditions is 2d - 1. One method of solution is the following:
Look at the left most digit, call it L. The digits less than L must follow in decreasing order while those greater than L must follow in increasing order. If L = d, there are no digits larger than L; if L = d - 1, there is one digit larger than L and it can appear in any of d - 1 places; if L = d - 2, there are two digits larger than L and they take up two of the following d - 1 places; and so on. This gives the total number to be
C(d - 1,0) + C(d - 1,1) + C(d - 1,2) + ... + C(d - 1,d - 2) + C(d - 1,d - 1),
where C(d-1,k) is the number of ways to select a subset of size k from a set of size d - 1. The above sum is the desired number given above.
A priest and a pirate are shipwrecked on an island with a boat which is large enough to carry only one of them to the mainland. They decide to let Lady Luck decide which one of them will be rescued.
On the island they find two coins. Assuming that at least one of the coins is fair -- that is, gives heads or tails 50% of the time -- but not knowing which one that may be, how can they use the coins to decide fairly who gets off the island
(This is an opinion only sort of question.)
A cattle town in the old west comes under attack by rustlers.
The townspeople dispatch their fastest horse and rider to the nearest fort with a note seeking help. When the horse arrives at the fort, the rider has been killed and most of the note destroyed, except for the letters
EST
To make matters worse, there are two towns about the same distance from the fort, to the east is the town of Rhester, to the west lies Testchester. Because of lack of troops, the fort can only send help to one of the towns.
To which town would you send the troops
Die without me,
Never thank me.
Walk right through me,
Never feel me.
Always watching,
Never speaking.
Always lurking,
Never seen.
Answer:
Each morning I appear
To lie at your feet,
All day I will follow
No matter how fast you run,
Yet I nearly perish
In the midday sun.
Answer: