%I #51 Sep 23 2021 11:18:00
%S 0,1,3,8,14,26,39,59,83,115,148,197,247,307,376,460,545,651,758,887,
%T 1027,1181,1336,1527,1724,1937,2163,2417,2672,2969,3267,3596,3940,
%U 4304,4681,5113,5546,6001,6473,6995,7518,8095,8673,9291,9942,10619,11297,12051
%N Let M be the matrix defined in A111490. Sequence gives M(2,1)-M(1,2), M(2,1)+M(3,1)+M(3,2)-M(1,2)-M(1,3)-M(2,3), etc.
%C From _Omar E. Pol_, Jan 20 2021: (Start)
%C Conjectures:
%C 1. Convolution of A001065 and A000027.
%C 2. Partial sums of A153485.
%C 3. a(n) is also the difference of volume (the difference of number of cells) between two polycubes: the stepped pyramid described in A245092 which has volume A175254(n) and the stepped pyramid that represents the n-th tetrahedral number which has volume A000292(n).
%C In the three conjectures assuming that here the offset is 1.
%C For more information about the first pyramid see A237593. (End)
%H Ray Chandler, <a href="/A123329/b123329.txt">Table of n, a(n) for n = 0..10000</a> (corrected original b-file from Michael S. Branicky missing two terms at request of Christian Krause)
%F a(n) = binomial(n+2,3) - A072481(n+1). - _Robert Israel_, Aug 13 2015
%F a(n) = A175254(n+1) - A000292(n+1), conjectured by _Omar E. Pol_, Jan 20 2021
%F a(n) = Sum_{i=2..(n+2)} Sum_{j=1..i-1} (M(i,j)-M(j,i)). - _Michael S. Branicky_, Jan 20 2021
%p b:= proc(n) option remember; `if`(n=0, [0$2], (p-> p
%p +[numtheory[sigma](n)-n$2]+[0, p[1]])(b(n-1)))
%p end:
%p a:= n-> b(n+1)[2]:
%p seq(a(n), n=0..50); # _Alois P. Heinz_, Jan 21 2021
%t b[n_] := b[n] = If[n == 0, {0, 0}, With[{p = b[n-1]}, p +
%t DivisorSigma[1, n] - n + {0, p[[1]]}]];
%t a[n_] := b[n+1][[2]];
%t Table[a[n], {n, 0, 50}] (* _Jean-François Alcover_, Jul 10 2021, after _Alois P. Heinz_ *)
%o (Python)
%o def M(n,k): return 1 + (k-1)%n
%o def a(n):
%o return sum(M(i,j)-M(j,i) for i in range(2, n+3) for j in range(1, i))
%o print([a(n) for n in range(48)]) # _Michael S. Branicky_, Jan 20 2021
%Y Cf. A072481, A111490.
%Y Cf. also A000027, A000292, A001065, A153485, A175254, A237593, A245092.
%K nonn
%O 0,3
%A _Paolo P. Lava_ and _Giorgio Balzarotti_, Oct 06 2006
%E a(14) and beyond from _Michael S. Branicky_, Jan 20 2021