The pyramid of integers above is constructed in such a way that each "father" has exactly 3 "children":

1>2,3,4
2>5,6,7
3>8,9,10
4>11,12,13
5>14,15,16
6>17,18,19
.
.
.
What number is the father of 2017?

2 answers

n is the father of 3n-1,3n,3n+1

so, divide 2017 by 3 and check the remainder...
Thanks