Leetcode Daily Question
@leetcodeDailyQuestionChannel
2.45K
subscribers
517
files
2.16K
links
Why are you asking me to do Leetcode for this CSS job?
Download Telegram
Join
Leetcode Daily Question
2.45K subscribers
Leetcode Daily Question
leetcode.com
2025-12-08
🟢
1925.count-square-sum-triples
🏷️
Tags
#math
#enumeration
Telegraph
count-square-sum-triples
A square triple (a,b,c) is a triple where a, b, and c are integers and a2 + b2 = c2. Given an integer n, return the number of square triples such that 1 <= a, b, c <= n. Example 1: Input: n = 5 Output: 2 Explanation: The square triples are (3,4,5) and (4…
Source
Solution