Talk:Combinations with repetitions/Square digit chain

From Rosetta Code

Resolving contradictions?

I see a variety of contradictions here. For example, the iterated square digit chain had an explicit "only natural numbers" requirement, but the code here mentions 0 as a part of the set. Also, the language here talks about all possible combinations of 1s, which is an odd thing to talk about in the context of a set.

I have changed set to collection so with k=3, 1,1,1 is valid and c would be 1. 0,9,81 is valid and c would be 6. I have excluded 0,0,0--Nigel Galloway (talk) 16:55, 16 September 2014 (UTC)

To help resolve what this task is really about (and possible task description changes), I think we should see a few result examples.

To follow soon--Nigel Galloway (talk) 16:55, 16 September 2014 (UTC)

Thanks. --Rdm (talk) 12:01, 16 September 2014 (UTC)