A115000 a(n) = J_2(n) / 24.
1, 1, 2, 2, 3, 3, 5, 4, 7, 6, 8, 8, 12, 9, 15, 12, 16, 15, 22, 16, 25, 21, 27, 24, 35, 24, 40, 32, 40, 36, 48, 36, 57, 45, 56, 48, 70, 48, 77, 60, 72, 66, 92, 64, 98, 75, 96, 84, 117, 81, 120, 96, 120, 105, 145, 96, 155, 120, 144, 128, 168, 120, 187, 144, 176, 144, 210, 144
Offset: 5
Keywords
Examples
G.f.: x^5 + x^6 + 2*x^7 + 2*x^8 + 3*x^9 + 3*x^10 + 5*x^11 + 4*x^12 + 7*x^13 + ...
Links
- G. C. Greubel, Table of n, a(n) for n = 5..5000
- Index to divisibility sequences
Crossrefs
Cf. A007434.
Programs
-
Magma
function a(n) return n lt 5 select 0 else Dimension( ModularForms( Gamma1(n), 2)) - Dimension( ModularForms( Gamma1(n), 1)); end function; /* Michael Somos, Aug 05 2014 */
-
Mathematica
a[n_] := DivisorSum[n, #^2*MoebiusMu[n/#]&]/24; Table[a[n], {n, 5, 80}] (* Jean-François Alcover, Dec 07 2015, adapted from PARI *)
-
PARI
{a(n) = if( n<5, 0, sumdiv(n, d, d^2 * moebius(n / d)) / 24)}; /* Michael Somos, Aug 12 2008 */
Formula
A007434(n) = 24 * a(n) unless n<5. - Michael Somos, Aug 12 2008
Extensions
More terms from Michael Somos, Aug 12 2008
Comments