Codes: part 22

package main
import “fmt”
func main(){
for a:=1;a<170;a++{
for b:=1;b<180;b++{
for c:=a+1;c<190;c++{
for d:=c;d<200;d++{
e:=a*a*a*a+b*b*b*b;
f:=c*c*c*c+d*d*d*d;
if e==f{
if c!=d{
fmt.Println(e,”=”,a,”^4 +”,b,”^4 =”,c,”^4 +”,d,”^4″)
}}}}}}}

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s