Answer:
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
Answer:
I am pretty sure it is B
Step-by-step explanation:
:)
Answer:
C
Step-by-step explanation:
Answer:
127
Step-by-step explanation:
400+1495=1895
1895/15=126.333333333
Hello! They answer to your question would be that you spent $44. This was because 7*2=14 and 6*5-30. Therefore, 14+30=44.