http://www.perlmonks.org?node_id=399059


in reply to Re: Triangle Numbers Revisited
in thread Triangle Numbers Revisited

All,
In HTML comments, I have provided a spoiler explanation of how the code works.

Update: 2013-10-24 When I first wrote this node, we didn't have spoiler tags. The HTML comments remain but I have also added spoiler for those who don't want to view the source.

Cheers - L~R