login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A066508 a(n) = floor(Sum_{i=1..n} (1/i)^(1/i)). 1
1, 1, 2, 3, 3, 4, 5, 6, 6, 7, 8, 9, 10, 10, 11, 12, 13, 14, 15, 16, 16, 17, 18, 19, 20, 21, 22, 23, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 57, 58, 59, 60, 61, 62, 63, 64 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,3

COMMENTS

a(n) = floor(Sum_{i=1..n} (1/i)^(1/i)) = floor(Sum_{i=1..n} i^(-1/i)).

LINKS

Harry J. Smith, Table of n, a(n) for n = 1..1000

FORMULA

a(n) = n - log(n)^2/2 + O(1) as n -> infinity. - Robert Israel, Jan 05 2016

EXAMPLE

For a(5), 1^1 + (1/2)^(1/2) + (1/3)^(1/3) + (1/4)^(1/4) + (1/5)^(1/5) ~= 3.8323545. Therefore a(5) = 3.

MAPLE

A066508:=n->floor(add((1/i)^(1/i), i=1..n)): seq(A066508(n), n=1..100); # Wesley Ivan Hurt, Jan 03 2016

MATHEMATICA

Table[ Floor[ Sum[ (1/i)^(1/i), {i, n} ]], {n, 75} ]

PROG

(PARI) { s=0; for (n=1, 1000, s+=(1/n)^(1/n); write("b066508.txt", n, " ", floor(s)) ) } \\ Harry J. Smith, Feb 19 2010

(PARI) a(n) = floor(sum(i=1, n, (1/i)^(1/i))); \\ Michel Marcus, Jan 04 2016

CROSSREFS

Cf. A001008, A002805, A067054.

Sequence in context: A214449 A118168 A083920 * A319413 A307727 A309081

Adjacent sequences:  A066505 A066506 A066507 * A066509 A066510 A066511

KEYWORD

nonn,easy

AUTHOR

Robert G. Wilson v, Jan 04 2002

EXTENSIONS

Example corrected by Harry J. Smith, Feb 19 2010

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
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified February 24 00:38 EST 2020. Contains 332195 sequences. (Running on oeis4.)