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

A056053 a(n) = smallest odd number 2m+1 such that the partial sum of the odd harmonic series Sum_{j=0..m} 1/(2j+1) is > n.

Original entry on oeis.org

1, 3, 15, 113, 837, 6183, 45691, 337607, 2494595, 18432707, 136200301, 1006391657, 7436284415, 54947122715, 406007372211, 3000011249847, 22167251422541, 163795064320249, 1210290918990281, 8942907496445513, 66079645178783351, 488266205223462461, 3607826381608149807
Offset: 0

Views

Author

Robert G. Wilson v, Jul 25 2000 and Jan 11 2004

Keywords

Comments

a(2) = 15 and a(3) = 113 are related to the Borwein integrals. Concretely, a(2) = 15 is the smallest odd m such that the integral Integral_{x=-oo..oo} Product_{1<=k<=m, k odd} (sin(k*x)/(k*x)) dx is slightly less than Pi, and a(3) = 113 is the smallest odd m such that the integral Integral_{x=-oo..oo} cos(x) * Product_{1<=k<=m, k odd} (sin(k*x)/(k*x)) dx is slightly less than Pi/2. See the Wikipedia link and the 3Blue1Brown video link below. - Jianing Song, Dec 10 2022

References

  • Calvin C. Clawson, "Mathematical Mysteries, The Beauty and Magic of Numbers," Plenum Press, NY and London, 1996, page 64.

Crossrefs

Programs

  • Mathematica
    s = 0; k = 1; Do[ While[s = N[s + 1/k, 24]; s <= n, k += 2]; Print[k]; k += 2, {n, 1, 11}]

Formula

a(n) ~ floor((1/2)*A002387(2n)).
The next term is approximately the previous term * e^2.
a(n) = A092315(n)*2 + 1 = floor(exp(n*2-Euler)/4+1/8)*2+1 for all n (conjectured). - M. F. Hasler, Jan 24 2017
a(n) ~ exp(2*n - A350763) = (1/2)*exp(2*n - gamma), gamma = A001620. - A.H.M. Smeets, Apr 15 2022

Extensions

Corrected by N. J. A. Sloane, Feb 16 2004
More terms from Robert G. Wilson v, Apr 17 2004
a(17) corrected - see correction in A092315. - Gerhard Kirchner, Jul 25 2020
a(0) prepended by Robert G. Wilson v, Oct 23 2024

A092318 a(n) = smallest m such that value of odd harmonic series Sum_{j=0..m} 1/(2j+1) is >= n.

Original entry on oeis.org

0, 7, 56, 418, 3091, 22845, 168803, 1247297, 9216353, 68100150, 503195828, 3718142207, 27473561357, 203003686105, 1500005624923, 11083625711270, 81897532160124, 605145459495140, 4471453748222756, 33039822589391675
Offset: 1

Views

Author

N. J. A. Sloane, Feb 16 2004

Keywords

Crossrefs

Apart from first term, same as A092315. Equals (A092317-1)/2.
Cf. A281355 (= a(n) + 1) for a variant.

Programs

  • Mathematica
    a[n_] := Floor[(Exp[2 n - EulerGamma] + 1/2)/4]; a[1] = 0; Array[a, 20] (* Robert G. Wilson v, Jan 25 2017 *)
  • PARI
    A092318=n->floor(exp(2*n-Euler)/4+1/8)-(n<2) \\ Cf. comments in A092315. - M. F. Hasler, Jan 24 2017

Formula

a(n) = floor(exp(2*n-gamma)/4+1/8), for all n > 1. - M. F. Hasler and Robert G. Wilson v, Jan 22 2017
a(n) = floor(exp(2*n-gamma)/4), for all n > 1, see correction in A092315, Gerhard Kirchner, Jul 25 2020

Extensions

More terms (computed from A092317) from M. F. Hasler, Jan 22 2017
a(17) corrected by Gerhard Kirchner, Jul 26 2020

A092267 Values 2m_0+1 = 1, 2m_1, 2m_2+1, ... associated with divergent series T shown below.

Original entry on oeis.org

1, 454, 45891, 547208496, 3013267310449, 1961694770407970734, 589785633779065944213245, 20963601300674244910397534828794, 344117353602393170461608383214200982125
Offset: 0

Views

Author

N. J. A. Sloane, Feb 16 2004

Keywords

Comments

T = 1
- (1/2 + 1/4 + 1/6 + ... + 1/(2m_1))
+ (1/3 + 1/5 + 1/7 + ... + 1/(2m_2+1))
- (1/(2m_1+2) + 1/(2m_1+4) + ... + 1/(2m_3)
+ (1/(2m_2+3) + 1/(2m_2+5) + ... + 1/(2m_4+1))
- (1/(2m_3+2) + 1/(2m_3+4) + ... + 1/(2m_5)
+ (1/(2m_4+3) + 1/(2m_4+5) + ... + 1/(2m_6+1))
- ...
where the partial sums of the terms from 1 through the end of rows 0, 1, ... are respectively 1, just < -2, just > 3, just < -4, just > 5, etc.
Every positive number appears exactly once as a denominator in T.
The series T is a divergent rearrangement of the conditionally convergent series Sum_{ j>=1} (-1)^j/j which has the entire real number system as its set of limit points.

Examples

			1 - (1/2 + 1/4 + 1/6 + ... + 1/454) = -2.002183354..., which is just less than -2; so a(1) = 2m_1 = 454.
1 - (1/2 + 1/4 + 1/6 + ... + 1/454) + (1/3 + 1/5 + ... + 1/45891) = 3.000021113057..., which is just greater than 3; so a(1) = 2m_2 + 1 = 45891.
		

References

  • B. R. Gelbaum and J. M. H. Olmsted, Counterexamples in Analysis, Holden-Day, San Francisco, 1964; see p. 55.

Crossrefs

Cf. A092324 (essentially the same), A002387, A056053, A092318, A092317, A092315.
Cf. A092273.

Extensions

a(2) and a(3) from Hugo Pfoertner, Feb 17 2004
a(4) onwards from Hans Havermann, Feb 18 2004

A092324 Values m_0 = 0, m_1, m_2, ... associated with divergent series T shown below.

Original entry on oeis.org

0, 227, 22945, 273604248, 1506633655224, 980847385203985367, 294892816889532972106622, 10481800650337122455198767414397, 172058676801196585230804191607100491062
Offset: 0

Views

Author

N. J. A. Sloane, Feb 16 2004

Keywords

Comments

T = 1
- (1/2 + 1/4 + 1/6 + ... + 1/(2m_1))
+ (1/3 + 1/5 + 1/7 + ... + 1/(2m_2+1))
- (1/(2m_1+2) + 1/(2m_1+4) + ... + 1/(2m_3)
+ (1/(2m_2+3) + 1/(2m_2+5) + ... + 1/(2m_4+1))
- (1/(2m_3+2) + 1/(2m_3+4) + ... + 1/(2m_5)
+ (1/(2m_4+3) + 1/(2m_4+5) + ... + 1/(2m_6+1))
- ...
where the partial sums of the terms from 1 through the end of rows 0, 1, ... are respectively 1, just < -2, just > 3, just < -4, just > 5, etc.
Every positive number appears exactly once as a denominator in T.
The series T is a divergent rearrangement of the conditionally convergent series Sum_{j>=1} (-1)^j/j which has the entire real number system as its set of limit points.
Comment from Hans Havermann: I calculated these with Mathematica. I used NSum[1/(2i), {i, 1, x}] for the even denominators, where I had to adjust the options to obtain maximal accuracy and N[(EulerGamma + Log[4] - 2)/2 + PolyGamma[0, 3/2 + y]/2, precision] for the odd denominators. The precision needed for the last term shown was around 45 digits.

Examples

			1 - (1/2 + 1/4 + 1/6 + ... + 1/454) = -2.002183354..., which is just less than -2; so a(1) = m_1 = 227.
1 - (1/2 + 1/4 + 1/6 + ... + 1/454) + (1/3 + 1/5 + ... + 1/45891) = 3.000021113057..., which is just greater than 3; so a(2) = m_2 = 22945.
		

References

  • B. R. Gelbaum and J. M. H. Olmsted, Counterexamples in Analysis, Holden-Day, San Francisco, 1964; see p. 55.

Crossrefs

Cf. A092267 (essentially the same), A002387, A056053, A092318, A092317, A092315.
Cf. A092273.

Extensions

a(2) and a(3) from Hugo Pfoertner, Feb 17 2004
a(4) onwards from Hans Havermann, Feb 18 2004
Showing 1-4 of 4 results.