The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A037213 Expansion of Sum_{n>=0} n*q^(n^2). 28

%I

%S 0,1,0,0,2,0,0,0,0,3,0,0,0,0,0,0,4,0,0,0,0,0,0,0,0,5,0,0,0,0,0,0,0,0,

%T 0,0,6,0,0,0,0,0,0,0,0,0,0,0,0,7,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8,0,0,0,

%U 0,0,0,0,0,0,0,0,0,0,0,0,0

%N Expansion of Sum_{n>=0} n*q^(n^2).

%C Multiplicative with a(p^(2e)) = p^e, a(p^(2e+1)) = 0. - _Mitch Harris_, Jun 09 2005

%C a(n) is the square root of n if n is square, zero otherwise. - _Carl R. White_, May 23 2009

%H Reinhard Zumkeller, <a href="/A037213/b037213.txt">Table of n, a(n) for n = 0..10000</a>

%F Dirichlet generating function: zeta(2*s-1). - _Franklin T. Adams-Watters_, Sep 11 2005.

%F a(n) = sqrt(n) * floor( cos^2(Pi * sqrt(n)) ). - _Carl R. White_, May 23 2009

%F a(n) = A000196(n) * A010052(n). - _Reinhard Zumkeller_, Jan 27 2010

%t Table[If[IntegerQ[n^(1/2)], n^(1/2), 0], {n, 0, 100}] (* _Geoffrey Critzer_, Feb 21 2015 *)

%o a037213 n = if n == r ^ 2 then r else 0 where r = a000196 n

%o a037213_list = zipWith (*) a010052_list a000196_list

%o -- _Reinhard Zumkeller_, Nov 09 2012

%Y Cf. A000196, A010052.

%K nonn,mult

%O 0,5

%A _N. J. A. Sloane_

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified May 9 13:42 EDT 2021. Contains 343742 sequences. (Running on oeis4.)