Lia is fascinated by anything she considers to be a twin. She calls a pairs of positive integers, and , twins if: They…

Kristen loves playing with and comparing numbers. She thinks that if she takes two different positive numbers, the one whose…

Luke is daydreaming in Math class. He has a sheet of graph paper with rows and columns, and he imagines that there…

Work out the first ten digits of the sum of numbers. Input Format First line contains , next lines contain a 50 digit…

A Pythagorean triplet is a set of three natural numbers, , for which, For example, Given , Check if there exists any…

Find the greatest product of consecutive digits in the digit number. Input Format First line contains that denotes the number of test cases. First…

The sum of the squares of the first ten natural numbers is, . The square of the sum of the first…

2520 is the smallest number that can be divided by each of the numbers from to without any remainder. What is the smallest…

A palindromic number reads the same both ways. The smallest 6 digit palindrome made from the product of two 3-digit…

The prime factors of are and . What is the largest prime factor of a given number ? Input Format First line contains , the…