login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A162552 L.g.f.: log( Sum_{n>=0} x^(n^2) ), the log of the characteristic function of the squares. 11
1, -1, 1, 3, -4, 5, -6, 3, 10, -16, 23, -27, 14, 6, -34, 83, -101, 86, -37, -72, 204, -309, 346, -243, -29, 454, -908, 1214, -1130, 470, 776, -2413, 3884, -4421, 3244, 162, -5438, 11285, -15352, 14688, -6887, -8640, 29241, -48353, 56270, -42850, 1834 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,4
LINKS
FORMULA
L.g.f.: L(x) = Sum_{n>=1} a(n)*x^n/n = log( Sum_{n>=0} x^(n^2) ).
EXAMPLE
L.g.f.: L(x) = x - 1*x^2/2 + 1*x^3/3 + 3*x^4/4 - 4*x^5/5 + 5*x^6/6 -...
exp(L(x)) = 1 + x + x^4 + x^9 + x^16 + x^25 + x^36 +...+ x^(n^2) +...
PROG
(PARI) {a(n)=local(Q=sum(m=0, sqrtint(n+1), x^(m^2))+x*O(x^n)); n*polcoeff(log(Q), n)}
CROSSREFS
Sequence in context: A187824 A357081 A177028 * A133575 A230113 A364528
KEYWORD
sign
AUTHOR
Paul D. Hanna, Jul 06 2009
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 5 18:06 EDT 2024. Contains 372277 sequences. (Running on oeis4.)