Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Triangle Numbers Revisited

by tall_man (Parson)
on Oct 14, 2004 at 18:09 UTC ( #399287=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    8M + 3 = (2A+1)^2 + (2B+1)^2 + (2C+1)^2
    then
    M = trinum(A) + trinum(B) + trinum(C)
    
  2. or download this
    # Find a triangle-number decomposition by converting to
    # a Diophantine squares problem.
    
    ...
          exit(0);
       }
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://399287]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (10)
As of 2017-05-29 13:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?