I am reading William A. Stein's book "Modular Forms: A Computational Approach". In Chapter 3 of this book, he studies Modular Forms of Weight 2. One can also refer to the following website about this Chapter.
I used Sage to calculate dimension for $M_2(\Gamma_0(N))$ and I found that for $N>1$ the space $M_2(\Gamma_0(N))$ has positive dimensions. Then I tried to prove this by using the dimensional formula in Diamond and Shurman's book concerning to elliptic point of order 2, 3 and $\infty$. I failed.
Is this claim right? Does the space $M_2(\Gamma_0(N))$ have positive dimensions for all $N>1$?
I also believe that it is right because @Somos pointed that the OEIS sequence A111248 gives the dimension of $M_2(\Gamma_0(N))$ for $N<1000$. Now I am wondering how to prove it.
Any help would be appreciated!:)
Yes. The OEIS sequence A111248 gives the dimension of $\, M_2(\Gamma_0(N)) \,$ and has a link to a document "Modular Forms on $SL_2(\mathbb{Z})$" by Steven Finch which has over 100 bibliography items. Also see Jeremy Rouse and John J. Webb, On Spaces of Modular Forms Spanned by Eta-Quotients.