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