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!)
A157878 Expansion of x*(1+x)/(x^2-30*x+1). 4
1, 31, 929, 27839, 834241, 24999391, 749147489, 22449425279, 672733610881, 20159558901151, 604114033423649, 18103261443808319, 542493729280825921, 16256708616980969311, 487158764780148253409, 14598506234787466632959, 437468028278843850735361 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
This sequence is part of a solution of a more general problem involving 2 equations, three sequences a(n), b(n), c(n) and a constant A:
A * c(n)+1 = a(n)^2,
(A+1) * c(n)+1 = b(n)^2, for details see comment in A157014.
this is the b(n) sequence for A=7.
LINKS
FORMULA
G.f.: x*(1+x)/(x^2-30*x+1).
a(1) = 1, a(2) = 31, a(n) = 30*a(n-1)-a(n-2) for n>2.
a(n) = ((15-4*sqrt(14))^(n-1)*(7-2*sqrt(14))+(7+2*sqrt(14))*(15+4*sqrt(14))^(n-1))/14. - Gerry Martens, Jul 09 2015
MAPLE
f:= gfun:-rectoproc({a(1) = 1, a(2) = 31, a(n) = 30*a(n-1)-a(n-2)}, a(n), remember):
map(f, [$1..30]); # Robert Israel, Jul 09 2015
MATHEMATICA
CoefficientList[Series[x*(1 + x)/(x^2 - 30 x + 1), {x, 0, 17}], x] (* Michael De Vlieger, Jul 09 2015 *)
LinearRecurrence[{30, -1}, {1, 31}, 20] (* Harvey P. Dale, Sep 05 2021 *)
PROG
(PARI) Vec((1+x)/(x^2-30*x+1)+O(x^99)) \\ Charles R Greathouse IV, Sep 25 2012
CROSSREFS
7*A157879(n)+1 = A157877(n)^2.
8*A157879(n)+1 = A157878(n)^2.
Sequence in context: A180847 A202977 A213467 * A162835 A163214 A163564
KEYWORD
nonn,easy
AUTHOR
Paul Weisenhorn, Mar 08 2009
EXTENSIONS
Edited by Alois P. Heinz, Sep 09 2011
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 23 22:36 EDT 2024. Contains 371917 sequences. (Running on oeis4.)