cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A363698 a(n) = n! * Sum_{d|n} (-1)^(d+1) * (n/d)^n / d!.

This page as a plain text file.
%I A363698 #22 Jul 03 2023 00:53:18
%S A363698 1,7,163,5951,375001,33337559,4150656721,675135713279,140588337476161,
%T A363698 36270281280965759,11388728893445164801,4270306368140557557119,
%U A363698 1886009588552176549862401,968696203690612910273080319
%N A363698 a(n) = n! * Sum_{d|n} (-1)^(d+1) * (n/d)^n / d!.
%H A363698 Seiichi Manyama, <a href="/A363698/b363698.txt">Table of n, a(n) for n = 1..232</a>
%F A363698 E.g.f.: Sum_{k>0} (1 - exp(-(k * x)^k)).
%F A363698 If p is prime, a(p) = (-1)^(p+1) + p^p * p!.
%t A363698 a[n_] := n! * DivisorSum[n, (-1)^(#+1) * (n/#)^n / #! &]; Array[a, 15] (* _Amiram Eldar_, Jul 03 2023 *)
%o A363698 (PARI) a(n) = n!*sumdiv(n, d, (-1)^(d+1)*(n/d)^n/d!);
%Y A363698 Cf. A132958, A363697.
%Y A363698 Cf. A354892.
%K A363698 nonn
%O A363698 1,2
%A A363698 _Seiichi Manyama_, Jun 16 2023