Question: base change for orthogonal polynomials

I am looking for the following: given Chebychev polynomials T up
to degree n I want to express them as Legendre polynomials P.

For example one can use OrthogonalSeries[ChangeBasis] for given n.

My question is: can one give/describe/generate/... the transform
matrix for the bases directly?

The intended use is for n <= 512 (or considerably smaller), the
special case T ---> P would be enough for me.

Certainly this is classical, but I can not find it out (or looking
it up).
Please Wait...