LeetCode
Numbers With Same Consecutive Differences
Click
here
for an explanation.