| [ Web Proxy ] |
| Viewing: https://raw.githubusercontent.com/JoshP/ProjectEuler-Java/master/Sol29.java | [Back] [Original] |
import java.util.*;
import java.math.*;
// How many distinct terms are in the sequence generated by ab for 2 a 100 and 2 b 100?
public class Sol29 extends BaseSolution {
public void runSolution() {
Set termSet = new HashSet();
for (int a = 2; a
| Web Proxy Viewer | New URL | Original Page |