answersLogoWhite

0

well you could go with something like this (this code gives you all triples within a < 500 and b < 500):

---------------------------------------------

for (int i = 0; i < 500; i++)

for (int j = 0; j < 500; j++)

{

double squareroot = Math.Sqrt(i*i + j*j);

if (squareroot == Math.Round(squareroot))

{

// i, j and squareroot is your triple. Add them to list or what ever.

}

}

User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

How do you program a sharp remote to a sharp tv?

you dont


How do you program a cash register sharp XE A21s?

how to program sharp cash register xe-a21s


How Do you Program a Sharp Aquos remote control to control a Sony tv?

Sharp Aquos is a brand of TV. You can't program it to control another brand of TV.


What POS machine is the easiest to program?

Sharp's ER-A440 is very easy to program.


Where are the cyberhome remote codes for sharp ga035sb universal remote?

i need program instructions or sharp ga035sb univer remote


How do you program a sharp aquos remote to control a model sony bdp-bx59 Blu-ray player?

How do you program sharp squid remote to control sony s570 blu ray system


How do you program a cash register sharp XE-A21s?

Visit www.cashregistersonline.com. You can purchase a program manual or owners manual for $10.00 each. I have an Esper 7810 cash register and it uses the same owners / program manual as the 7540.


How do you program your sharp aquos remote control to control a Sony home theater system?

You cannot control your Sony Receiver with your Sharp TV remote. Sharp remotes can control many brands of DVD and Blu-Ray players, but only Sharp receivers. You should program your Sony receiver's remote to control your TV instead. How you do this is outlined in your owners' manual.


What kind of guarantee comes with a sharp aquos television?

Sharp has a program called "AQUOS Advantage", which provides repair services and other services such as advisors and online support. There is no extra fee for this program. http://www.sharpusa.com/CustomerSupport/AQUOS_Advantage.aspx


Etec re10 remote control codes for a sharp tv?

How to program etec re10


Is there anywhere to get a button that when you press it says Altos F sharp?

Umm... no but you could program a website button to do that.


What are the different section in c sharp program?

Depends on the definition of Section and the context. C# itself has no such notion.