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.

A134758 a(n) = A000984(n) + n.

Original entry on oeis.org

1, 3, 8, 23, 74, 257, 930, 3439, 12878, 48629, 184766, 705443, 2704168, 10400613, 40116614, 155117535, 601080406, 2333606237, 9075135318, 35345263819, 137846528840, 538257874461, 2104098963742, 8233430727623, 32247603683124, 126410606437777, 495918532948130
Offset: 0

Views

Author

Gary W. Adamson, Nov 09 2007

Keywords

Crossrefs

Programs

  • Magma
    [n+(n+1)*Catalan(n): n in [0..40]]; // G. C. Greubel, May 28 2024
    
  • Mathematica
    Table[Binomial[2n,n]+n,{n,0,40}] (* Harvey P. Dale, Dec 10 2011 *)
  • SageMath
    [n+binomial(2*n,n) for n in range(41)] # G. C. Greubel, May 28 2024

Formula

G.f.: ((1-x)^2 + x*sqrt(1-4*x))/((1-x)^2*sqrt(1-4*x)). - Harvey P. Dale, Dec 10 2011
From G. C. Greubel, May 28 2024: (Start)
E.g.f.: x*exp(x) + exp(2*x)*BesselI(0, 2*x).
a(n) = (2*(2*n-1)*a(n-1) - (3*n^2 - 6*n + 2))/n. (End)

Extensions

More terms from Harvey P. Dale, Dec 10 2011

A134770 a(n) = 4*A000984(n) - 3.

Original entry on oeis.org

1, 5, 21, 77, 277, 1005, 3693, 13725, 51477, 194477, 739021, 2821725, 10816621, 41602397, 160466397, 620470077, 2404321557, 9334424877, 36300541197, 141381055197, 551386115277, 2153031497757, 8416395854877, 32933722910397, 128990414732397, 505642425751005, 1983674131792413
Offset: 0

Views

Author

Gary W. Adamson, Nov 10 2007

Keywords

Comments

The second inverse binomial transform of this sequence is A134771, the sequence interleaved with threes: (1, 3, 5, 3, 21, 3, 77, 3, ...).

Examples

			a(2) = 21 = 4*A000984(2) - 3 = 4*6 - 3.
		

Crossrefs

Programs

  • Magma
    [4*(n+1)*Catalan(n)-3: n in [0..40]]; // G. C. Greubel, Oct 13 2023
    
  • Mathematica
    Table[4 Binomial[2n,n]-3,{n,0,30}] (* Harvey P. Dale, Dec 01 2022 *)
  • PARI
    a(n)=4*binomial(2*n, n) - 3; \\ Michel Marcus, Jul 02 2020
    
  • SageMath
    [4*binomial(2*n,n)-3 for n in range(41)] # G. C. Greubel, Oct 13 2023

Formula

From G. C. Greubel, Oct 13 2023: (Start)
a(n) = 4*(n+1)*A000108(n) - 3.
G.f.: 4/sqrt(1-4*x) - 3/(1-x).
Sum_{n>=0} a(n)*x^(2*n)/(2*n)! = 4*BesselI(0, 2*x) - cosh(x). (End)

Extensions

a(10) corrected and offsets aligned by Georg Fischer, Jul 01 2020
More terms from Michel Marcus, Jul 02 2020

A134759 a(n) = 2*A000984(n) - (n+1).

Original entry on oeis.org

1, 2, 9, 36, 135, 498, 1841, 6856, 25731, 97230, 369501, 1410852, 5408299, 20801186, 80233185, 310235024, 1202160763, 4667212422, 18150270581, 70690527580, 275693057619, 1076515748858, 4208197927417, 16466861455176, 64495207366175, 252821212875478
Offset: 0

Views

Author

Gary W. Adamson, Nov 09 2007

Keywords

Crossrefs

Programs

  • Magma
    [(n+1)*(2*Catalan(n)-1): n in [0..40]]; // G. C. Greubel, May 28 2024
    
  • Mathematica
    Table[2 Binomial[2n,n]-n-1,{n,0,30}] (* Harvey P. Dale, Aug 07 2023 *)
  • SageMath
    [2*binomial(2*n,n) -(n+1) for n in range(41)] # G. C. Greubel, May 28 2024

Formula

From G. C. Greubel, May 28 2024: (Start)
a(n) = (n+1)*(2*A000108(n) - 1).
a(n) = (2*(2*n-1)*a(n-1) + 3*n*(n-1))/n.
G.f.: 2/sqrt(1-4*x) - 1/(1-x)^2.
E.g.f.: 2*exp(2*x)*BesselI(0, 2*x) - (1+x)*exp(x). (End)

Extensions

More terms from Harvey P. Dale, Aug 07 2023

A134762 a(n) = 3*A000984(n) - 2.

Original entry on oeis.org

1, 4, 16, 58, 208, 754, 2770, 10294, 38608, 145858, 554266, 2116294, 8112466, 31201798, 120349798, 465352558, 1803241168, 7000818658, 27225405898, 106035791398, 413539586458, 1614773623318, 6312296891158, 24700292182798, 96742811049298, 379231819313254
Offset: 0

Views

Author

Gary W. Adamson, Nov 09 2007

Keywords

Comments

Second inverse binomial transform of the sequence = A134763, (same as a(n) but with interpolated two's).

Crossrefs

Programs

  • Magma
    [3*(n+1)*Catalan(n)-2: n in [0..40]]; // G. C. Greubel, May 28 2024
    
  • Mathematica
    Table[3*Binomial[2*n,n]-2, {n,0,40}] (* G. C. Greubel, May 28 2024 *)
  • PARI
    a(n) = 3*binomial(2*n, n) - 2; \\ Michel Marcus, Nov 22 2013
    
  • SageMath
    [3*binomial(2*n,n) -2 for n in range(41)] # G. C. Greubel, May 28 2024

Formula

G.f.: 3/sqrt(1-4*x) - 2/(1-x). - Sergei N. Gladkovskii, Nov 21 2013
From G. C. Greubel, May 28 2024: (Start)
a(n) = 3*(n+1)*A000108(n) - 2.
a(n) = (2*(2*n-1)*a(n-1) + 2*(3*n-2))/n.
E.g.f.: 3*exp(2*x)*BesselI(0, 2*x) - 2*exp(x). (End)

Extensions

More terms from Michel Marcus, Nov 22 2013

A134763 a(n) = (1/2)*( (1+(-1)^n)*A134762(n/2) + 2*(1-(-1)^n) ).

Original entry on oeis.org

1, 2, 4, 2, 16, 2, 58, 2, 208, 2, 754, 2, 2770, 2, 10294, 2, 38608, 2, 145858, 2, 554266, 2, 2116294, 2, 8112466, 2, 31201798, 2, 120349798, 2, 465352558, 2, 1803241168, 2, 7000818658, 2, 27225405898, 2, 106035791398, 2, 413539586458, 2, 1614773623318, 2, 6312296891158, 2
Offset: 0

Views

Author

Gary W. Adamson, Nov 09 2007

Keywords

Comments

Second inverse binomial transform of A134762.
A134762 interpolated with two's.
Former name: A000718^(-2) * A134762. - G. C. Greubel, May 28 2024

Examples

			First few terms of the sequence are: (1, 2, 4, 2, 16, 2, 58, ...), interpolating two's in the sequence A134762: (1, 4, 16, 58, ...).
		

Crossrefs

Programs

  • Magma
    [3*((n+1) mod 2)*Binomial(n, Floor(n/2)) - 2*(-1)^n : n in [0..40]]; // G. C. Greubel, May 28 2024
    
  • Mathematica
    Table[(3/2)*(1+(-1)^n)*Binomial[n,n/2] -2*(-1)^n, {n,0,40}] (* G. C. Greubel, May 28 2024 *)
  • SageMath
    [3*((n+1)%2)*binomial(n, n//2) - 2*(-1)^n for n in range(41)] # G. C. Greubel, May 28 2024

Formula

From G. C. Greubel, May 28 2024: (Start)
a(n) = (1/2)*( (1+(-1)^n)*A134762(n/2) + 2*(1-(-1)^n) ).
a(n) = (3/2)*(1+(-1)^n)*A001405(n) - 2*(-1)^n.
G.f.: 3/sqrt(1-4*x^2) - 2/(1+x).
E.g.f.: 3*BesselI(0, 2*x) - 2*exp(-x). (End)

Extensions

Name change and terms a(14) onward added by G. C. Greubel, May 28 2024
Showing 1-5 of 5 results.