OFFSET
1,2
COMMENTS
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..10000
Index entries for linear recurrences with constant coefficients, signature (3,-3,1).
FORMULA
a(n) = 20*n^2 - 20*n + 1.
Sum_{n>=1} 1/a(n) = Pi*tan(Pi/sqrt(5))/(8*sqrt(5)). - Amiram Eldar, Feb 11 2022
G.f.: -x*(1+38*x+x^2)/(x-1)^3. - R. J. Mathar, May 07 2024
From Elmo R. Oliveira, Nov 15 2024: (Start)
E.g.f.: exp(x)*(20*x^2 + 1) - 1.
a(n) = 2*A069133(n) - 1.
a(n) = 3*a(n-1) - 3*a(n-2) + a(n-3) for n > 3. (End)
MATHEMATICA
Table[20*n^2 - 20*n + 1, {n, 1, 40}] (* Amiram Eldar, Feb 11 2022 *)
PROG
(Magma) [20*n^2 - 20*n + 1: n in [1..50]]; // Vincenzo Librandi, Sep 21 2011
(PARI) a(n)=20*n^2-20*n+1 \\ Charles R Greathouse IV, Jun 17 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Omar E. Pol, Sep 16 2011
STATUS
approved