OFFSET
0,1
COMMENTS
The sequence (the first in the family) is present as a family of single interleaved sequence of which are separated or factored out of the larger sequence to give individual sequences. The larger sequence produces four smaller interleaved sequences where one of them has the formula above and a second interleaved sequences having the formulas (16n^2-24n+1) and (16n^2-6n+5). This interleaved sequence is A214393. The fourth interleaved sequence in the group has the formulas (16n^2-8n-7) and (16n^2+2n+5) and it is A214405. There are a total of four sequences in this family.
LINKS
Eddie Gutierrez New Interleaved Sequences Part C on oddwheel.com, Section B1 Line No. 23 (square_sequencesIII.html) Part C
Index entries for linear recurrences with constant coefficients, signature (2,0,-2,1).
FORMULA
G.f.: 8*(1-x-3*x^2+5*x^3)/((1+x)*(1-x)^3). [Bruno Berselli, Sep 30 2012]
a(n) = 2*(2*n*(n-4)-3*(-1)^n+7). [Bruno Berselli, Sep 30 2012]
MATHEMATICA
Flatten[Table[{16 n^2 - 32 n + 8, 16 n^2 - 16 n + 8}, {n, 0, 23}]] (* Bruno Berselli, Sep 30 2012 *)
PROG
(Magma) &cat[[16*k^2-32*k+8, 16*k^2-16*k+8]: k in [0..23]]; // Bruno Berselli, Oct 01 2012
(PARI) vector(47, n, k=(n-1)\2; if(n%2, 16*k^2-32*k+8, 16*k^2-16*k+8)) \\ Bruno Berselli, Oct 01 2012
CROSSREFS
KEYWORD
sign,easy
AUTHOR
Eddie Gutierrez, Sep 18 2012
EXTENSIONS
Definition rewritten by Bruno Berselli, Oct 25 2012
STATUS
approved