https://school.programmers.co.kr/learn/courses/30/lessons/12954
class Solution {
public long[] solution(long x, int n) {
long[] answer = new long[n];
for(int i = 0; i < n; i++){
answer[i] = x + x * i;
}
return answer;
}
}