You are viewing a single comment's thread. Return to all comments →
3&5 => 1, 210, 40755, 7906276, 1533776805, 297544793910, 57722156241751.
5&6 => 1, 40755, 1533776805, 57722156241751.
for O(1) :)
Project Euler #45: Triangular, pentagonal, and hexagonal
You are viewing a single comment's thread. Return to all comments →
3&5 => 1, 210, 40755, 7906276, 1533776805, 297544793910, 57722156241751.
5&6 => 1, 40755, 1533776805, 57722156241751.
for O(1) :)