If k=4k=4, what usual ceiling is there on the effective degrees of freedom of that smooth?

A univariate regression-spline smooth has basis dimension k=4k=4 and one centring constraint. What is the usual maximum effective degrees of freedom of this smooth?

k−1=3k-1=3. The penalty may choose a smaller value. It does not choose a larger one than the basis allows.