cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

Showing 1-5 of 5 results.

A205966 a(n) = Fibonacci(n)*A004016(n) for n>=1, with a(0)=1, where A004016(n) is the number of integer solutions (x,y) to x^2 + x*y + y^2 = n.

Original entry on oeis.org

1, 6, 0, 12, 18, 0, 0, 156, 0, 204, 0, 0, 864, 2796, 0, 0, 5922, 0, 0, 50172, 0, 131352, 0, 0, 0, 450150, 0, 1178508, 3813732, 0, 0, 16155228, 0, 0, 0, 0, 89582112, 289893804, 0, 758951832, 0, 0, 0, 5201933244, 0, 0, 0, 0, 28845161856, 140017356882, 0, 0
Offset: 0

Views

Author

Paul D. Hanna, Feb 03 2012

Keywords

Comments

Compare g.f. to the Lambert series of A004016: 1 + 6*Sum_{n>=1} Kronecker(n,3)*x^n/(1 - x^n).

Examples

			G.f.: A(x) = 1 + 6*x + 12*x^3 + 18*x^4 + 156*x^7 + 204*x^9 + 864*x^12 +...
where A(x) = 1 + 1*6*x + 2*6*x^3 + 3*6*x^4 + 13*12*x^7 + 34*6*x^9 + 144*6*x^12 +...+ Fibonacci(n)*A004016(n)*x^n +...
The g.f. is also given by the identity:
A(x) = 1 + 6*( 1*x/(1-x-x^2) - 1*x^2/(1-3*x^2+x^4) + 3*x^4/(1-7*x^4+x^8) - 5*x^5/(1-11*x^5-x^10) + 13*x^7/(1-29*x^7-x^14) - 21*x^8/(1-47*x^8-x^16) +...).
The values of the symbol Kronecker(n,3) repeat [1,-1,0, ...].
		

Crossrefs

Cf. A209446 (Pell variant).

Programs

  • Mathematica
    A004016[n_] := SeriesCoefficient[(QPochhammer[q]^3 + 9 q QPochhammer[q^9]^3)/QPochhammer[q^3], {q, 0, n}]; Join[{1}, Table[Fibonacci[n]*b[n], {n,1,50}]] (* G. C. Greubel, Mar 05 2017 *)
  • PARI
    {Lucas(n)=fibonacci(n-1)+fibonacci(n+1)}
    {a(n)=polcoeff(1 + 6*sum(m=1,n,kronecker(m,3)*fibonacci(m)*x^m/(1-Lucas(m)*x^m+(-1)^m*x^(2*m) +x*O(x^n))),n)}
    for(n=0,60,print1(a(n),", "))

Formula

G.f.: 1 + 6*Sum_{n>=1} Fibonacci(n)*Kronecker(n,3)*x^n/(1 - Lucas(n)*x^n + (-1)^n*x^(2*n)).

A209447 a(n) = Pell(n)*A008653(n) for n>=1, with a(0)=1, where A008653 is the theta series of direct sum of 2 copies of hexagonal lattice.

Original entry on oeis.org

1, 12, 72, 60, 1008, 2088, 2520, 16224, 73440, 11820, 513648, 826704, 1164240, 5621448, 23265216, 14041800, 175149504, 245524824, 98791560, 1590026160, 8061191712, 3706940640, 40272058656, 64816900128, 97801149600, 487966581012, 1596075244848, 91744440540
Offset: 0

Views

Author

Paul D. Hanna, Mar 10 2012

Keywords

Comments

Compare g.f. to the Lambert series of A008653: 1 + 12*Sum_{n>=1} Chi(n,3)*n*x^n/(1-x^n).
Here Chi(n,3) = principal Dirichlet character of n modulo 3.

Examples

			G.f.: A(x) = 1 + 12*x + 72*x^2 + 60*x^3 + 1008*x^4 + 2088*x^5 + 2520*x^6 +...
where A(x) = 1 + 1*12*x + 2*36*x^2 + 5*12*x^3 + 12*84*x^4 + 29*72*x^5 + 70*36*x^6 +...+ Pell(n)*A008653(n)*x^n +...
The g.f. is also given by the identity:
A(x) = 1 + 12*( 1*1*x/(1-2*x-x^2) + 2*2*x^2/(1-6*x^2+x^4) + 12*4*x^4/(1-34*x^4+x^8) + 29*5*x^5/(1-82*x^5-x^10) + 169*7*x^7/(1-478*x^7-x^14) + 408*8*x^8/(1-1154*x^8-x^16)  +...).
The values of the Dirichlet character Chi(n,3) repeat [1,1,0, ...].
		

Crossrefs

Programs

  • Mathematica
    A008653[n_]:= If[n < 1, Boole[n == 0], 12*Sum[If[Mod[d, 3] > 0, d, 0], {d, Divisors@n}]]; Join[{1}, Table[Fibonacci[n, 2]*A008653[n], {n, 1, 1000}]] (* G. C. Greubel, Jan 02 2017 *)
  • PARI
    {Pell(n)=polcoeff(x/(1-2*x-x^2+x*O(x^n)),n)}
    {A002203(n)=Pell(n-1)+Pell(n+1)}
    {a(n)=polcoeff(1 + 12*sum(m=1,n,Pell(m)*kronecker(m,3)^2*m*x^m/(1-A002203(m)*x^m+(-1)^m*x^(2*m) +x*O(x^n))),n)}
    for(n=0,50,print1(a(n),", "))

Formula

G.f.: 1 + 12*Sum_{n>=1} Pell(n)*Chi(n,3)*n*x^n/(1 - A002203(n)*x^n + (-1)^n*x^(2*n)), where A002203(n) = Pell(n-1) + Pell(n+1).

A209449 a(n) = Pell(n)*A113973(n) for n>=1, with a(0)=1, where A113973 lists the coefficients in phi(x^3)^3/phi(x) and phi() is a Ramanujan theta function.

Original entry on oeis.org

1, -2, 8, -10, 24, 0, 280, -676, 1632, -1970, 0, 0, 27720, -133844, 646256, 0, 941664, 0, 10976840, -26500436, 0, -154455860, 0, 0, 2173358880, -2623476242, 25334527696, -15290740090, 73830224208, 0, 0, -1038870091396, 2508054264192, 0, 0, 0, 42600007379160
Offset: 0

Views

Author

Paul D. Hanna, Mar 10 2012

Keywords

Comments

Compare g.f. to the Lambert series of A113973:
1 - 2*Sum_{n>=1} Kronecker(n,3)*x^n/(1 - (-x)^n).

Examples

			G.f.: A(x) = 1 - 2*x + 8*x^2 - 10*x^3 + 24*x^4 + 280*x^6 - 676*x^7 +...
where A(x) = 1 - 1*2*x + 2*4*x^2 - 5*2*x^3 + 12*2*x^4 + 70*4*x^6 - 169*4*x^7 + 408*4*x^8 +...+ Pell(n)*A113973(n)*x^n +...
The g.f. is also given by the identity:
A(x) = 1 - 2*( 1*x/(1+2*x-x^2) - 2*x^2/(1-6*x^2+x^4) + 12*x^4/(1-34*x^4+x^8) - 29*x^5/(1+82*x^5-x^10) + 169*x^7/(1+478*x^7-x^14) - 408*x^8/(1-1154*x^8+x^16) +...).
The values of the symbol Kronecker(n,3) repeat [1,-1,0, ...].
		

Crossrefs

Programs

  • Mathematica
    A113973:= CoefficientList[Series[EllipticTheta[3, 0, q^3]^3 /EllipticTheta[3, 0, q], {q, 0, 60}], q]; Table[If[n == 0, 1, Fibonacci[n, 2]*A113973[[n + 1]]], {n, 0, 50}] (* G. C. Greubel, Dec 03 2017 *)
  • PARI
    {Pell(n)=polcoeff(x/(1-2*x-x^2+x*O(x^n)),n)}
    {A002203(n)=Pell(n-1)+Pell(n+1)}
    {a(n)=polcoeff(1 - 2*sum(m=1,n,Pell(m)*kronecker(m,3)*x^m/(1-A002203(m)*(-x)^m+(-1)^m*x^(2*m) +x*O(x^n))),n)}
    for(n=0,60,print1(a(n),", "))

Formula

G.f.: 1 - 2*Sum_{n>=1} Pell(n)*Kronecker(n,3)*x^n/(1 - A002203(n)*(-x)^n + (-1)^n*x^(2*n)), where A002203(n) = Pell(n-1) + Pell(n+1).

A209452 a(n) = Pell(n)*A122859(n) for n>=1, with a(0)=1, where A122859 lists the coefficients in phi(-q)^3/phi(-q^3) and phi() is a Ramanujan theta function.

Original entry on oeis.org

1, -6, 24, -30, -72, 0, 840, -2028, 4896, -5910, 0, 0, -83160, -401532, 1938768, 0, -2824992, 0, 32930520, -79501308, 0, -463367580, 0, 0, 6520076640, -7870428726, 76003583088, -45872220270, -221490672624, 0, 0, -3116610274188, 7524162792576, 0, 0, 0, -127800022137480
Offset: 0

Views

Author

Paul D. Hanna, Mar 10 2012

Keywords

Comments

Compare the g.f. to the Lambert series of A122859: 1 - 6*Sum_{n>=1} Kronecker(n,3)*x^n/(1+x^n).

Examples

			G.f.: A(x) = 1 - 6*x + 24*x^2 - 30*x^3 - 72*x^4 + 840*x^6 - 2028*x^7 + ...
where A(x) = 1 - 1*6*x + 2*12*x^2 - 5*6*x^3 - 12*6*x^4 + 70*12*x^6 - 169*12*x^7 + 408*12*x^8 - 985*6*x^9 + ... + Pell(n)*A122859(n)*x^n + ...
The g.f. is also given by the identity:
A(x) = 1 - 6*( 1*x/(1+2*x-x^2) - 2*x^2/(1+6*x^2+x^4) + 12*x^4/(1+34*x^4+x^8) - 29*x^5/(1+82*x^5-x^10) + 169*x^7/(1+478*x^7-x^14) - 408*x^8/(1+1154*x^8+x^16) + ...).
The values of the symbol Kronecker(n,3) repeat [1,-1,0, ...].
		

Crossrefs

Programs

  • Mathematica
    A122859[n_]:= SeriesCoefficient[EllipticTheta[4, 0, q]^3/EllipticTheta[4, 0, q^3], {q, 0, n}]; Join[{1}, Table[Fibonacci[n, 2]*A122859[n], {n, 1, 50}]] (* G. C. Greubel, Jan 02 2017 *)
  • PARI
    {Pell(n)=polcoeff(x/(1-2*x-x^2+x*O(x^n)),n)}
    {A002203(n)=Pell(n-1)+Pell(n+1)}
    {a(n)=polcoeff(1 - 6*sum(m=1,n,Pell(m)*kronecker(m,3)*x^m/(1+A002203(m)*x^m+(-1)^m*x^(2*m) +x*O(x^n))),n)}
    for(n=0,40,print1(a(n),", "))

Formula

G.f.: 1 - 6*Sum_{n>=1} Pell(n)*Kronecker(n,3)*x^n/(1 + A002203(n)*x^n + (-1)^n*x^(2*n)), where A002203(n) = Pell(n-1) + Pell(n+1).

A209445 a(n) = Pell(n)*A001227(n) for n >= 1, where A001227(n) is the number of odd divisors of n.

Original entry on oeis.org

1, 2, 10, 12, 58, 140, 338, 408, 2955, 4756, 11482, 27720, 66922, 161564, 780100, 470832, 2273378, 8232630, 13250218, 31988856, 154455860, 186444716, 450117362, 1086679440, 3935214363, 6333631924, 30581480180, 36915112104, 89120964298, 430314081400, 519435045698
Offset: 1

Views

Author

Paul D. Hanna, Mar 09 2012

Keywords

Comments

Compare g.f. to the Lambert series of A001227: Sum_{n>=1} x^(2*n-1)/(1 - x^(2*n-1)).

Examples

			G.f.: A(x) = x + 2*x^2 + 10*x^3 + 12*x^4 + 58*x^5 + 140*x^6 + 338*x^7 + ...
where A(x) = 1*1*x + 2*1*x^2 + 5*2*x^3 + 12*1*x^4 + 29*2*x^5 + 70*2*x^6 + 169*2*x^7 + 408*1*x^8 + ... + Pell(n)*A001227(n)*x^n + ...
The g.f. is also given by the identity:
A(x) = 1*x/(1-2*x-x^2) + 5*x^3/(1-14*x^3-x^6) + 29*x^5/(1-82*x^5-x^10) + 169*x^7/(1-478*x^7-x^14) + 985*x^9/(1-2786*x^9-x^18) + 5741*x^11/(1-16238*x^11-x^22) + ...
which involves odd-indexed Pell and A002203 numbers.
		

Crossrefs

Programs

  • Mathematica
    A001227[n_]:= Sum[Mod[d, 2], {d, Divisors[n]}]; Table[Fibonacci[n, 2]*A001227[n], {n, 1, 1000}] (* G. C. Greubel, Jan 02 2018 *)
  • PARI
    {Pell(n)=polcoeff(x/(1-2*x-x^2+x*O(x^n)),n)}
    {A002203(n)=Pell(n-1)+Pell(n+1)}
    {a(n)=polcoeff(sum(m=1,n,Pell(2*m-1)*x^(2*m-1)/(1-A002203(2*m-1)*x^(2*m-1)-x^(4*m-2)+x*O(x^n))),n)}
    for(n=1,40,print1(a(n),", "))

Formula

G.f.: Sum_{n>=1} Pell(2*n-1)*x^(2*n-1)/(1 - A002203(2*n-1)*x^(2*n-1)-x^(4*n-2)), where A002203(n) = Pell(n-1) + Pell(n+1).
Showing 1-5 of 5 results.