A322108 Distance of n-th iteration in an alternating rectangular spiral.
1, 3, 7, 15, 29, 50, 79, 118, 169, 233, 311, 405, 517, 648, 799, 972, 1169, 1391, 1639, 1915, 2221, 2558, 2927, 3330, 3769, 4245, 4759, 5313, 5909, 6548, 7231, 7960, 8737, 9563, 10439, 11367, 12349, 13386, 14479
Offset: 1
Keywords
Links
- Drew Edgette, Picture of Alternating Rectangular Spiral
Formula
Conjectures from Colin Barker, Feb 13 2019: (Start)
G.f.: x*(1 - x + 2*x^2 + x^4) / ((1 - x)^4*(1 + x^2)).
a(n) = (2 - (-i)^n - i^n + 6*n - 2*n^2 + 2*n^3) / 8 where i=sqrt(-1).
(End)
Comments