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

A075135 Numerator of the generalized harmonic number H(n,3,1) described below.

Original entry on oeis.org

1, 5, 39, 209, 2857, 11883, 233057, 2632787, 13468239, 13739939, 433545709, 7488194853, 281072414761, 284780929571, 12393920563953, 288249495707519, 2038704876507433, 2058454144222533, 2077126179153173, 60750140156034617
Offset: 1

Views

Author

T. D. Noe, Sep 04 2002

Keywords

Comments

For integers a and b, H(n,a,b) is the sum of the fractions 1/(a i + b), i = 0,1,..,n-1. This database already contains six instances of generalized harmonic numbers. Partial sums of the harmonic series 1+1/2+1/3+1/4+... are given by the sequence of harmonic numbers H(n,1,1) = A001008(n) / A002805(n).
The Jeep problem gives rise to the series H(n,2,1) = A025550(n) / A025547(n). Recent additions to the database are 3 * H(n,3,1) = A074596(n) / A051536(n), 3 * H(n,3,2) = A074597(n) / A051540(n), 4 * H(n,4,1) = A074598(n) / A051539(n) and 4 * H(n,4,3) = A074637(n) / A074638(n) . The numerator of H(n,4,1) is A075136. The fractions H(n,5,1), H(n,5,2), H(n,5,3) and H(n,5,4) are in A075137-A075144.
The sequence H(n,a,b) is of interest only when a and b are relatively prime. The sequence can also be computed as H(n,a,b) = (PolyGamma[n+1+b/a] - PolyGamma[1+b/a])/a. The sequence H(n,a,b) diverges for all a and b.
According to Hardy and Wright, if p is an odd prime, then p divides the numerator of the harmonic number H(p-1,1,1). This result can be extended to generalized harmonic numbers: for odd integer n, let q = (n-2)a + 2b. If q is prime, then q divides the numerator of H(n-1,a,b). For this sequence (a=3, b=1) we conclude that 11 divides a(4), 17 divides a(6), 29 divides a(10) and 47 divides a(16).
Graham, Knuth and Patashnik define another type of generalized harmonic number as the sum of fractions 1/i^k, i=1,...,n. For k=2, the sequence of fractions is A007406(n) / A007407(n).

Examples

			a(3)=39 because 1 + 1/4 + 1/7 = 39/28.
		

References

  • R. L. Graham, D. E. Knuth and O. Patashnik, Concrete Mathematics. Addison-Wesley, Reading, MA, 1990, p. 263, 269, 272, 297, 302, 356.
  • G. H. Hardy and E. M. Wright, An Introduction to the Theory of Numbers, 4th ed., Oxford Univ. Press, 1971, page 88.

Crossrefs

Programs

  • Mathematica
    a=3; b=1; maxN=20; s=0; Numerator[Table[s+=1/(a n + b), {n, 0, maxN-1}]]
    Accumulate[1/Range[1,60,3]]//Numerator (* Harvey P. Dale, Dec 30 2019 *)

A051540 Least common multiple of {2, 5, 8, 11, 14, ..., 3n+2} (A016789).

Original entry on oeis.org

2, 10, 40, 440, 3080, 52360, 52360, 1204280, 15655640, 454013560, 1816054240, 1816054240, 34505030560, 1414706252960, 1414706252960, 66491193889120, 332455969445600, 17620166380616800, 17620166380616800
Offset: 0

Views

Author

Keywords

Comments

Denominator of H(n,3,2), a generalized harmonic number. See A075135.

Examples

			a(3) = lcm{2, 5, 8, 11} = 440.
		

Crossrefs

Cf. A016789, A051552. The numerators are in A074597.
Cf. A075135.
Cf. A051536.

Programs

  • GAP
    List([0..20],n->Lcm(List([0..n],k->3*k+2))); # Muniru A Asiru, Apr 14 2018
  • Magma
    k:=56; [Lcm([h: h in [2..j by 3]]): j in [2..k by 3]];  // Bruno Berselli, May 03 2011
    
  • Maple
    A[0]:= 2:
    for n from 1 to 60 do A[n]:= ilcm(A[n-1],3*n+2) od:
    seq(A[n],n=0..60); # Robert Israel, Apr 10 2018
  • Mathematica
    Table[ Denominator[ Sum[1/i, {i, 2/3, n}]], {n, 1, 20}]
    Table[ Apply[ LCM, Join[{1}, Table[2 + 3i, {i, 0, n}]]], {n, 0, 19}]
  • PARI
    a(n) = lcm(vector(n+1, k, 3*k-1)); \\ Michel Marcus, Apr 10 2018
    

Extensions

Edited by Robert G. Wilson v, Aug 27 2002
Offset corrected by Robert Israel, Apr 10 2018
Showing 1-2 of 2 results.