Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^3: Triangle Numbers

by particle (Vicar)
on Apr 24, 2002 at 19:48 UTC ( [id://161750]=note: print w/replies, xml ) Need Help??


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

This algorithm generates a sum of triangle numbers, but not necessarily a sum of _three_ triangle numbers
EGAD! you're right. i've fixed it to generate a list of three or less (i think.) if you want precisely three, i'll have to do a little more thinking.

Update: unless of course zero is valid. i can't see how it's not, because 1 must be 1, 0, 0. so i'll update my code (once more) to reflect that.

~Particle ;Þ

Replies are listed 'Best First'.
Re: Re^3: Triangle Numbers
by Anonymous Monk on Sep 26, 2002 at 03:45 UTC
    1001, 0000, 0000, 1001 are the first four lines of my "God's Zone Of Zero" in Christmatics. Are you aware that every other triangle number plotted on a square grid seems to produce two straight and parallel lines on that grid? Those two straight parallel lines pass through the zone of zero in such a way that what Christmatics is calling "Joseph's stick" becomes "Judah's stick" when that line has passed through "God's Zone Of Zero". If this interests you, do a search for "Ezekiel's Two Sticks" and "Christmatics" on the web for more of my thoughts. Waldo
      The 12th prime # is 37 while the 21st prime # is 73. Did you know that the multiplication of the 12 times the 21st prime equals 2701 which is the same as the gematria of the first seven words of the Hebrew Torah? Well, you may have this as clue! Jesus spoke, and that is the BIG BANG! Waldo

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://161750]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (4)
As of 2024-04-26 01:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found