Number of subsets S of {1,2,3,...,n}, including the empty subset, such that if x and y are in S with x<y and x+y even, then (x+y)/2 is also in S.

A124197

Number of subsets S of {1,2,3,...,n}, including the empty subset, such that if x and y are in S with x<y and x+y even, then (x+y)/2 is also in S.

Terms

    a(0) =1a(1) =2a(2) =4a(3) =7a(4) =12a(5) =18a(6) =26a(7) =36a(8) =48a(9) =61a(10) =77a(11) =95a(12) =115a(13) =137a(14) =161a(15) =187a(16) =217a(17) =248a(18) =281a(19) =317a(20) =355a(21) =395a(22) =439a(23) =485a(24) =533a(25) =583a(26) =636a(27) =691a(28) =750a(29) =811

External references