OFFSET
0,1
COMMENTS
Subsequence of A034836, which gives the number of cuboids for volume n.
FORMULA
Empirical g.f.: -(x^3+3*x^2+3*x+3)/((x+1)*(x^2+x+1)*(x-1)^3). - Colin Barker, Mar 28 2014
If 3|n, then a(n) = (5*(n+2)*(n+1)+2)/6 + floor(n/2) + 1. Otherwise a(n) = (5*(n+2)*(n+1))/6 + floor(n/2) + 1. - Chai Wah Wu, May 28 2026
PROG
(Python)
def A101423(n): return (5*(n+2)*(n+1)+(0 if n%3 else 2))//6+(n>>1)+1 # Chai Wah Wu, May 28 2026
CROSSREFS
KEYWORD
nonn,changed
AUTHOR
Anthony C Robin, Jan 17 2005
EXTENSIONS
Corrected, edited and extended by Ray Chandler, Dec 19 2008
a(0)=3 prepended and g.f. edited by Alois P. Heinz, Oct 05 2016
STATUS
approved
