login
This site is supported by donations to The OEIS Foundation.

 

Logo

The OEIS is looking to hire part-time people to help edit core sequences, upload scanned documents, process citations, fix broken links, etc. - Neil Sloane, njasloane@gmail.com

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A256502 Largest integer not exceeding the harmonic mean of the first n squares. 3
1, 1, 2, 2, 3, 4, 4, 5, 5, 6, 7, 7, 8, 8, 9, 10, 10, 11, 11, 12, 13, 13, 14, 14, 15, 16, 16, 17, 18, 18, 19, 19, 20, 21, 21, 22, 22, 23, 24, 24, 25, 25, 26, 27, 27, 28, 28, 29, 30, 30, 31, 31, 32, 33, 33, 34, 35, 35, 36, 36, 37, 38, 38, 39, 39, 40, 41, 41 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,3

COMMENTS

Least k such that 1/k <= mean of {1, 1/2^2, 1/3^2,..., 1/n^2}.

LINKS

Stanislav Sykora, Table of n, a(n) for n = 1..1000

FORMULA

a(n) = floor(n/{sum{1/k^2, k = 1..n}).

Approaches asymptotically n/zeta(2), zeta being the Riemann function.

For any e > 0 and large enough n, n/zeta(2) + 36/Pi^4 - 1 < a(n) < n/zeta(2) + 36/Pi^4 + e. (Possibly this holds even with e = 0 for n > 29.) - Charles R Greathouse IV, Apr 08 2015

PROG

(PARI) \\ Using only precision-independent integer operations:

a(n)=(n*n!^2)\sum(k=1, n, (n!\k)^2)

CROSSREFS

Cf. A226762.

Sequence in context: A074840 A064542 A210434 * A076935 A019446 A097369

Adjacent sequences:  A256499 A256500 A256501 * A256503 A256504 A256505

KEYWORD

nonn

AUTHOR

Stanislav Sykora, Apr 08 2015

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy .

Last modified May 26 03:16 EDT 2017. Contains 287073 sequences.