Combinatorics & Counting

Answer & solution
Official answer: 59049
For each of the 10 elements choose exactly one of three states: outside B, in B but not A, or in A (and therefore in B). Choices are independent, giving 310=59049 ordered pairs. The source symbol is subset-or-equal, so A=B is included.
A second derivation sums by |B|: for each k choose B in binomial(10,k) ways, then any of its 2k subsets A. Thus Σ binomial(10,k)2k=(1+2)10. Counting 410 would allow the forbidden state “in A but outside B”; subtracting equality would answer the strict-subset variant rather than this question.