Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Triangle Numbers Revisited

by tall_man (Parson)
on Oct 14, 2004 at 18:09 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://399287]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2024-03-29 12:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found