Combinations with repetitions/Square digit chain: Difference between revisions

→‎{{header|D}}: Removed author and asked for improvement (See discussion page).
(→‎{{header|D}}: Removed author and asked for improvement (See discussion page).)
Line 12:
 
=={{header|D}}==
{{improve|D|See talk page}}
<lang d>
// Count how many number chains for Natural Numbers < 10**K end with a value of 1.
//
// Nigel_Galloway
// September 18th., 2014.
void main() {
int K = 17;
Anonymous user