The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A187487 Numerator of n minus n-th harmonic number. 1
0, 1, 7, 23, 163, 71, 617, 1479, 15551, 17819, 221209, 246619, 3538687, 3873307, 4209643, 9094961, 166145857, 59239139, 1199057081, 254554945, 89778475, 94716499, 2292289173, 7218943253, 189040347533 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
LINKS
FORMULA
a(n) = n - Sum_{i = 1..n} 1/i.
a(n) = Sum_{i = 2..n} (i - 1)/i.
MAPLE
f:=n -> numer(n - harmonic(n)):map(f, [$1..100]); # Robert Israel, Apr 26 2021
MATHEMATICA
Numerator[Table[n - HarmonicNumber[n], {n, 25}]]
PROG
(PARI) a(n) = numerator(n - sum(i=1, n, 1/i)); \\ Michel Marcus, Apr 26 2021
CROSSREFS
Denominators are in A002805.
Cf. A001008 (numerators of the harmonic numbers). Adding this sequence to that sequence gives A102928.
Sequence in context: A158954 A056205 A099051 * A299643 A034192 A050918
KEYWORD
nonn,frac,easy
AUTHOR
Alonso del Arte, Mar 10 2011
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 15 12:24 EDT 2024. Contains 372540 sequences. (Running on oeis4.)