arithmetic progression short trick