OFFSET
0,2
COMMENTS
Bisection of A193867. - Omar E. Pol, Aug 16 2011
Sequence found by reading the line from 1, in the direction 1, 11, ..., in the square spiral whose vertices are the triangular numbers A000217. - Omar E. Pol, Sep 04 2011
LINKS
FORMULA
Second differences: a(n) - 2*a(n-1) + a(n-2) = 16.
a(n) = 3*a(n-1) - 3*a(n-2) + a(n-3).
From R. J. Mathar, Apr 06 2011: (Start)
G.f.: -(1+x)*(7*x+1)/(x-1)^3.
a(n) = A084849(2*n). (End)
E.g.f.: exp(x)*(1 + 10*x + 8*x^2). - Elmo R. Oliveira, Oct 19 2024
PROG
(Magma) [1 + 2*n + 8*n^2: n in [0..50]]; // Vincenzo Librandi, Mar 30 2011
(PARI) a(n)=8*n^2+2*n+1 \\ Charles R Greathouse IV, Oct 07 2015
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Paul Curtz, Mar 30 2011
EXTENSIONS
a(41)-a(47) from Elmo R. Oliveira, Oct 19 2024
STATUS
approved