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.

Previous Showing 11-16 of 16 results.

A289389 a(n) = Sum_{k>=0} (-1)^k*binomial(n,5*k+4).

Original entry on oeis.org

0, 0, 0, 0, 1, 5, 15, 35, 70, 125, 200, 275, 275, 0, -1000, -3625, -9500, -21250, -42500, -76875, -124375, -171875, -171875, 0, 621875, 2250000, 5890625, 13171875, 26343750, 47656250, 77109375, 106562500, 106562500, 0, -385546875, -1394921875, -3651953125
Offset: 0

Views

Author

Vladimir Shevelev, Jul 05 2017

Keywords

Comments

{A289306, A289321, A289387, A289388, A289389} is the difference analog of the trigonometric functions {k_1(x), k_2(x), k_3(x), k_4(x), k_5(x)} of order 5. For the definitions of {k_i(x)} and the difference analog {K_i (n)} see [Erdelyi] and the Shevelev link respectively.

References

  • A. Erdelyi, Higher Transcendental Functions, McGraw-Hill, 1955, Vol. 3, Chapter XVIII.

Crossrefs

Programs

  • Mathematica
    Table[Sum[(-1)^k*Binomial[n, 5 k + 4], {k, 0, n}], {n, 0, 36}] (* or *)
    CoefficientList[Series[(-x^4)/((-1 + x)^5 - x^5), {x, 0, 36}], x] (* Michael De Vlieger, Jul 10 2017 *)
  • PARI
    a(n) = sum(k=0, (n-4)\5, (-1)^k*binomial(n, 5*k+4)); \\ Michel Marcus, Jul 05 2017

Formula

G.f.: (-x^4)/((-1+x)^5 - x^5). - Peter J. C. Moses, Jul 05 2017
For n>=1, a(n) = (2/5)*(phi+2)^(n/2)*(cos(Pi*(n-8)/10) + (phi-1)^n*cos (3* Pi*(n-8)/10)), where phi is the golden ratio;
a(n+m) = a(n)*K_1(m) + K_4(n)*K_2(m) + K_3(n)*K_3(m) + K_2(n)*K_4(m) + K_1(n)*a(m), where K_1 is A289306, K_2 is A289321, K_3 is A289387, K_4 is A289388.
a(n) = 0 if and only if n=0,1,2 or n==3 (mod 10). - Vladimir Shevelev, Jul 15 2017

Extensions

More terms from Peter J. C. Moses, Jul 05 2017

A289387 a(n) = Sum_{k>=0} (-1)^k*binomial(n, 5*k+2).

Original entry on oeis.org

0, 0, 1, 3, 6, 10, 15, 20, 20, 0, -75, -275, -725, -1625, -3250, -5875, -9500, -13125, -13125, 0, 47500, 171875, 450000, 1006250, 2012500, 3640625, 5890625, 8140625, 8140625, 0, -29453125, -106562500, -278984375, -623828125, -1247656250, -2257031250
Offset: 0

Views

Author

Vladimir Shevelev, Jul 05 2017

Keywords

Comments

{A289306, A289321, A289387, A289388, A289389} is the difference analog of the trigonometric functions {k_1(x), k_2(x), k_3(x), k_4(x), k_5(x)} of order 5. For the definitions of {k_i(x)} and the difference analog {K_i (n)} see [Erdelyi] and the first Shevelev link respectively.
From Robert Israel, Jul 11 2017: (Start)
a(n)=0 for n == 9 (mod 10).
A112765(a(10*k)) = (5/2)*k - 3/4 - (-1)^k/4.
A112765(a(10*k+2)) = (5/2)*k - 1/4 + (-1)^k/4.
A112765(a(10*k+3)) = A112765(a(10*k+4)) = (5/2)*k + 1/4 - (-1)^k/4.
A112765(a(10*k+5)) = A112765(a(10*k+6)) = (5/2)*k + 3/4 + (-1)^k/4.
A112765(a(10*k+7)) = A112765(a(10*k+8)) = (5/2)*k + 5/4 - (-1)^k/4. (End)
Note that from author's formula (see below) we have that, except for zeros in the sequence mentioned by Robert Israel, there are only a(0) = a(1) = 0. Indeed, otherwise for some value of n we should have the equality (phi-1)^n = -cos(Pi*(n-4)/10)/cos(3*Pi*(n-4)/10). However, the absolute value of the right hand side takes the six distinct values only: 1, phi, phi^2, phi^(-1), phi^(-2), 1/3 (the last value we have when n == 9 (mod 10), since lim_{x->Pi/2}cos(x)/cos(3*x)= -1/3). Thus for n>=3, we have (phi-1)^n = phi^(-n) < |cos(Pi*(n-4)/10)/cos(3*Pi*(n-4)/10)|. - Vladimir Shevelev, Jul 15 2017

References

  • A. Erdelyi, Higher Transcendental Functions, McGraw-Hill, 1955, Vol. 3, Chapter XVIII.

Crossrefs

Programs

  • Maple
    f:= gfun:-rectoproc({5*a(n)-10*a(n+1)+10*a(n+2)-5*a(n+3)+a(n+4), a(0)=0,
    a(1)=0, a(2)=1, a(3) = 3,a(4)=6},a(n),remember):
    map(f, [$0..40]); # Robert Israel, Jul 11 2017
  • Mathematica
    Table[Sum[(-1)^k*Binomial[n, 5 k + 2], {k, 0, n}], {n, 0, 35}] (* or *)
    CoefficientList[Series[-((-1 + x)^2 x^2)/((-1 + x)^5 - x^5), {x, 0, 35}], x] (* Michael De Vlieger, Jul 10 2017 *)
  • PARI
    a(n) = sum(k=0, (n-2)\5, (-1)^k*binomial(n, 5*k+2)); \\ Michel Marcus, Jul 05 2017

Formula

G.f.: -((-1+x)^2*x^2)/((-1+x)^5 - x^5). - Peter J. C. Moses, Jul 05 2017
For n>=1, a(n) = (2/5)*(phi+2)^(n/2)*(cos(Pi*(n-4)/10) + (phi-1)^n*cos(3* Pi*(n-4)/10)), where phi is the golden ratio.
a(n+m) = a(n)*K_1(m) + K_2(n)*K_2(m) + K_1(n)*a(m) - K_5(n)*K_4(m) - K_4(n)*K_5(m), where K_1 is A289306, K_2 is A289321, K_4 is A289388, K_5 is A289389.
For every n>=1, the determinant of circulant matrix of order 5 (see [Wikipedia]) with the entries (-1)^(i-1)* K_i(n), i=1..5, is 0. Here K_1, K_2, K_4 and K_5 are the same as in the previous formula, while K_3(n) = a(n). For a proof and a generalization see the second Shevelev link that also contains two unsolved problems. - Vladimir Shevelev, Jul 26 2017

Extensions

More terms from Peter J. C. Moses, Jul 05 2017

A345455 a(n) = Sum_{k=0..n} binomial(5*n+1,5*k).

Original entry on oeis.org

1, 7, 474, 12393, 427351, 13333932, 430470899, 13733091643, 439924466026, 14072420067757, 450374698997499, 14411355379952868, 461170414282959151, 14757375158697584607, 472236871202375365274, 15111570273013075344193, 483570355262634763462351
Offset: 0

Views

Author

Seiichi Manyama, Jun 20 2021

Keywords

Crossrefs

Sum_{k=0..n} binomial(b*n+c,b*k): A082311 (b=3,c=1), A090407 (b=4,c=1), A070782 (b=5,c=0), this sequence (b=5,c=1), A345456 (b=5,c=2), A345457 (b=5,c=3), A345458 (b=5,c=4).
Cf. A139398.

Programs

  • Mathematica
    a[n_] := Sum[Binomial[5*n + 1, 5*k], {k, 0, n}]; Array[a, 17, 0] (* Amiram Eldar, Jun 20 2021 *)
    LinearRecurrence[{21,353,-32},{1,7,474},20] (* Harvey P. Dale, Jul 20 2021 *)
  • PARI
    a(n) = sum(k=0, n, binomial(5*n+1, 5*k));
    
  • PARI
    my(N=20, x='x+O('x^N)); Vec((1-14*x-26*x^2)/((1-32*x)*(1+11*x-x^2)))

Formula

G.f.: (1 - 14*x - 26*x^2) / ((1 - 32*x)*(1 + 11*x - x^2)).
a(n) = 21*a(n-1) + 353*a(n-2) - 32*a(n-3) for n>2.
a(n) = A139398(5*n+1).
a(n) = 2^(5*n + 2)/10 + ((-475 + 213*sqrt(5))/phi^(5*n) - ( 65 - 33*sqrt(5))*(-1)^n*phi^(5*n)) / (10*(41*sqrt(5)-90)), where phi = A001622 is the golden ratio. - Vaclav Kotesovec, Jun 20 2021

A345456 a(n) = Sum_{k=0..n} binomial(5*n+2,5*k).

Original entry on oeis.org

1, 22, 859, 25773, 843756, 26789257, 859595529, 27481113638, 879683351911, 28146676447417, 900729032983924, 28822936611339453, 922338323835136341, 29514778095285204502, 944473434343229560419, 30223143962480773595093, 967140672636207153780796
Offset: 0

Views

Author

Seiichi Manyama, Jun 20 2021

Keywords

Crossrefs

Sum_{k=0..n} binomial(b*n+c,b*k): A070782 (b=5,c=0), A345455 (b=5,c=1), this sequence (b=5,c=2), A345457 (b=5,c=3), A345458 (b=5,c=4).
Cf. A139398.

Programs

  • Mathematica
    a[n_] := Sum[Binomial[5*n + 2, 5*k], {k, 0, n}]; Array[a, 17, 0] (* Amiram Eldar, Jun 20 2021 *)
    LinearRecurrence[{21,353,-32},{1,22,859},20] (* Harvey P. Dale, Aug 25 2022 *)
  • PARI
    a(n) = sum(k=0, n, binomial(5*n+2, 5*k));
    
  • PARI
    my(N=20, x='x+O('x^N)); Vec((1+x+44*x^2)/((1-32*x)*(1+11*x-x^2)))

Formula

G.f.: (1 + x + 44*x^2) / ((1 - 32*x)*(1 + 11*x - x^2)).
a(n) = 21*a(n-1) + 353*a(n-2) - 32*a(n-3) for n>2.
a(n) = A139398(5*n+2).
a(n) = 2^(5*n + 3)/10 + ((-295 + 131*sqrt(5))/phi^(5*n) + (115 - 49*sqrt(5))*(-1)^n*phi^(5*n)) / (10*(41*sqrt(5)-90)), where phi = A001622 is the golden ratio. - Vaclav Kotesovec, Jun 20 2021

A345457 a(n) = Sum_{k=0..n} binomial(5*n+3,5*k).

Original entry on oeis.org

1, 57, 1574, 53143, 1669801, 53774932, 1717012749, 54986385093, 1759098789526, 56296324109907, 1801425114687749, 57646238657975068, 1844672594930734801, 59029601136140621857, 1888946370232447241574, 60446293452901248074943
Offset: 0

Views

Author

Seiichi Manyama, Jun 20 2021

Keywords

Crossrefs

Sum_{k=0..n} binomial(b*n+c,b*k): A090408 (b=4,c=3), A070782 (b=5,c=0), A345455 (b=5,c=1), A345456 (b=5,c=2), this sequence (b=5,c=3), A345458 (b=5,c=4).
Cf. A139398.

Programs

  • Mathematica
    a[n_] := Sum[Binomial[5*n + 3, 5*k], {k, 0, n}]; Array[a, 16, 0] (* Amiram Eldar, Jun 20 2021 *)
  • PARI
    a(n) = sum(k=0, n, binomial(5*n+3, 5*k));
    
  • PARI
    my(N=20, x='x+O('x^N)); Vec((1+36*x+24*x^2)/((1-32*x)*(1+11*x-x^2)))

Formula

G.f.: (1 + 36*x + 24*x^2) / ((1 - 32*x)*(1 + 11*x - x^2)).
a(n) = 21*a(n-1) + 353*a(n-2) - 32*a(n-3) for n>2.
a(n) = A139398(5*n+3).
a(n) = 2^(5*n + 4)/10 + (( 475 - 213*sqrt(5))/phi^(5*n) + ( 65 - 33*sqrt(5))*(-1)^n*phi^(5*n)) / (10*(41*sqrt(5)-90)), where phi = A001622 is the golden ratio. - Vaclav Kotesovec, Jun 20 2021

A345458 a(n) = Sum_{k=0..n} binomial(5*n+4,5*k).

Original entry on oeis.org

1, 127, 3004, 107883, 3321891, 107746282, 3431847189, 109996928003, 3517929664756, 112595619434887, 3602817278095399, 115292842751246298, 3689341137121931721, 118059247217851456567, 3777892242010882603884, 120892592433742197034643
Offset: 0

Views

Author

Seiichi Manyama, Jun 20 2021

Keywords

Crossrefs

Sum_{k=0..n} binomial(b*n+c,b*k): A070782 (b=5,c=0), A345455 (b=5,c=1), A345456 (b=5,c=2), A345457 (b=5,c=3), this sequence (b=5,c=4).
Cf. A139398.

Programs

  • Mathematica
    a[n_] := Sum[Binomial[5*n + 4, 5*k], {k, 0, n}]; Array[a, 16, 0] (* Amiram Eldar, Jun 20 2021 *)
    Total/@Table[Binomial[5n+4,5k],{n,0,20},{k,0,n}] (* or *) LinearRecurrence[{21,353,-32},{1,127,3004},30] (* Harvey P. Dale, Oct 29 2023 *)
  • PARI
    a(n) = sum(k=0, n, binomial(5*n+4, 5*k));
    
  • PARI
    my(N=20, x='x+O('x^N)); Vec((1+106*x-16*x^2)/((1-32*x)*(1+11*x-x^2)))

Formula

G.f.: (1 + 106*x - 16*x^2) / ((1 - 32*x)*(1 + 11*x - x^2)).
a(n) = 21*a(n-1) + 353*a(n-2) - 32*a(n-3) for n>2.
a(n) = A139398(5*n+4).
a(n) = 2^(5*n + 5)/10 + ((2015 - 901*sqrt(5))/phi^(5*n) - (35 + sqrt(5))*(-1)^n*phi^(5*n)) / (10*(41*sqrt(5)-90)), where phi = A001622 is the golden ratio. - Vaclav Kotesovec, Jun 20 2021
Previous Showing 11-16 of 16 results.