https://samirpaul.in/posts/longest-arithmetic-subsequence-of-given-difference/
Longest Arithmetic Subsequence of Given Difference