Ask Question
25 November, 06:56

Given three positive integers a, b and c such that a² + b² - c² = 1. Let the number of triangles formed with sides a, b and c with perimeter less than 50 million represent the surface area of an ellipsoid of axes lengths n, 2n and 3n. The password is the square of the ceiled positive solution of n.

+4
Answers (1)
  1. 25 November, 08:54
    0
    Step-by-step explanation:

    Count pairs (a, b) whose sum of squares is N (a^2 + b^2 = N)

    Given a number N, the task is to count all 'a' and 'b' that satisfy the condition a^2 + b^2 = N.

    Note: - (a, b) and (b, a) are to be considered as two different pairs and (a, a) is also valid and to be considered only one time.

    Examples:

    Input: N = 10

    Output: 2

    1^2 + 3^2 = 9

    3^2 + 1^2 = 9

    Input: N = 8

    Output: 1

    2^2 + 2^2 = 8
Know the Answer?
Not Sure About the Answer?
Find an answer to your question ✅ “Given three positive integers a, b and c such that a² + b² - c² = 1. Let the number of triangles formed with sides a, b and c with ...” in 📘 Mathematics if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers