login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A275861 a(n) = floor(c*s*a(n-1)) + floor(d*r*a(n-2)), where r = 2 + sqrt(5), s = r/(r-1), c = 4, d = 1, a(0) = 1, a(1) = 1. 6
1, 1, 9, 51, 305, 1813, 10784, 64144, 381543, 2269503, 13499513, 80298135, 477631347, 2841058559, 16899254596, 100520563016, 597918892325, 3556555903317, 21155193548465, 125835844069155, 748499871500621, 4452245397810113, 26482955892270832 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,3

LINKS

Clark Kimberling, Table of n, a(n) for n = 0..1000

Index entries for linear recurrences with constant coefficients, signature (7,-7,5,-3,-3,3,-1).

FORMULA

a(n) = floor(c*s*a(n-1)) + floor(d*r*a(n-2)), where r = 2 + sqrt(5), s = r/(r-1), c = 4, d = 1, a(0) = 1, a(1) = 1.

G.f.: (1 -6*x +9*x^2 -10*x^3 +9*x^4 -4*x^5)/(1 -7*x +7*x^2 -5*x^3 +3*x^4 +3*x^5 -3*x^6 +x^7).

MATHEMATICA

c = 4; d = 1; z = 40;

r = (c + Sqrt[c^2 + 4 d])/2; s = r/(r - 1); a[0] = 1; a[1] = 1;

a[n_] := a[n] = Floor[c*s*a[n - 1]] + Floor[d*r*a[n - 2]];

t = Table[a[n], {n, 0, z}]

CoefficientList[Series[(1-6*x+9*x^2-10*x^3+9*x^4-4*x^5)/(1-7*x+7*x^2 -5*x^3+3*x^4+3*x^5-3*x^6+x^7), {x, 0, 50}], x] (* G. C. Greubel, Feb 08 2018 *)

LinearRecurrence[{7, -7, 5, -3, -3, 3, -1}, {1, 1, 9, 51, 305, 1813, 10784}, 40] (* Harvey P. Dale, Dec 21 2018 *)

PROG

(PARI) x='x+O('x^30); Vec((1-6*x+9*x^2-10*x^3+9*x^4-4*x^5)/(1-7*x+7*x^2 -5*x^3+3*x^4+3*x^5-3*x^6+x^7)) \\ G. C. Greubel, Feb 08 2018

(MAGMA) Q:=Rationals(); R<x>:=PowerSeriesRing(Q, 40); Coefficients(R!((1-6*x+9*x^2-10*x^3+9*x^4-4*x^5)/(1-7*x+7*x^2 -5*x^3+3*x^4+ 3*x^5- 3*x^6+x^7))) // G. C. Greubel, Feb 08 2018

CROSSREFS

Cf. A275856, A275857, A275858, A275859, A275860.

Sequence in context: A027218 A155617 A126477 * A210054 A272393 A231748

Adjacent sequences:  A275858 A275859 A275860 * A275862 A275863 A275864

KEYWORD

nonn,easy

AUTHOR

Clark Kimberling, Aug 12 2016

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 28 08:33 EDT 2020. Contains 337394 sequences. (Running on oeis4.)