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!)
A345106 a(n) = Sum_{k=1..n} k^(n - floor(n/k)). 2
1, 3, 14, 96, 971, 12015, 184286, 3283598, 67676125, 1572527901, 40843114146, 1170338862814, 36718016941445, 1251213685475261, 46033362584427670, 1818364700307111794, 76762441669319061911, 3448793841153099408185, 164309637864524321789042 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
G.f.: Sum_{k>=1} k^(k-1)*x^k * (1 - (k*x)^k)/((1 - k^(k-1)*x^k) * (1 - k*x)).
MATHEMATICA
a[n_] := Sum[k^(n - Floor[n/k]), {k, 1, n}]; Array[a, 20] (* Amiram Eldar, Jun 08 2021 *)
PROG
(PARI) a(n) = sum(k=1, n, k^(n-n\k));
(PARI) my(N=20, x='x+O('x^N)); Vec(sum(k=1, N, k^(k-1)*x^k*(1-(k*x)^k)/((1-k^(k-1)*x^k)*(1-k*x))))
CROSSREFS
Sequence in context: A295110 A136461 A336525 * A276747 A367383 A007470
KEYWORD
nonn
AUTHOR
Seiichi Manyama, Jun 08 2021
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 April 24 20:08 EDT 2024. Contains 371963 sequences. (Running on oeis4.)