Talk:Permutations with some identical elements: Difference between revisions

Content added Content deleted
(Added comment.)
(added a query about task wording.)
Line 10: Line 10:


:Yes, you're right; it is different. I've added a Go solution --[[User:PureFox|PureFox]] ([[User talk:PureFox|talk]]) 21:27, 25 July 2019 (UTC)
:Yes, you're right; it is different. I've added a Go solution --[[User:PureFox|PureFox]] ([[User talk:PureFox|talk]]) 21:27, 25 July 2019 (UTC)


== task wording ==
Where it says:

Given an input of the form [a1, a2, ..., ak] where ai denotes how many duplicates of element i you should have,
each ai > 0 and the sum of all ai is n.

would it be better with:

Given an input of the form &nbsp; <big>[a1, a2, ..., ak]</big> &nbsp; where &nbsp; <big>a<sub>k</sub></big> &nbsp; denotes how many duplicates of element &nbsp; <big>k</big> &nbsp; you should have,
each &nbsp; <big>a<sub>k</sub></big> &gt; 0 &nbsp; and the sum of all &nbsp; <big>a<sub>k</sub> &nbsp; is &nbsp; <big>'''n'''</big>.


(I've added whitespace and used a bigger font to make the subscripts easier to read.) &nbsp; &nbsp; -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 03:51, 27 July 2019 (UTC)