|
| |
|
|
A133100
|
|
Expansion of f(x, x^4) in powers of x where f() is Ramanujan's two variable theta function.
|
|
0
| |
|
|
1, 1, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0
(list; graph; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 0,1
|
|
|
LINKS
| Index entries for characteristic functions
|
|
|
FORMULA
| The characteristic function of A085787 generalized heptagonal numbers.
Euler transform of period 10 sequence [ 1, -1, 0, 1, -1, 1, 0, -1, 1, -1, ...].
G.f.: Prod_{k>0} (1-x^(5k)) * (1+x^(5k-1)) * (1+x^(5k-4)) = Sum_{k} x^((5*k^2 + 3*k) / 2).
|
|
|
EXAMPLE
| 1 + q + q^4 + q^7 + q^13 + q^18 + q^27 + q^34 + q^46 + q^55 + q^70 + ...
|
|
|
PROG
| (PARI) {a(n) = if( n<0, 0, polcoeff( prod(k=1, n, 1 + x^k*[ -1, 1, 0, 0, 1][k%5+1], 1+x*O(x^n)), n))}
|
|
|
CROSSREFS
| |A113429(n)| = a(n).
Sequence in context: A087049 A118009 A113429 * A077606 A004601 A114915
Adjacent sequences: A133097 A133098 A133099 * A133101 A133102 A133103
|
|
|
KEYWORD
| nonn
|
|
|
AUTHOR
| Michael Somos, Sep 11 2007
|
| |
|
|