Metadata
bibkey: barker2020a096222
authors: Colin Barker; Bill Liebeskind
year: 2020
title: "OEIS A096222: rectangles in an alternately folded grid"
doi: null
url: https://oeis.org/A096222/internal?rev=13
claim: "Barker's joint generating function and recurrence conjectures for the literal rectangle-placement count."
strata_touched:
- D5/S3/Combinatorics/Geometry/FoldedGridRectangleSeries
license: citation-only
triage: anchor
Rectangles in an alternately folded grid
Verified locator
https://oeis.org/A096222/internal?rev=13
OEIS revision 13, FORMULA, the entire Colin Barker conjecture block:
Conjectures from _Colin Barker_, Feb 04 2020: (Start)
G.f.: (1 - 3*x - 9*x^2 + 24*x^3) / ((1 - 2*x)*(1 - 4*x)*(1 - 8*x^2)).
a(n) = 6*a(n-1) - 48*a(n-3) + 64*a(n-4) for n>3.
(End)
The COMMENTS sentence fixes the object: “In this sequence we count the rectangles
in an a X b array of squares, where a=2^floor(n/2) and b=2^ceiling(n/2).”
The entry was submitted by Bill Liebeskind. Its existing FORMULA already gives
a(n) = a b (a+1) (b+1)/4 with these same sides; that count formula is prior work.
Mathematical correspondence
The Lean count is the cardinality of pairs of natural endpoint pairs, with
x0 < x1 <= 2^(n/2) and y0 < y1 <= 2^((n+1)/2). Natural coordinates provide
nonnegativity. Choosing grid-line intervals is a bijective description of a
rectangle’s location, width and height; distinct endpoints give distinct placements.
Natural division by two implements the floor, and (n+1)/2 the ceiling.
PowerSeries.mk uses all natural coefficients, starting at n=0. Signed
subtraction in the recurrence takes place after casting counts to the integers.
The denominator has constant coefficient one, giving its formal-series inverse.
Existing formulas and implementations
- Georg Fischer’s jOEIS A096222.java
implements the conjectural generating function through numerator
[1,-3,-9,24]and denominator[1,-6,0,48,-64], and retains theConjecturalmarker. - Geoff’s LODA term program gives the prior floor/parity closed formula and a straight-line generator.
- gfis/OEIS-mat lists this sequence in its recurrence manifest.
- Sidney Cadot’s recurrence catalog
records initial values
[1,3,9,30]and coefficients[64,-48,0,6].
These bodies supply formulas and generators, without an all-index proof linking the endpoint-placement count to both conjectures. The formal module proves that link using Mathlib’s ordered-pair count, binomial cast and formal-series inverse lemmas. This attribution does not assert worldwide priority or an exhaustive literature search.