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!)
A120286 Numerator of 1/n^2 + 2/(n-1)^2 + 3/(n-2)^2 +...+ (n-1)/2^2 + n. 2
1, 9, 65, 725, 3899, 28763, 419017, 864669, 7981633, 3586319, 200763407, 2649665993, 34899471137, 176508049513, 356606957297, 12234391348253, 209672027529221, 4012917216669239, 15350275129353301, 15443118015171841 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
p^2 divides a(p-1) for prime p>2. p divides a(p-2) for prime p>3.
LINKS
FORMULA
a(n) = numerator[Sum[Sum[1/i^2,{i,1,k}],{k,1,n}]].
MATHEMATICA
Numerator[Table[Sum[Sum[1/i^2, {i, 1, k}], {k, 1, n}], {n, 1, 30}]]
Table[-EulerGamma + HarmonicNumber[1 + n, 2] + n*HarmonicNumber[1 + n, 2] - PolyGamma[0, 2 + n], {n, 1, 20}] // Numerator (* Vaclav Kotesovec, May 02 2024 *)
PROG
(Python)
from fractions import Fraction
def A120286(n): return sum(Fraction(n-i+1, i**2) for i in range(1, n+1)).numerator # Chai Wah Wu, May 01 2024
CROSSREFS
Sequence in context: A339688 A100311 A259242 * A152581 A122733 A118465
KEYWORD
frac,nonn
AUTHOR
Alexander Adamchuk, Jul 07 2006
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 July 16 17:03 EDT 2024. Contains 374358 sequences. (Running on oeis4.)