traces of Frobenius over elliptic curves with fixed rank tends to a continuous, oscillating func-

tion.

   This pattern was also observed in modular forms, namely for the average of af (P ) over

weight k newforms with fixed root number and level within a certain range. Specifically,

Zubrilina [8] showed the following result:



Theorem 1.1 ([8, Theorem 1]). Fix an even integer k ≥ 2. Let P , X, and Y be parameters

going to infinity with X, Y ∈ R+ and P prime; assume further that Y = (1 + o(1))X 1−δ2 ,

                                                          1              1                        P

and P ≪ X 1+δ1 for some δ1 , δ2 with 0 < δ1 < 11            , 2δ1 < δ2 < 13 (4 − 18δ1 ). Let y := X . Then

           P□             P                   √

              N ∈[X,X+Y ]      f ∈H new (N,k)    P λf (P )ε(f )

                   P□               P

                     N ∈[X,X+Y ]        f ∈H new (N,k) 1

                      k

               α(−1) 2 −1 X

                                                      

                                                   r          p               β √

            =                           Uk−2 √           ν(r) 4y − r2 +            y − γδk=2 y

                  k−1               √            2 y                       k−1

                           1≤r≤2 y

                                        

                          −δ ′ +ε     1

               + Oε X             +

                                      P

where δ ′ > 0 is explicitly expressible through δ1 , δ2 , and

              Y 1 − p − 2p2 + p4                 Y −1 + p2 + p3                       Y    p(1 + p)

    α = 2π                          ,   β = 2π                        ,      γ = 12                   .

               p

                     p4 − 2p2 + p                 p

                                                      p(−1 + p + p2 )                 p

                                                                                          −1 + p + p2



   The proof of Theorem 1.1 given in [8] proceeded by estimating the Skoruppa-Zagier trace

formula, which [8, Section 2] stated as the following: for squarefree integers N > 1 and

primes P ∤ N ,

       X       √

                 P λf (P )ε(f )

    f ∈H new (N,k)

                                     √ !

      H1 (−4P N )        k         r  N                   X

    =             + (−1) 2 −1 Uk−2 √                              H1 (r2 N 2 − 4P N ) − δk=2 (P + 1).

           2                       2 P                    √P

                                                  1≤r≤2       N







                   √see that in this statement of the trace formula, the Chebyshev poly-

   However, one can

nomial term Uk−2 r2√N  P

                           appears outside of the summation over r, and yet depends on the

summation variable r. The subsequent proof of Theorem 1.1 given in [8] utilizes this mal-

      √statement

formed            of the trace formula and only estimates the above summation without the

      r √N

Uk−2 2 P term.

   To address this issue, the first main goal of this paper is to provide an alternate proof

of Theorem 1.1 based on a corrected version of the Skoruppa-Zagier trace formula (Lemma

3.1). One of the key technical inputs needed is Propostion 2.1, which constitutes a weighted

                                                                 √ 

                                                                r √N

version of [8, Proposition 3.2] (i.e. including the weight Uk−2 2 P ).

                                                      2

