Cody

Problem 44788. Find the right number make the equation

Created by Binbin Qi in Community

Given positive integer number n, find the right positive integer number a, b , so that

(1) sqrt(a + n * b) is a positive integer number

(2) sqrt(hypot(a,b)) is a positive integer number

Note: the output must be char array!

Have fun!

Solution Stats

30.77% Correct | 69.23% Incorrect
Last solution submitted on Apr 09, 2019

Problem Comments