Project Euler > Problem 164 > Numbers for which no three consecutive digits have a sum greater than a given value. (Java Solution)

Problem:

How many 20 digit numbers n (without any leading zero) exist such that no three consecutive digits of n have a sum greater than 9?


Solution:

837799

Code:
The solution may include methods that will be found here: Library.java .

public interface EulerSolution{

public String run();

}
We don't have code for that problem yet! If you solved that out using Java, feel free to contribute it to our website, using our "Upload" form.

No comments:

Post a Comment