← Complete problem index

PROJECT EULER · #0324

Building a Tower

Statement only · UnsolvedOriginal problem ↗

Let f(n) represent the number of ways one can fill a 3×3×n tower with blocks of 2×1×1.
You're allowed to rotate the blocks in any way you like; however, rotations, reflections etc of the tower itself are counted as distinct.

For example (with q=100000007):
f(2)=229,
f(4)=117805,
f(10)modq=96149360,
f(103)modq=24806056,
f(106)modq=30808124.

Find f(1010000)mod100000007.

Write-up coming later

The complete problem is available here. An approach, code, and answer will be added later.