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-2 of 2 results.

A273031 Expansion of e.g.f.: (sin(x) + sin(6*x)) / sin(7*x), even-indexed terms only.

Original entry on oeis.org

1, 6, 330, 48726, 13534410, 6046913046, 3962771924490, 3580686141374166, 4266519857080266570, 6481738795978992136086, 12228451239686387772736650, 28048508112504152087554462806, 76867928701091608252297826870730, 248058932215537567368765344245378326, 931049990613171839116868739409352364810, 4021504762182514582910341826029900914866646
Offset: 0

Views

Author

Paul D. Hanna, May 13 2016

Keywords

Examples

			E.g.f.: A(x) = 1 + 6*x^2/2! + 330*x^4/4! + 48726*x^6/6! + 13534410*x^8/8! + 6046913046*x^10/10! + 3962771924490*x^12/12! + 3580686141374166*x^14/14! +...
such that A(x) = (sin(x) + sin(6*x)) / sin(7*x).
O.g.f.: F(x) = 1 + 6*x + 330*x^2 + 48726*x^3 + 13534410*x^4 + 6046913046*x^5 + 3962771924490*x^6 + 3580686141374166*x^7 +...
such that the o.g.f. can be expressed as the continued fraction:
F(x) = 1/(1 - 1*6*x/(1 - 7^2*x/(1 - 8*13*x/(1 - 14^2*x/(1 - 15*20*x/(1 - 21^2*x/(1 - 22*27*x/(1 - 28^2*x/(1 - 29*34*x/(1 - 35^2*x/(1 - 36*41*x/(1 - ...)))))))))))).
		

Crossrefs

Programs

  • Maple
    seq((-49)^n*euler(2*n, 1/7), n = 0..15); # Peter Luschny, Nov 26 2020
  • Mathematica
    With[{nn=30},Take[CoefficientList[Series[(Sin[x]+Sin[6x])/Sin[7x],{x,0,nn}],x] Range[0,nn]!,{1,-1,2}]] (* Harvey P. Dale, Jul 08 2018 *)
  • PARI
    {a(n) = my(A=1, X=x+x*O(x^(2*n+1))); (2*n)! * polcoeff( (sin(1*X) + sin(6*X))/sin(7*X), 2*n)}
    for(n=0, 20, print1(a(n), ", "))
    
  • PARI
    {a(n) = my(A=1, X=x+x*O(x^(2*n+1))); (2*n)! * polcoeff( (cos(1*X) + cos(6*X))/(1 + cos(7*X)), 2*n)}
    for(n=0, 20, print1(a(n), ", "))
    
  • PARI
    {a(n) = my(A=1, X=x+x*O(x^(2*n+1))); (2*n)! * polcoeff( (exp(1*I*X) + exp(6*I*X))/(1 + exp(7*I*X)), 2*n)}
    for(n=0, 20, print1(a(n), ", "))

Formula

E.g.f.: cos(5*x/2) / cos(7*x/2).
E.g.f.: (cos(x) + cos(6*x)) / (1 + cos(7*x)).
E.g.f.: (exp(i*x) + exp(6*i*x)) / (1 + exp(7*i*x)), where i^2 = -1.
E.g.f.: exp(i*x)/(1 + exp(7*i*x)) + exp(-i*x)/(1 + exp(-7*i*x)), where i^2 = -1.
O.g.f.: 1/(1 - 1*6*x/(1 - 7^2*x/(1 - 8*13*x/(1 - 14^2*x/(1 - ... - (7*n+1)*(7*n+6)*x/(1 - (7*n+7)^2*x/(1 - ...))))))), a continued fraction.
a(n) ~ (2*n)! * 4*cos(5*Pi/14) * 7^(2*n) / Pi^(2*n+1). - Vaclav Kotesovec, May 14 2016
a(n) = (-49)^n*Euler(2*n, 1/7). - Peter Luschny, Nov 26 2020

A273032 E.g.f.: (sin(2*x) + sin(5*x)) / sin(7*x).

Original entry on oeis.org

1, 10, 590, 87730, 24386030, 10896056050, 7140660673070, 6452172716731570, 7688003030273049710, 11679689713099591922290, 22034907735675944799243950, 50541665200040978421599836210, 138511221399376147951707017623790, 446986750662532432703671725548281330, 1677694112006573410256120810193681597230, 7246501185695514998554969680297128881865650
Offset: 0

Views

Author

Paul D. Hanna, May 13 2016

Keywords

Examples

			E.g.f.: A(x) = 1 + 10*x^2/2! + 590*x^4/4! + 87730*x^6/6! + 24386030*x^8/8! + 10896056050*x^10/10! + 7140660673070*x^12/12! +...
such that A(x) = (sin(2*x) + sin(5*x)) / sin(7*x).
O.g.f.: F(x) = 1 + 10*x + 590*x^2 + 87730*x^3 + 24386030*x^4 + 10896056050*x^5 + 7140660673070*x^6 + 6452172716731570*x^7 +...
such that the o.g.f. can be expressed as the continued fraction:
F(x) = 1/(1 - 2*5*x/(1 - 7^2*x/(1 - 9*12*x/(1 - 14^2*x/(1 - 16*19*x/(1 - 21^2*x/(1 - 23*26*x/(1 - 28^2*x/(1 - 30*33*x/(1 - 35^2*x/(1 - 37*40*x/(1 - ...)))))))))))).
		

Crossrefs

Programs

  • Mathematica
    With[{nn=30},Take[CoefficientList[Series[(Sin[2x]+Sin[5x])/Sin[7x],{x,0,nn}],x] Range[0,nn]!,{1,-1,2}]] (* Harvey P. Dale, Jul 20 2018 *)
  • PARI
    {a(n) = my(A=1, X=x+x*O(x^(2*n+1))); (2*n)! * polcoeff( (sin(2*X) + sin(5*X))/sin(7*X), 2*n)}
    for(n=0, 20, print1(a(n), ", "))
    
  • PARI
    {a(n) = my(A=1, X=x+x*O(x^(2*n+1))); (2*n)! * polcoeff( (cos(2*X) + cos(5*X))/(1 + cos(7*X)), 2*n)}
    for(n=0, 20, print1(a(n), ", "))
    
  • PARI
    {a(n) = my(A=1, X=x+x*O(x^(2*n+1))); (2*n)! * polcoeff( (exp(2*I*X) + exp(5*I*X))/(1 + exp(7*I*X)), 2*n)}
    for(n=0, 20, print1(a(n), ", "))

Formula

E.g.f.: cos(3*x/2) / cos(7*x/2).
E.g.f.: (cos(2*x) + cos(5*x)) / (1 + cos(7*x)).
E.g.f.: (exp(2*i*x) + exp(5*i*x)) / (1 + exp(7*i*x)), where i^2 = -1.
E.g.f.: exp(2*i*x)/(1 + exp(7*i*x)) + exp(-2*i*x)/(1 + exp(-7*i*x)), where i^2 = -1.
O.g.f.: 1/(1 - 2*5*x/(1 - 7^2*x/(1 - 9*12*x/(1 - 14^2*x/(1 - ... - (7*n+2)*(7*n+5)*x/(1 - (7*n+7)^2*x/(1 - ...))))))), a continued fraction.
a(n) ~ (2*n)! * 4*cos(3*Pi/14) * 7^(2*n) / Pi^(2*n+1). - Vaclav Kotesovec, May 14 2016
Showing 1-2 of 2 results.