Talk:Permutations with some identical elements: Difference between revisions

Content added Content deleted
m (→‎task wording: used a subscript instead of normal digits.)
mNo edit summary
Line 20: Line 20:
would it be better with:
would it be better with:


Given an input of the form &nbsp; <big>[a<sub>1</sub>, a<sub>2</sub>, ···, a<sub>k</sub>]</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,
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> &gt; 0</big> &nbsp; and the sum of all &nbsp; <big>a<sub>k</sub></big> &nbsp; is &nbsp; <big>'''n'''</big>.
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)
(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)
: That is excellent! --[[User:Tobega|Tobega]]