OFFSET
0,2
COMMENTS
Section 8.3 of the "Cutting a Pancake" paper shows that nthis sequence arises both from cutting up a pancake with an H-shaped cookie-cutter and a phi-shaped cookie-cutter. - N. J. A. Sloane, Dec 27 2025
LINKS
David O. H. Cutler, Jonas Karlsson, and Neil J. A. Sloane, Cutting a Pancake with an Exotic Knife, arXiv:2511.15864[math.CO], v3, April 19 2026.
Derek Kinsella, Plane division by lines and circles. [Wayback Machine link]
Index entries for linear recurrences with constant coefficients, signature (3,-3,1).
FORMULA
A007318 * [1, 3, 7, 0, 0, 0, ...].
O.g.f.: (1 + x + 5x^2)/(1-x)^3. - R. J. Mathar, May 06 2008
a(n) = 7*n^2/2 - n/2 + 1 = 3*a(n-1) - 3*a(n-2) + a(n-3). - R. J. Mathar, Dec 08 2025
a(n) = a(n-1) + 7*n - 4 (with a(0)=1). - Vincenzo Librandi, Nov 24 2010, 2025
a(n) = A022264(n) + 1. - Hugo Pfoertner, Dec 08 2025
EXAMPLE
a(4) = 31 = (1, 3, 3, 1) dot (1, 3, 7, 0) = (1 + 9 + 21 + 0).
MATHEMATICA
s = 1; lst = {s}; Do[s += n + 2; AppendTo[lst, s], {n, 1, 265, 7}]; lst (* Zerinvary Lajos, Jul 11 2009 *)
PROG
(PARI) a(n)=n*(7*n-1)/2+1 \\ Charles R Greathouse IV, Jun 17 2017, 2025
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Gary W. Adamson, May 03 2008
EXTENSIONS
Offset set to 0; formulas adjusted - R. J. Mathar, Dec 08 2025
STATUS
approved
