login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

A038125
a(n) = Sum_{k=0..n} (k-n)^k.
8
1, 1, 0, 0, 1, -1, 0, 6, -19, 29, 48, -524, 2057, -3901, -9632, 129034, -664363, 1837905, 2388688, -67004696, 478198545, -1994889945, 1669470784, 56929813934, -615188040195, 3794477505573, -12028579019536, -50780206473220
OFFSET
0,8
LINKS
FORMULA
G.f.: 1+ sum(k>=0, x^(k+1)/(1+x^(k+1)) ) = 1/Q(0), where Q(k) = 1 - x + x^2*(k+1)/(1 + (k+1)*x/Q(k+1) ); (continued fraction). - Sergei N. Gladkovskii, Jan 10 2014
EXAMPLE
0^0 = 1,
1^0 - 0^1 = 1,
2^0 - 1^1 + 0^2 = 0,
3^0 - 2^1 + 1^2 - 0^3 = 0,
...
MATHEMATICA
Prepend[ Table[ Sum[ (k-n)^k, {k, 0, n} ], {n, 30} ], 1 ]
PROG
(PARI) my(N=40, x='x+O('x^N)); Vec(sum(k=0, N, x^k/(1+k*x))) \\ Seiichi Manyama, Dec 02 2021
(PARI) a(n) = sum(k=0, n, (k-n)^k); \\ Michel Marcus, Dec 03 2021
CROSSREFS
KEYWORD
sign,easy
AUTHOR
Jim Ferry (jferry(AT)alum.mit.edu)
STATUS
approved

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy