Let n=22018 and let S={1,2,…,n}. For subsets S1,S2,…,Sn⊆S, we call an ordered pair (i,j) murine if and only if {i,j} is a subset of at least one of Si,Sj. Then, a sequence of subsets (S1,…,Sn) of S is called tasty if and only if:1) For all i, i∈Si.
2) For all i, j∈Si⋃Sj=Si.
3) There do not exist pairwise distinct integers a1,a2,…,ak with k≥3 such that for each i, (ai,ai+1) is murine, where indices are taken modulo k.
4) n divides 1+∣S1∣+∣S2∣+…+∣Sn∣.Find the largest integer x such that 2x divides the number of tasty sequences (S1,…,Sn).Proposed by Vincent Huang and Brandon Wang