OFFSET
1,1
COMMENTS
The identity (1250*n^2 + 100*n + 1)^2 - (25*n^2 + 2*n)*(250*n + 10)^2 = 1 can be written as A154375(n)^2 - A154377(n)*a(n)^2 = 1 (see also the second comment in A154375). - Vincenzo Librandi, Jan 30 2012
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..10000
Index entries for linear recurrences with constant coefficients, signature (2,-1).
FORMULA
a(n) = 2*a(n-1) - a(n-2). - Vincenzo Librandi, Jan 30 2012
G.f.: 10*x*(26 - x)/(1-x)^2. - Vincenzo Librandi, Jan 30 2012 [corrected by Georg Fischer, May 12 2019]
E.g.f.: 10*( (25*x + 1)*exp(x) - 1). - G. C. Greubel, Sep 15 2016
MATHEMATICA
LinearRecurrence[{2, -1}, {260, 510}, 50] (* Vincenzo Librandi, Jan 30 2012 *)
PROG
(PARI) a(n)=250*n+10 \\ Charles R Greathouse IV, Dec 27 2011
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Jan 08 2009
EXTENSIONS
Definition corrected by Paolo P. Lava, Jan 14 2009
STATUS
approved