OFFSET
1,1
COMMENTS
This generalizes the 2-dimensional version which is A078633.
EXAMPLE
a(2)=20 because 12 unit segments are required to construct each cube but 4 units are shared. I.e., a(2)=12+8=20.
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Ron R. King, Apr 22 2006
STATUS
approved