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.

User: Jerry Polfer

Jerry Polfer's wiki page.

Jerry Polfer has authored 2 sequences.

A281787 a(n) = sum of all numbers between 1 and 10^n that are divisible by 3 or 5.

Original entry on oeis.org

23, 2318, 233168, 23331668, 2333316668, 233333166668, 23333331666668, 2333333316666668, 233333333166666668, 23333333331666666668, 2333333333316666666668, 233333333333166666666668, 23333333333331666666666668, 2333333333333316666666666668
Offset: 1

Author

Jerry Polfer, Jan 29 2017

Keywords

Examples

			For n = 1, a(1) = 3 + 5 + 6 + 9 = 23.
		

Crossrefs

Cf. A281746.

Programs

  • PARI
    Vec(-x*(23-235*x+1400*x^2)/((x-1)*(100*x-1)*(10*x-1)) + O(x^15)) \\ Felix Fröhlich, Jan 30 2017

Formula

G.f.: -x*(23-235*x+1400*x^2)/((x-1)*(100*x-1)*(10*x-1)). - Alois P. Heinz, Jan 30 2017
a(n) = (7/30)*100^n - (1/6)*10^n + 4/3. - Robert Israel, Jan 31 2017
E.g.f.: (7*exp(100*x) - 5*exp(10*x) + 40*exp(x) - 42)/30. - Stefano Spezia, May 03 2025

A281355 a(n) = A092318(n) + 1: Number of terms of the odd harmonic series 1 + 1/3 + 1/5 + 1/7 + ... required to reach a sum >= n.

Original entry on oeis.org

1, 8, 57, 419, 3092, 22846, 168804, 1247298, 9216354, 68100151, 503195829, 3718142208, 27473561358, 203003686106, 1500005624924, 11083625711271, 81897532160125, 605145459495141, 4471453748222757, 33039822589391676, 244133102611731231, 1803913190804074904, 13329215764452299411
Offset: 1

Author

N. J. A. Sloane, Jan 22 2017, following a suggestion from Jerry Polfer

Keywords

Comments

A different way of listing the sums mentioned in A092318.
A092318 is the main entry for this problem.

Crossrefs

Programs

  • Mathematica
    a[n_]:=Floor[Exp[2*n-EulerGamma]/4+1]-Boole[n==1]; Array[a,23] (* Stefano Spezia, Jun 25 2024 *)

Formula

Lim_{n -> oo} a(n)/exp(2*n) = 1/4e^gamma ~ 0.140364870891721292456...;
a(n) = floor(exp(2*n-gamma)/4+1), for all given values a(n) > 1. - M. F. Hasler and Robert G. Wilson v, Jan 23 2017 [corrected by Gerhard Kirchner, Jul 25 2020]

Extensions

More explicit, self-contained definition by M. F. Hasler, Jan 22 2017
More terms (computed using A056053) from M. F. Hasler, Jan 23 2017
a(17) corrected in data and 127 terms in the b-file, according to the corrections in A092315, Gerhard Kirchner, Jul 27 2020