login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A085487 a(n) = p^n + q^n, p = (1 + sqrt(21))/2, q = (1 - sqrt(21))/2. 1
1, 11, 16, 71, 151, 506, 1261, 3791, 10096, 29051, 79531, 224786, 622441, 1746371, 4858576, 13590431, 37883311, 105835466, 295252021, 824429351, 2300689456, 6422836211, 17926283491, 50040464546, 139671882001, 389874204731, 1088233614736 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
p + q = 1, p*q = -5, p - q = sqrt(21).
The Lucas sequence V(1,-5) apart from the initial term a(0) = 2. - Peter Bala, Jun 23 2015
REFERENCES
Thomas Koshy, "Fibonacci and Lucas Numbers with Applications", Wiley, 2001, p. 471.
LINKS
Wikipedia, Lucas sequence
FORMULA
G.f.: (10*x^2+x)/(1-x-5*x^2).
a(n) = n*sum(k=1..n, (C(k,n-k)*1^(2*k-n)*(5)^(n-k))/k). - Dmitry Kruchinin, May 16 2011
a(n) = a(n-1) + 5a(n-2), n>1.
a(n) = [x^n] ( (1 + x + sqrt(1 + 2*x + 21*x^2))/2 )^n. - Peter Bala, Jun 23 2015
EXAMPLE
a(5) = 151 = p^5 + q^5, with p = 2.79128...; q = -1.79128...
MATHEMATICA
CoefficientList[Series[(10 x + 1) / (1 - x - 5 x^2), {x, 0, 40}], x] (* Vincenzo Librandi, Jul 20 2013 *)
PROG
(Sage) [lucas_number2(n, 1, -5) for n in range(1, 11)] # Zerinvary Lajos, May 14 2009
(Maxima) a(n):=n*sum((binomial(k, n-k)*1^(2*k-n)*(5)^(n-k))/k, k, 1, n) /* Dmitry Kruchinin, May 16 2011 */
(Magma) I:=[ 1, 11]; [n le 2 select I[n] else Self(n-1)+5*Self(n-2): n in [1..40]]; // Vincenzo Librandi, Jul 20 2013
CROSSREFS
Cf. A015440.
Sequence in context: A032221 A032146 A032051 * A258288 A166663 A032327
KEYWORD
nonn,easy
AUTHOR
Gary W. Adamson, Jul 02 2003
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 20:08 EDT 2024. Contains 371963 sequences. (Running on oeis4.)