OFFSET
0,3
COMMENTS
The first entry is considered to be indexed by zero. For example, the third difference A072380 starts with -1,1 and continues alternating in sign till the 24th entry, from which point it is positive.
Using a different (backward) definition of the difference operator, this sequence has also been given as 1, 8, 26, 68, 134, 228, 352, ... A155861.
LINKS
Jean-François Alcover, Table of n, a(n) for n = 0..60
Gert Almkvist, On the differences of the partition function, Acta Arith., 61.2 (1992), 173-181.
I. J. Good, Problem 6137, American Mathematical Monthly, 1978, pages 830-831.
Hansraj Gupta, Finite Differences of the Partition Function, Math. Comp. 32 (1978), 1241-1243.
A. M. Odlyzko, Differences of the partition function, Acta Arithmetica 49.3 (1988): 237-254.
Eric Weisstein's World of Mathematics, Forward Difference.
FORMULA
Odlyzko gives an asymptotic formula a(n)~(6/(Pi)^2) * (n log n)^2
MAPLE
with(combinat): DD:= proc(p) proc(n) option remember; p(n+1) -p(n) end end: a:= proc(n) option remember; local f, k; if n=0 then 0 else f:= (DD@@n)(numbpart); for k from a(n-1) while not (f(k)>0 and f(k+1)>0) do od; k fi end: seq(a(n), n=0..20); # Alois P. Heinz, Jul 20 2009
MATHEMATICA
a[n_] := a[n] = Module[{f}, f[i_] = DifferenceDelta[PartitionsP[i], {i, n}]; For[j = 2, True, j++, If[f[j] > 0 && f[j+1] > 0, Return[j]]]];
a[0] = 0; a[1] = 1;
Table[Print[n, " ", a[n]]; a[n], {n, 0, 60}] (* Jean-François Alcover, Dec 04 2020 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Moshe Shmuel Newman, Jun 11 2006
EXTENSIONS
a(11)-a(41) from Alois P. Heinz, Jul 20 2009
STATUS
approved