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.

A002744 Sum of logarithmic numbers.

This page as a plain text file.
%I A002744 M4682 N2001 #35 May 13 2020 07:03:37
%S A002744 1,0,1,10,-17,406,-1437,20476,-44907,1068404,-5112483,230851094,
%T A002744 -1942311373,31916614874,-27260241361,3826126294680,-37957167335671,
%U A002744 2169009251237640,-25847377785179111,858747698098918338,-5611513985867158697,154094365406716365118
%N A002744 Sum of logarithmic numbers.
%D A002744 J. M. Gandhi, On logarithmic numbers, Math. Student, 31 (1963), 73-83.
%D A002744 N. J. A. Sloane, A Handbook of Integer Sequences, Academic Press, 1973 (includes this sequence).
%D A002744 N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
%H A002744 Amiram Eldar, <a href="/A002744/b002744.txt">Table of n, a(n) for n = 1..451</a>
%H A002744 J. M. Gandhi, <a href="/A002741/a002741.pdf">On logarithmic numbers</a>, Math. Student, 31 (1963), 73-83. [Annotated scanned copy]
%H A002744 J. M. Gandhi, <a href="https://doi.org/10.1080/00029890.1966.11970871">Logarithmic Numbers and the Functions d(n) and sigma(n)</a>, The American Mathematical Monthly, Vol. 73, No. 9 (1966), pp. 959-964, <a href="https://www.jstor.org/stable/2314495">alternative link</a>.
%H A002744 <a href="/index/Lo#logarithmic">Index entries for sequences related to logarithmic numbers</a>
%F A002744 a(n) = Sum_{k=1..n} (-1)^(n-k)*A000005(k)*(k-1)!*binomial(n, k). - _Vladeta Jovovic_, Feb 09 2003
%F A002744 E.g.f.: -exp(-x) * log(Product_{k>=1} (1 - x^k)^(1/k)). - _Ilya Gutkovskiy_, Dec 11 2019
%F A002744 a(p) == -2 (mod p) for prime p. The pseudoprimes of this congruence are 4, 6, 20, 42, 1806, ... - _Amiram Eldar_, May 13 2020
%t A002744 a[n_] := n! * Sum[(-1)^k * DivisorSigma[0, n - k]/k!/(n - k), {k, 0, n - 1}]; Array[a, 22] (* _Amiram Eldar_, May 13 2020 *)
%o A002744 (PARI) a(n) = sum(k=1, n, (-1)^(n-k)*numdiv(k)*(k-1)!*binomial(n, k)); \\ _Michel Marcus_, May 13 2020
%Y A002744 Cf. A000005, A002746, A318249.
%K A002744 sign
%O A002744 1,4
%A A002744 _N. J. A. Sloane_
%E A002744 Corrected and extended by _Jeffrey Shallit_
%E A002744 More terms from _Vladeta Jovovic_, Feb 09 2003