Post Reply 
Little explorations with HP calculators (no Prime)
12-29-2018, 10:02 PM (This post was last modified: 12-29-2018 10:05 PM by pier4r.)
Post: #337
RE: Little explorations with HP calculators (no Prime)
David I read your request. I'll answer later below.

(12-27-2018 04:59 PM)DavidM Wrote:  The final result of the above is a tab-delimited list of counts and quantities, and the following is a sample of one run:
Code:
1    60726
2    60743
3    60133
4    59444
5    58566
6    57093
7    55206
8    53189
9    51518
10    48693
11    45882
12    43496
13    40126
14    37631
15    34314
16    31327
17    28141
18    25558
19    22785
20    19674
21    17479
22    15290
23    13129
24    11113
25    9502
26    7924
27    6637
28    5407
29    4362
30    3518
31    2719
32    2233
33    1763
34    1291
35    950
36    690
37    509
38    399
39    282
40    177
41    123
42    100
43    54
44    40
45    24
46    25
47    5
48    3
49    4
50    1
51    2
52    0
53    0
54    0
55    0
56    0
57    0
58    0
59    0
60    0
61    0
62    0
63    0
64    0
65    0
66    0
67    0
68    0
69    0
70    0
71    0

Actually I reflected on this report of yours. Nice that you shared it. I realized with delay that having 30 or more (well, actually even 10 or more ) sublists matching is not an easy thing.

(12-29-2018 04:06 PM)DavidM Wrote:  I believe you are reinforcing why I think the original problem description isn't clear enough for us to know exactly what it is we are supposed to be determining. There's a lot of room for (mis)interpretation here, due to the ambiguity of the description.


Ok I reread the initial post and I see that the problem could be the following (see bold parts)
Quote:Could they find a way to ensure that Anna and Berta pick both 50 blue balls and 20 white balls? If yes, is a special arrangement of the balls needed to achieve it?

The bold parts seems to suggest the possibility of an action by Anna and Berta. Instead they are quite passive.

In short they get the random line of 140 Christmas balls, Anna goes through them and picks the first continuous chunk of 70 balls that contains 50 blue balls and 20 white balls. Then she says "I am good, Berta you pick the rest".

The special arrangement actually means what I wrote before as clarification. Is Anna finding her chunk only when the line has a certain arrangement of the balls, that is: among all the possible permutations, only a subset of them works; or can she always find a chunk of the line that matches the requirements?

Is anything better now?

This goes giving a +1 for the statement: "No, it is not always the problem that is difficult. It happens often that is poorly worded".

Wikis are great, Contribute :)
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Little explorations with HP calculators (no Prime) - pier4r - 12-29-2018 10:02 PM



User(s) browsing this thread: 1 Guest(s)