|
|
A078922
|
|
a(n) = 11*a(n-1) - a(n-2) with a(1)=1, a(2) = 10.
|
|
13
|
|
|
1, 10, 109, 1189, 12970, 141481, 1543321, 16835050, 183642229, 2003229469, 21851881930, 238367471761, 2600190307441, 28363725910090, 309400794703549, 3375045015828949, 36816094379414890, 401601993157734841
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
All positive integer solutions of Pell equation (3*b(n))^2 - 13*a(n)^2 = -4 together with b(n)=A097783(n-1), n >= 1.
Number of 01-avoiding words of length n on alphabet {0,1,2,3,4,5,6,7,8,9, A} which do not end in 0. - Tanya Khovanova, Jan 10 2007
|
|
REFERENCES
|
R. C. Alperin, A family of nonlinear recurrences and their linear solutions, Fib. Q., 57:4 (2019), 318-321.
|
|
LINKS
|
|
|
FORMULA
|
a(1)=1, a(2)=10 and for n > 2, a(n) = ceiling(g*f^n) where f = (11+sqrt(117))/2 and g = (1-3/sqrt(13))/2. - Benoit Cloitre, Jan 12 2003
a(n)*a(n+3) = 99 + a(n+1)*a(n+2). - Ralf Stephan, May 29 2004
a(n) = S(n-1, 11) - S(n-2, 11) = T(2*n-1, sqrt(13)/2)/(sqrt(13)/2).
a(n+1) = ((-1)^n)*S(2*n, i*3), n >= 0, with the imaginary unit i and S(n, x) = U(n, x/2) Chebyshev's polynomials of the second kind, A049310.
G.f.: x*(1-x)/(1-11*x+x^2).
|
|
EXAMPLE
|
All positive solutions of the Pell equation x^2 - 13*y^2 = -4 are
(x,y)= (3=3*1,1), (36=3*12,10), (393=3*131,109), (4287=3*1429,1189 ), ...
|
|
MATHEMATICA
|
LinearRecurrence[{11, -1}, {1, 10}, 20] (* Harvey P. Dale, Jan 26 2014 *)
|
|
PROG
|
(PARI) my(x='x+O('x^30)); Vec(x*(1-x)/(1-11*x+x^2)) \\ G. C. Greubel, Jan 12 2019
(Magma) m:=30; R<x>:=PowerSeriesRing(Integers(), m); Coefficients(R!( x*(1-x)/(1-11*x+x^2) )); // G. C. Greubel, Jan 12 2019
(Sage) (x*(1-x)/(1-11*x+x^2)).series(x, 30).coefficients(x, sparse=False) # G. C. Greubel, Jan 12 2019
(GAP) a:=[1, 10];; for n in [3..30] do a[n]:=11*a[n-1]-a[n-2]; od; a; # G. C. Greubel, Jan 12 2019
|
|
CROSSREFS
|
Cf. similar sequences listed in A238379.
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
Nick Renton (ner(AT)nickrenton.com), Jan 11 2003
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|