Leyland Numbers
2 posters
Page 1 of 1
Leyland Numbers
A leyland number is a number such that for x and y between 1 and 100 it can be represented as x^y + y^x
ie num=x^y + y^x
write a code to find all the leyland numbers n a given range
ie num=x^y + y^x
write a code to find all the leyland numbers n a given range
shivang- Posts : 42
Join date : 2009-01-30
Age : 35
Re: Leyland Numbers
Brute Force is the solution or any other method is there....???
Chunks- Posts : 5
Join date : 2009-02-02
Similar topics
» Practical Numbers
» Bigger of two numbers :Sachin Sir
» largest palindrome made from the product of two 3-digit numbers.
» Bigger of two numbers :Sachin Sir
» largest palindrome made from the product of two 3-digit numbers.
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|