- #246
- 19,763
- 25,775
Nope, see #243. The answer fits in one, maximal two lines (without proof, which is trivial).pbuk said:I thought #242 WAS the solution - surely there cannot be anything simpler?
Nope, see #243. The answer fits in one, maximal two lines (without proof, which is trivial).pbuk said:I thought #242 WAS the solution - surely there cannot be anything simpler?
Less than a second ? Hats off !fresh_42 said:The sum are the first ten numbers of a Fibonacci sequence, say ##F_1,F_2,\ldots ## Now for any such sequence, i.e. for any basis pair of numbers, we have
$$
\sum_{k=1}^{10} F_k = 11 \cdot F_7
$$
For the multiplication, not the rule.BvU said:Less than a second ? Hats off !
(what's the icon for incredulity?)
The problem statement was a bit jarring. One would ordinarily expect the winner of a race where the runners start even to have been in front of each competitor exactly one more time than he or she was behind.fresh_42 said:56. Marcy, Henry and Esther have decided to do something for their fitness and are therefore organizing a small jogging race each morning. In the past month of June, Marcy ran in front of Henry more often than he did before her, and Henry ran more often in front of Esther than she did before him.
Could it be that Esther ran in front of Marcy more often than Marcy did in front of Esther?
The poor wording is probably due to Google translate. I didn't change all of it. "run before / after" means "crosses the finish line ahead of / after". Sorry.jbriggs444 said:It is possible that "more often" is intended to be interpreted as "for a duration of more than half the race". Rock, paper, scissors works for that interpretation as well.
Ok, so the race is run repeatedly and the daily results are tallied. My mistake for not realizing that.fresh_42 said:So the final results count:
#MH > #HM and #HE > #EH
Ok, ugly but possible.jbriggs444 said:
Nope.BvU said:#259 ? or are we allowed to chop them up ?
Oh, *doh*. Obvious.BvU said:#259 ? or are we allowed to chop them up ?
Less than 100,000. I am personally rather bad at combinatorics, I always count wrong. This question has chances to remain unanswered, or to figure out whom I can call if a question about combinatorics occurs in the set theory forum. The solution I have distinguishes between diagonal moves and others, i.e. counting without diagonals on an ##n \times n## board, then ##k## diagonals, and then partitioning ways into these two possibilities.BvU said:Direct answer: No moves possible: there are no G8, H9 or G9
But you want to know how any different ways there are to reach H8 from A1, right ?
And the rules are to be taken as OR rules (not in sequence: right, then up, then diagonal, right etc) ? Must be quite a heap of possible routes ...
fresh_42 said:Less than 100,000. I am personally rather bad at combinatorics, I always count wrong. This question has chances to remain unanswered, or to figure out whom I can call if a question about combinatorics occurs in the set theory forum. The solution I have distinguishes between diagonal moves and others, i.e. counting without diagonals on an ##n \times n## board, then ##k## diagonals, and then partitioning ways into these two possibilities.
1 1 1 1 1 1 1 1
1 3 5 7 9 11 13 15
1 5 13 25 41 61 85 113
1 7 25 63 129 231 377 575
1 9 41 129 321 681 1289 2241
1 11 61 231 681 1683 3653 7183
1 13 85 377 1289 3653 8989 19825
1 15 113 575 2241 7183 19825 48639
jbriggs444 said:Sensible. So one can catalogue the ways of doing it with 0, 1, 2, 3, 4, 5, 6 and 7 diagonal moves:
$$\frac{14!}{7! 7! 0!} + \frac{13!}{6! 6! 1!} + \frac{12!}{5! 5! 2!} + \frac{11!}{4! 4! 3!} + \frac{10!}{3! 3! 4!} + \frac{9!}{2! 2! 5!} + \frac{8!}{1! 1! 6!} + \frac{7!}{0! 0! 7!}$$
$$= 3432 + 12012 + 16632 + 11550 + 4200 + 756 + 56 + 1$$
$$=48639$$
Or one could brute force it with a kind of Pascal's triangle variant
Code:1 1 1 1 1 1 1 1 1 3 5 7 9 11 13 15 1 5 13 25 41 61 85 113 1 7 25 63 129 231 377 575 1 9 41 129 321 681 1289 2241 1 11 61 231 681 1683 3653 7183 1 13 85 377 1289 3653 8989 19825 1 15 113 575 2241 7183 19825 48639
Not sure whether I should congratulate you. You just won the position of:lpetrich said:#60
The king moves from position (0,0) to (n,n) where n is 7 for a standard chessboard, and moves with combinations of horizontal, (1,0), vertical, (0,1), and diagonal, (1,1) moves.
For k diagonal moves, the number of horizontal moves needed is (n-k), and the number of vertical moves needed is likewise (n-k). This gives a total of (2n-k) moves.
The total number of permutations with all distinct is (2n-k)!. However, all the horizontal moves look alike, meaning that one must divided by the factorial of their number, (n-k)!. Likewise for vertical moves, (n-k)!, and diagonal moves, k!. Thus giving
$$ N(n,k) = \frac{(2n-k)!}{k! (n-k)! (n-k)!} $$
The total number of permutations is added up over k = 0 to n, giving
$$ N(n) = \sum_{k=0}^n N(n,k) $$
Doing this calculation for n = 7 gives 48639.
I looked for patterns for N(n) as a function of n, without much success. By numerical calculation, I found an asymptotic limit of C0*Cn, for C near 5.8.
fresh_42 said:62.
43 Lothers befether the Jolice.
41 Lothers sprungle the Leesand.
49 Lothers delorkle the Gmelt.
17 Lothers befether the Jolice and sprungle the Leesand.
27 Lothers befether the Jolice and delorkle the Gmelt.
21 Lothers sprungle the Leesand and delorkle the Gmelt.
6 Lothers do all three.
8 Lothers do nothing at all.
How many Lothers are there?
D78
Aint'no *&&^% chess boards other than with 8x8 squares !fresh_42 said:For the record: It was asked for the formula for the number of squares on a ##n\times n## chess board