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

A277000 Numerators of an asymptotic series for the Gamma function (even power series).

Original entry on oeis.org

1, -1, 19, -2561, 874831, -319094777, 47095708213409, -751163826506551, 281559662236405100437, -49061598325832137241324057, 5012066724315488368700829665081, -26602063280041700132088988446735433, 40762630349420684160007591156102493590477
Offset: 0

Views

Author

Peter Luschny, Sep 25 2016

Keywords

Comments

Let y = x+1/2 then Gamma(x+1) ~ sqrt(2*Pi)*((y/E)*Sum_{k>=0} r(k)/y^(2*k))^y as x -> oo and r(k) = A277000(k)/A277001(k) (see example 6.1 in the Wang reference).

Examples

			The underlying rational sequence starts:
1, 0, -1/24, 0, 19/5760, 0, -2561/2903040, 0, 874831/1393459200, 0, ...
		

Crossrefs

Cf. A001163/A001164 (Stirling), A182935/A144618 (De Moivre), A005146/A005147 (Stieltjes), A090674/A090675 (Lanczos), A181855/A181856 (Nemes), A182912/A182913 (NemesG), A182916/A182917 (Wehmeier), A182919/A182920 (Gosper), A182914/A182915, A277002/A277003 (odd power series).
Cf. A276667/A276668 (the arguments of the Bell polynomials).

Programs

  • Maple
    b := n -> CompleteBellB(n, 0, seq((k-2)!*bernoulli(k,1/2), k=2..n))/n!:
    A277000 := n -> numer(b(2*n)): seq(A277000(n), n=0..12);
    # Alternatively the rational sequence by recurrence:
    R := proc(n) option remember; local k; `if`(n=0, 1,
    add(bernoulli(2*m+2,1/2)* R(n-m-1)/(2*m+1), m=0..n-1)/(2*n)) end:
    seq(numer(R(n)), n=0..12); # Peter Luschny, Sep 30 2016
  • Mathematica
    CompleteBellB[n_, zz_] := Sum[BellY[n, k, zz[[1 ;; n-k+1]]], {k, 1, n}];
    b[n_] := CompleteBellB[n, Join[{0}, Table[(k-2)! BernoulliB[k, 1/2], {k, 2, n}]]]/n!;
    a[n_] := Numerator[b[2n]];
    Table[a[n], {n, 0, 12}] (* Jean-François Alcover, Sep 09 2018 *)

Formula

a(n) = numerator(b(2*n)) with b(n) = Y_{n}(0, z_2, z_3,..., z_n)/n! with z_k = k!*Bernoulli(k,1/2)/(k*(k-1)) and Y_{n} the complete Bell polynomials.
The rational numbers have the recurrence r(n) = (1/(2*n))*Sum_{m=0..n-1} Bernoulli(2*m+2,1/2)*r(n-m-1)/(2*m+1) for n>=1, r(0)=1. - Peter Luschny, Sep 30 2016

A005146 Numerators of numbers occurring in continued fraction connected with expansion of gamma function.

Original entry on oeis.org

1, 1, 53, 195, 22999, 29944523, 109535241009, 29404527905795295658, 455377030420113432210116914702, 26370812569397719001931992945645578779849, 152537496709054809881638897472985990866753853122697839, 100043420063777451042472529806266909090824649341814868347109676190691
Offset: 0

Views

Author

Keywords

References

  • M. Abramowitz and I. A. Stegun, eds., Handbook of Mathematical Functions, National Bureau of Standards Applied Math.Series 55, Tenth Printing, 1972, p. 258.
  • N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
  • H. S. Wall, Analytic Theory of Continued Fractions, Chelsea 1973, p. 365.

Crossrefs

Cf. A005147.

Programs

  • Mathematica
    len = 12; s[p_] := (-1)^p * BernoulliB[2p+2]/(2p+1)/(2p+2); Do[m[n, 1] = 0, {n, 0, len}]; Do[m[n, 2] = s[n+1]/s[n], {n, 0, len-1}]; Do[m[n, k] =
    If[OddQ[k], m[n+1, k-2]+m[n+1, k-1]-m[n, k-1],
    m[n+1, k-2]*m[n+1, k-1]/m[n, k-1]], {k, 3, len}, {n, 0,
    len-k+1}]; Do[m[n, 1] = s[n], {n, 0, len}];
    Table[m[0, k], {k, 1, len}] // Numerator
    (* Jean-François Alcover, May 24 2011, after Peter Luschny *)

Extensions

More terms from Rainer Rosenthal, Jan 11 2007

A177677 The maximum integer dimension in which the volume of the hypersphere of radius n remains larger than 1.

Original entry on oeis.org

12, 62, 147, 266, 419, 607, 828, 1084, 1375, 1699, 2057, 2450, 2877, 3338, 3833, 4362, 4926, 5523, 6155, 6821, 7521, 8256, 9024, 9827, 10664, 11535, 12440, 13379, 14353, 15360, 16402, 17478, 18588, 19732, 20911, 22123, 23370, 24651, 25966, 27315
Offset: 1

Views

Author

Michel Lagneau, May 10 2010

Keywords

Comments

The volume of the d-dimensional hypersphere of radius n is V= Pi^(d/2) * n^d / Gamma(1 + d/2).
For fixed radius, V -> 0 as d->infinity, so there is a dimension d for which V(n,d) > 1 but V(n,d+1) < 1, which defines the entry in the sequence.

Examples

			a(n=2)=62 because Pi^(62/2) * 2^62/GAMMA(1 + (62/2)) =1.447051 and Pi^(63/2)* 2^63 / Gamma(1 + (63/2)) =0.9103541.
		

Crossrefs

Programs

  • Maple
    with(numtheory): n0:=50: T:=array(1..n0): for r from 1 to n0 do: x:=2: for n from 1 to 1000000 while(x>=1) do: x:= floor(evalf((r^n * Pi^(n/2))/GAMMA(1 + n/2))):k:=n:od:T[r]:=k-1:od:print(T):

Formula

a(n) = max {d: Pi^d/2 * n^d / Gamma(1+d/2) > 1}.

Extensions

Use of variables standardized. Definition simplified, comments tightened, unspecific reference and superfluous parentheses removed - R. J. Mathar, Oct 20 2010
Showing 1-3 of 3 results.