OFFSET
1,3
COMMENTS
a(n) is also the maximal number of kisses between n cubes to form a polycube. The surface area of such polycubes are A193416. - Mohammed Yaseen, Aug 08 2021
LINKS
Martin Y. Veillette, Table of n, a(n) for n = 1..500
G. Agnarsson, On the number of hypercubic bipartitions of an integer, arXiv preprint arXiv:1106.4997 [math.CO], 2011.
G. Agnarsson, Induced subgraphs of hypercubes, arXiv preprint arXiv:1112.3015 [math.CO], 2011.
G. Agnarsson and K. Lauria, Extremal subgraphs of the d-dimensional grid graph, arXiv preprint arXiv:1302.6517 [math.CO], 2013.
FORMULA
a(n) = 3*n - A193416(n)/2. - Mohammed Yaseen, Aug 08 2021
MATHEMATICA
qmax = 2000; sequence =
FoldList[Plus, 0, q = Table[3, {qmax}];
q[[Flatten[
Table[Table[{j^3 + i (i - 1), j^3 + i^2, j^2 (j + 1) + i (i + 1),
j^2 (j + 1) + i^2, (j + 1)^2 j + i (i + 1), (j + 1)^2 j +
i^2}, {i, 1, j}], {j, 0, (qmax)^(1/3) - 1}]]]]--;
q[[Flatten[
Table[{j^3, j^2 (j + 1), (j + 1)^2 j}, {j,
1, (qmax)^(1/3) - 1}]]]]--; q] (* Martin Y. Veillette, Jul 19 2011 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
D. Heuer (heuer(AT)isnd23.in2p3.fr)
STATUS
approved