Ormiston triples: Difference between revisions

m
Corrected a spelling mistake.
(New post which does not use external libraries. In addition to an existing post which uses the "Boost" library.)
m (Corrected a spelling mistake.)
Line 1,060:
counts.add(count);
System.out.println("The smallest membersmember of the first 25 Ormiston triples:");
for ( int i = 0; i < ormistons.size(); i++ ) {
System.out.print(String.format("%10d%s", ormistons.get(i), ( i % 5 == 4 ? "\n" : "" )));
Line 1,161:
{{ out }}
<pre>
The smallest membersmember of the first 25 Ormiston triples:
11117123 12980783 14964017 32638213 32964341
33539783 35868013 44058013 46103237 48015013
891

edits