OFFSET
1,1
COMMENTS
This is the case n = 2 of the parametric family A_{3k}(n) = 3*n^k*(n^k - 1)^2, which counts axis-aligned 2 X 2 squares in the 3D (orthogonal) projection of a d-dimensional hypercube with d = 3k. Thus a(n) = 3*2^n*(2^n - 1)^2 is the number of 2 X 2 tiles in the 3D projection of the 6, 9, 12, ...-dimensional hypercubes (side 2).
LINKS
Salvatore Ferraro, Counting axis-aligned 2X2 tiles in the 3D projection of hypercubes (short note), Zenodo, 2025.
Index entries for linear recurrences with constant coefficients, signature (14,-56,64).
FORMULA
a(n) = 3*2^n*(2^n - 1)^2 = 3*2^(3*n) - 6*2^(2*n) + 3*2^n.
a(n) = A270205(2^n).
From Elmo R. Oliveira, Mar 20 2026: (Start)
G.f.: -6*x*(4*x + 1)/((2*x - 1)*(4*x - 1)*(8*x - 1)).
E.g.f.: 3*exp(2*x)*(1 - 2*exp(2*x) + exp(6*x)).
a(n) = 14*a(n-1) - 56*a(n-2) + 64*a(n-3) for n > 3. (End)
MAPLE
a := n -> 3*2^n*(2^n - 1)^2:
[seq(a(n), n=1..40)];
MATHEMATICA
a[n_] := 3*2^n*(2^n - 1)^2;
Array[a, 40]
PROG
(Python)
def a(n):
return 3 * (2**n) * ((2**n) - 1)**2
print([a(n) for n in range(1, 41)])
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Salvatore Ferraro, Sep 15 2025
STATUS
approved
