Combinations with repetitions/Square digit chain: Difference between revisions
Combinations with repetitions/Square digit chain (view source)
Revision as of 16:49, 16 September 2014
, 9 years agono edit summary
No edit summary |
No edit summary |
||
Line 3:
The purpose of this task is to combine these tasks as follows:
:The
:For each
:For each
:Keep a running total of all the values of c obtained
:Answer the Project Euler Task #92 question (k=7).
:Answer the equivalent question for k=8,11,14.
:Optionally answer the question for k=17. These numbers will be larger than the basic integer type for many languages, if it is not easy to use larger numbers it is not necessary for this task.
=={{header|Ruby}}==
|