cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

Previous Showing 11-20 of 28 results. Next

A077417 Chebyshev T-sequence with Diophantine property.

Original entry on oeis.org

1, 11, 131, 1561, 18601, 221651, 2641211, 31472881, 375033361, 4468927451, 53252096051, 634556225161, 7561422605881, 90102515045411, 1073668757939051, 12793922580223201, 152453402204739361, 1816646903876649131, 21647309444315050211
Offset: 0

Views

Author

Wolfdieter Lang, Nov 29 2002

Keywords

Comments

7*a(n)^2 - 5*b(n)^2 = 2 with companion sequence b(n) = A077416(n), n>=0.
a(n) = L(n,12), where L is defined as in A108299; see also A077416 for L(n,-12). - Reinhard Zumkeller, Jun 01 2005
[a(n), A004191(n)] = the 2 X 2 matrix [1,10; 1,11]^(n+1) * [1,0]. - Gary W. Adamson, Mar 19 2008
Hankel transform of A174227. - Paul Barry, Mar 12 2010
Alternate denominators of the continued fraction convergents to sqrt(35), see A041059. - James R. Buddenhagen, May 20 2010
For positive n, a(n) equals the permanent of the (2n)X(2n) tridiagonal matrix with sqrt(10)'s along the main diagonal, and 1's along the superdiagonal and the subdiagonal. - John M. Campbell, Jul 08 2011
Positive values of x (or y) satisfying x^2 - 12xy + y^2 + 10 = 0. - Colin Barker, Feb 09 2014
a(n) = a(-1-n) for all n in Z. - Michael Somos, Jun 29 2019

Examples

			G.f. = 1 + 11*x + 131*x^2 + 1561*x^3 + 18601*x^4 221651*x^5 + 2641211*x^6 + ...
		

Crossrefs

Cf. A072256(n) with companion A054320(n-1), n>=1.
Row 12 of array A094954.
Cf. A004191.
Cf. A041059. [James R. Buddenhagen, May 20 2010]
Cf. similar sequences listed in A238379.

Programs

  • Magma
    I:=[1,11]; [n le 2 select I[n] else 12*Self(n-1)-Self(n-2): n in [1..30]]; // Vincenzo Librandi, Feb 10 2014
    
  • Mathematica
    CoefficientList[Series[(1 - x)/(1 - 12 x + x^2), {x, 0, 30}], x] (* Vincenzo Librandi, Feb 10 2014 *)
    LinearRecurrence[{12,-1},{1,11},30] (* Harvey P. Dale, Apr 09 2015 *)
    a[ n_] := With[{x = Sqrt[7/2]}, ChebyshevT[2 n + 1, x]/x] // Expand; (* Michael Somos, Jun 29 2019 *)
  • PARI
    my(x='x+O('x^30)); Vec((1-x)/(1-12*x+x^2)) \\ G. C. Greubel, Jan 18 2018
    
  • PARI
    {a(n) = my(x = quadgen(56)/2); simplify(polchebyshev(2*n + 1, 1, x)/x)}; /* Michael Somos, Jun 29 2019 */

Formula

a(n) = 12*a(n-1) - a(n-2), a(-1)=1, a(0)=1.
a(n) = S(n, 12) - S(n-1, 12) = T(2*n+1, sqrt(14)/2)/(sqrt(14)/2) with S(n, x) := U(n, x/2), resp. T(n, x), Chebyshev's polynomials of the second, resp. first, kind. See A049310 and A053120. S(-1, x)=0, S(n, 12)=A004191(n).
G.f.: (1-x)/(1-12*x+x^2).
a(n) = (ap^(2*n+1) + am^(2*n+1))/sqrt(14) with ap := (sqrt(7)+sqrt(5))/sqrt(2) and am := (sqrt(7)-sqrt(5))/sqrt(2).
a(n) = sqrt((5*A077416(n)^2 + 2)/7).
a(n)*a(n+3) = 120 + a(n+1)*a(n+2). - Ralf Stephan, May 29 2004
E.g.f.: exp(6*x)*(7*cosh(sqrt(35)*x) + sqrt(35)*sinh(sqrt(35)*x))/7. - Stefano Spezia, Aug 29 2025

Extensions

More terms from Vincenzo Librandi, Feb 10 2014

A157014 Expansion of x*(1-x)/(1 - 22*x + x^2).

Original entry on oeis.org

1, 21, 461, 10121, 222201, 4878301, 107100421, 2351330961, 51622180721, 1133336644901, 24881784007101, 546265911511321, 11992968269241961, 263299036011811821, 5780585823990618101, 126909589091781786401, 2786230374195208682721, 61170158643202809233461
Offset: 1

Views

Author

Paul Weisenhorn, Feb 21 2009

Keywords

Comments

This sequence is part of a solution of a 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, where solutions are given by the recurrences:
a(1) = 1, a(2) = 4*A+1, a(n) = (4*A+2)*a(n-1)-a(n-2) for n>2, resulting in a(n) terms 1, 4*A+1, 16*A^2+12*A+1, 64*A^3+80*A^2+24*A+1, ...;
b(1) = 1, b(2) = 4*A+3, b(n) = (4*A+2)*b(n-1)-b(n-2) for n>2, resulting in b(n) terms 1, 4*A+3, 16*A^2+20*A+5, 64*A^3+112*A^2+56*A+7, ...;
c(1) = 0, c(2) = 16*A+8, c(3) = (16*A^2+16*A+3)*c(2), c(n) = (16*A^2+16*A+3) * (c(n-1)-c(n-2)) + c(n-3) for n>3, resulting in c(n) terms 0, 16*A+8, 256*A^3+384*A^2+176*A+24, 4096*A^5 + 10240*A^4 + 9472*A^3 + 3968*A^2 + 736*A + 48, ... .
A157014 is the a(n) sequence for A=5.
For other A values the a(n), b(n) and c(n) sequences are in the OEIS:
A a-sequence b-sequence c-sequence
2 A072256 A054320(n-1) A045502(n-1)
9 A097315(n-1) A097314(n-1) A157881
Positive values of x (or y) satisfying x^2 - 22xy + y^2 + 20 = 0. - Colin Barker, Feb 19 2014
From Klaus Purath, Apr 22 2025: (Start)
Nonnegative solutions to the Diophantine equation 5*b(n)^2 - 6*a(n)^2 = -1. The corresponding b(n) are A133283(n). Note that (b(n+1)^2 - b(n)*b(n+2))/4 = 6 and (a(n)*a(n+2) - a(n+1)^2)/4 = 5.
(a(n) + b(n))/2 = (b(n+1) - a(n+1))/2 = A077421(n-1) = Lucas U(22,1). Also b(n)*a(n+1) - b(n+1)*a(n) = -2.
a(n)=(t(i+2*n-1) + t(i))/(t(i+n) + t(i+n-1)) as long as t(i+n) + t(i+n-1) != 0 for any integer i and n >= 1 where (t) is a sequence satisfying t(i+3) = 21*t(i+2) - 21*t(i+1) + t(i) or t(i+2) = 22*t(i+1) - t(i) without regard to initial values and including this sequence itself. (End)

Crossrefs

Cf. similar sequences listed in A238379.

Programs

  • GAP
    a:=[1,21];; for n in [3..20] do a[n]:=22*a[n-1]-a[n-2]; od; a; # G. C. Greubel, Jan 14 2020
  • Magma
    I:=[1,21]; [n le 2 select I[n] else 22*Self(n-1)-Self(n-2): n in [1..20]]; // Vincenzo Librandi, Feb 21 2014
    
  • Maple
    seq( simplify(ChebyshevU(n-1,11) - ChebyshevU(n-2,11)), n=1..20); # G. C. Greubel, Jan 14 2020
  • Mathematica
    CoefficientList[Series[(1-x)/(1-22x+x^2), {x,0,20}], x] (* Vincenzo Librandi, Feb 21 2014 *)
    a[c_, n_] := Module[{},
       p := Length[ContinuedFraction[ Sqrt[ c]][[2]]];
       d := Denominator[Convergents[Sqrt[c], n p]];
       t := Table[d[[1 + i]], {i, 0, Length[d] - 1, p}];
       Return[t];
    ] (* Complement of A041049 *)
    a[30, 20] (* Gerry Martens, Jun 07 2015 *)
    Table[ChebyshevU[n-1, 11] - ChebyshevU[n-2, 11], {n,20}] (* G. C. Greubel, Jan 14 2020 *)
  • PARI
    Vec((1-x)/(1-22*x+x^2)+O(x^20)) \\ Charles R Greathouse IV, Sep 23 2012
    
  • Sage
    [chebyshev_U(n-1,11) - chebyshev_U(n-2,11) for n in (1..20)] # G. C. Greubel, Jan 14 2020
    

Formula

G.f.: x*(1-x)/(1-22*x+x^2).
a(1) = 1, a(2) = 21, a(n) = 22*a(n-1) - a(n-2) for n>2.
5*A157460(n)+1 = a(n)^2 for n>=1.
6*A157460(n)+1 = A133283(n)^2 for n>=1.
a(n) = (6+sqrt(30)-(-6+sqrt(30))*(11+2*sqrt(30))^(2*n))/(12*(11+2*sqrt(30))^n). - Gerry Martens, Jun 07 2015
a(n) = ChebyshevU(n-1, 11) - ChebyshevU(n-2, 11). - G. C. Greubel, Jan 14 2020

Extensions

Edited by Alois P. Heinz, Sep 09 2011

A070998 a(n) = 9*a(n-1) - a(n-2) for n > 0, a(0)=1, a(-1)=1.

Original entry on oeis.org

1, 8, 71, 631, 5608, 49841, 442961, 3936808, 34988311, 310957991, 2763633608, 24561744481, 218292066721, 1940066856008, 17242309637351, 153240719880151, 1361924169284008, 12104076803675921, 107574767063799281, 956068826770517608
Offset: 0

Views

Author

Joe Keane (jgk(AT)jgk.org), May 18 2002

Keywords

Comments

A Pellian sequence.
In general, Sum_{k=0..n} binomial(2n-k,k)j^(n-k) = (-1)^n*U(2n, i*sqrt(j)/2), i=sqrt(-1). - Paul Barry, Mar 13 2005
a(n) = L(n,9), where L is defined as in A108299; see also A057081 for L(n,-9). - Reinhard Zumkeller, Jun 01 2005
Number of 01-avoiding words of length n on alphabet {0,1,2,3,4,5,6,7,8} which do not end in 0. - Tanya Khovanova, Jan 10 2007
For positive n, a(n) equals the permanent of the (2n) X (2n) tridiagonal matrix with sqrt(7)'s along the main diagonal, and 1's along the superdiagonal and the subdiagonal. - John M. Campbell, Jul 08 2011
Positive values of x (or y) satisfying x^2 - 9xy + y^2 + 7 = 0. - Colin Barker, Feb 09 2014

Crossrefs

Row 9 of array A094954.
Cf. similar sequences listed in A238379.

Programs

  • Magma
    I:=[1,8]; [n le 2 select I[n] else 9*Self(n-1)-Self(n-2): n in [1..30]]; // Vincenzo Librandi, Feb 10 2014
  • Mathematica
    CoefficientList[Series[(1 - x)/(1 - 9 x + x^2), {x, 0, 30}], x] (* Vincenzo Librandi, Feb 10 2014 *)
    LinearRecurrence[{9,-1},{1,8},30] (* Harvey P. Dale, Sep 24 2015 *)
  • Sage
    [lucas_number1(n, 9, 1) - lucas_number1(n-1, 9, 1) for n in range(1, 19)]  # Zerinvary Lajos, Nov 10 2009
    

Formula

a(n) ~ (1/11)*sqrt(11)*((1/2)*(sqrt(11) + sqrt(7)))^(2*n+1).
Let q(n, x) = Sum_{i=0..n} x^(n-i)*binomial(2*n-i, i); then q(n, 7) = a(n). - Benoit Cloitre, Nov 10 2002
a(n)*a(n+3) = 63 + a(n+1)*a(n+2). - Ralf Stephan, May 29 2004
a(n) = (-1)^n*U(2n, i*sqrt(7)/2), U(n, x) Chebyshev polynomial of second kind, i=sqrt(-1). - Paul Barry, Mar 13 2005
G.f.: (1-x)/(1-9*x+x^2). - Philippe Deléham, Nov 03 2008
a(n) = A018913(n+1) - A018913(n). - R. J. Mathar, Jun 07 2013

Extensions

More terms from Vincenzo Librandi, Feb 10 2014

A077420 Bisection of Chebyshev sequence T(n,3) (odd part) with Diophantine property.

Original entry on oeis.org

1, 33, 1121, 38081, 1293633, 43945441, 1492851361, 50713000833, 1722749176961, 58522759015841, 1988051057361633, 67535213191279681, 2294209197446147521, 77935577499977736033, 2647515425801796877601
Offset: 0

Views

Author

Wolfdieter Lang, Nov 29 2002

Keywords

Comments

(3*a(n))^2 - 2*(2*b(n))^2 = 1 with companion sequence b(n)= A046176(n+1), n>=0 (special solutions of Pell equation).

Crossrefs

Cf. A056771 (even part).
Row 34 of array A094954.
Row 3 of array A188646.
Cf. similar sequences listed in A238379.
Similar sequences of the type cosh((2*n+1)*arccosh(k))/k are listed in A302329. This is the case k=3.

Programs

  • Magma
    I:=[1,33]; [n le 2 select I[n] else 34*Self(n-1)-Self(n-2): n in [1..20]]; // Vincenzo Librandi, Nov 22 2011
    
  • Mathematica
    LinearRecurrence[{34,-1},{1,33},20] (* Vincenzo Librandi, Nov 22 2011 *)
    a[c_, n_] := Module[{},
       p := Length[ContinuedFraction[ Sqrt[ c]][[2]]];
       d := Denominator[Convergents[Sqrt[c], n p]];
       t := Table[d[[1 + i]], {i, 0, Length[d] - 1, p}];
       Return[t];
    ] (* Complement of A041027 *)
    a[18, 20] (* Gerry Martens, Jun 07 2015 *)
  • Maxima
    makelist(expand(((1+sqrt(2))^(4*n+2)+(1-sqrt(2))^(4*n+2))/6),n,0,14);  /* _Bruno Berselli, Nov 22 2011 */
  • PARI
    Vec((1-x)/(1-34*x+x^2)+O(x^99)) \\ Charles R Greathouse IV, Nov 22 2011
    

Formula

a(n) = 34*a(n-1) - a(n-2), a(-1)=1, a(0)=1.
a(n) = T(2*n+1, 3)/3 = S(n, 34) - S(n-1, 34), with S(n, x) := U(n, x/2), resp. T(n, x), Chebyshev's polynomials of the second, resp. first, kind. See A049310 and A053120. S(-1, x)=0, S(n, 34)= A029547(n), T(n, 3)=A001541(n).
G.f.: (1-x)/(1-34*x+x^2).
a(n) = sqrt(8*A046176(n+1)^2 + 1)/3.
a(n) = (k^n)+(k^(-n))-a(n-1) = A003499(2*n)-a(n-1), where k = (sqrt(2)+1)^4 = 17+12*sqrt(2) and a(0)=1. - Charles L. Hohn, Apr 05 2011
a(n) = a(-n-1) = A029547(n)-A029547(n-1) = ((1+sqrt(2))^(4n+2)+(1-sqrt(2))^(4n+2))/6. - Bruno Berselli, Nov 22 2011

A078922 a(n) = 11*a(n-1) - a(n-2) with a(1)=1, a(2) = 10.

Original entry on oeis.org

1, 10, 109, 1189, 12970, 141481, 1543321, 16835050, 183642229, 2003229469, 21851881930, 238367471761, 2600190307441, 28363725910090, 309400794703549, 3375045015828949, 36816094379414890, 401601993157734841
Offset: 1

Views

Author

Nick Renton (ner(AT)nickrenton.com), Jan 11 2003

Keywords

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.
a(n) = L(n-1,11), where L is defined as in A108299; see also A097783 for L(n,-11). - Reinhard Zumkeller, Jun 01 2005
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

Examples

			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 ), ...
		

Crossrefs

Row 11 of array A094954.
Cf. similar sequences listed in A238379.

Programs

  • 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
  • Magma
    m:=30; R:=PowerSeriesRing(Integers(), m); Coefficients(R!( x*(1-x)/(1-11*x+x^2) )); // G. C. Greubel, Jan 12 2019
    
  • Mathematica
    LinearRecurrence[{11,-1},{1,10},20] (* Harvey P. Dale, Jan 26 2014 *)
    Table[Fibonacci[2n-1, 3], {n, 1, 20}] (* Vladimir Reshetnikov, Sep 16 2016 *)
  • PARI
    a(n)=([0,1;-1,11]^n*[1;1])[1,1] \\ Charles R Greathouse IV, Jun 11 2015
    
  • PARI
    my(x='x+O('x^30)); Vec(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
    

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).
a(n) = A006190(2*n-1). - Vladimir Reshetnikov, Sep 16 2016

Extensions

More terms from Benoit Cloitre, Jan 12 2003
Definition adapted to offset by Georg Fischer, Jun 18 2021

A138288 a(n) = A054320(n) - A001078(n).

Original entry on oeis.org

1, 9, 89, 881, 8721, 86329, 854569, 8459361, 83739041, 828931049, 8205571449, 81226783441, 804062262961, 7959395846169, 78789896198729, 779939566141121, 7720605765212481, 76426118085983689, 756540575094624409, 7488979632860260401, 74133255753507979601, 733843577902219535609
Offset: 0

Views

Author

Reinhard Zumkeller, Mar 12 2008

Keywords

Comments

Numbers k such that 6*k^2 - 2 is a square. - Bruno Berselli, Feb 10 2014

Examples

			1 + 9*x + 89*x^2 + 881*x^3 + 8721*x^4 + 86329*x^5 + ...
		

References

  • H. Brocard, Note #2049, L'Intermédiaire des Mathématiciens, 8 (1901), pp. 212-213. - N. J. A. Sloane, Mar 02 2022

Crossrefs

Cf. similar sequences listed in A238379.

Programs

  • Mathematica
    CoefficientList[Series[(1 - x)/(1 - 10 x + x^2), {x, 0, 40}], x] (* Vincenzo Librandi, Feb 12 2014 *)
    a[c_, n_] := Module[{},
      p := Length[ContinuedFraction[ Sqrt[ c]][[2]]];
      d := Denominator[Convergents[Sqrt[c], n p]];
      t := Table[d[[1 + i]], {i, 0, Length[d] - 1, p}];
      Return[t];
      ] (* Complement of A041007, A041039 *)
    a[6, 20] (* Gerry Martens, Jun 07 2015 *)
  • PARI
    {a(n) = subst( poltchebi(n+1) + poltchebi(n), x, 5) / 6} /* Michael Somos, Jan 25 2013 */
  • Sage
    [lucas_number1(n,10,1)-lucas_number1(n-1,10,1) for n in range(1, 20)] # Zerinvary Lajos, Nov 10 2009
    

Formula

a(n) = A072256(n+1).
a(n) = A001079(n) + 2*A001078(n).
a(n) = 10*a(n-1) - a(n-2). a(-1) = a(0) = 1.
(sqrt(2)+sqrt(3))^(2*n+1) = A054320(n-1)*sqrt(2) + a(n)*sqrt(3).
From Michael Somos, Jan 25 2013: (Start)
G.f.: (1 - x) / (1 - 10*x + x^2).
a(-1-n) = a(n). (End)
a(n) = sqrt(2+(5-2*sqrt(6))^(1+2*n)+(5+2*sqrt(6))^(1+2*n))/(2*sqrt(3)). - Gerry Martens, Jun 04 2015
E.g.f.: exp(5*x)*(3*cosh(2*sqrt(6)*x) + sqrt(6)*sinh(2*sqrt(6)*x))/3. - Stefano Spezia, May 16 2023

A160682 The list of the A values in the common solutions to 13*k+1 = A^2 and 17*k+1 = B^2.

Original entry on oeis.org

1, 14, 209, 3121, 46606, 695969, 10392929, 155197966, 2317576561, 34608450449, 516809180174, 7717529252161, 115246129602241, 1720974414781454, 25699370092119569, 383769576967012081, 5730844284413061646, 85578894689228912609, 1277952576054020627489
Offset: 1

Views

Author

Paul Weisenhorn, May 23 2009

Keywords

Comments

This summarizes the case C=13 of common solutions to C*k+1=A^2, (C+4)*k+1=B^2.
The 2 equations are equivalent to the Pell equation x^2-C*(C+4)*y^2=1,
with x=(C*(C+4)*k+C+2)/2; y=A*B/2 and with smallest values x(1) = (C+2)/2, y(1)=1/2.
Generic recurrences are:
A(j+2)=(C+2)*A(j+1)-A(j) with A(1)=1; A(2)=C+1.
B(j+2)=(C+2)*B(j+1)-B(j) with B(1)=1; B(2)=C+3.
k(j+3)=(C+1)*(C+3)*( k(j+2)-k(j+1) )+k(j) with k(1)=0; k(2)=C+2; k(3)=(C+1)*(C+2)*(C+3).
x(j+2)=(C^2+4*C+2)*x(j+1)-x(j) with x(1)=(C+2)/2; x(2)=(C^2+4*C+1)*(C+2)/2;
Binet-type of solutions of these 2nd order recurrences are:
R=C^2+4*C; S=C*sqrt(R); T=(C+2); U=sqrt(R); V=(C+4)*sqrt(R);
A(j)=((R+S)*(T+U)^(j-1)+(R-S)*(T-U)^(j-1))/(R*2^j);
B(j)=((R+V)*(T+U)^(j-1)+(R-V)*(T-U)^(j-1))/(R*2^j);
x(j)+sqrt(R)*y(j)=((T+U)*(C^2*4*C+2+(C+2)*sqrt(R))^(j-1))/2^j;
k(j)=(((T+U)*(R+2+T*U)^(j-1)+(T-U)*(R+2-T*U)^(j-1))/2^j-T)/R. [Paul Weisenhorn, May 24 2009]
.C -A----- -B----- -k-----
For n>=2, a(n) equals the permanent of the (2n-2)X(2n-2) tridiagonal matrix with sqrt(13)'s along the main diagonal, and 1's along the superdiagonal and the subdiagonal. [John M. Campbell, Jul 08 2011]
Positive values of x (or y) satisfying x^2 - 15xy + y^2 + 13 = 0. - Colin Barker, Feb 11 2014

Crossrefs

Cf. similar sequences listed in A238379.

Programs

  • Magma
    I:=[1,14]; [n le 2 select I[n] else 15*Self(n-1)-Self(n-2): n in [1..30]]; // Vincenzo Librandi, Feb 12 2014
    
  • Mathematica
    LinearRecurrence[{15,-1},{1,14},20] (* Harvey P. Dale, Oct 08 2012 *)
    CoefficientList[Series[(1 - x)/(1 - 15 x + x^2), {x, 0, 40}], x] (* Vincenzo Librandi, Feb 12 2014 *)
  • PARI
    a(n) = round((2^(-1-n)*((15-sqrt(221))^n*(13+sqrt(221))+(-13+sqrt(221))*(15+sqrt(221))^n))/sqrt(221)) \\ Colin Barker, Jul 25 2016

Formula

a(n) = 15*a(n-1)-a(n-2).
G.f.: (1-x)*x/(1-15*x+x^2).
a(n) = (2^(-1-n)*((15-sqrt(221))^n*(13+sqrt(221))+(-13+sqrt(221))*(15+sqrt(221))^n))/sqrt(221). - Colin Barker, Jul 25 2016

Extensions

Edited, extended by R. J. Mathar, Sep 02 2009
First formula corrected by Harvey P. Dale, Oct 08 2012

A075839 Numbers k such that 11*k^2 - 2 is a square.

Original entry on oeis.org

1, 19, 379, 7561, 150841, 3009259, 60034339, 1197677521, 23893516081, 476672644099, 9509559365899, 189714514673881, 3784780734111721, 75505900167560539, 1506333222617099059, 30051158552174420641, 599516837820871313761, 11960285597865251854579
Offset: 1

Views

Author

Gregory V. Richardson, Oct 14 2002

Keywords

Comments

Lim_{n -> infinity} a(n)/a(n-1) = 10 + 3*sqrt(11).
Positive values of x (or y) satisfying x^2 - 20xy + y^2 + 18 = 0. - Colin Barker, Feb 18 2014

References

  • A. H. Beiler, "The Pellian", ch. 22 in Recreations in the Theory of Numbers: The Queen of Mathematics Entertains. Dover, New York, New York, pp. 248-268, 1966.
  • L. E. Dickson, History of the Theory of Numbers, Vol. II, Diophantine Analysis. AMS Chelsea Publishing, Providence, Rhode Island, 1999, pp. 341-400.
  • Peter G. L. Dirichlet, Lectures on Number Theory (History of Mathematics Source Series, V. 16); American Mathematical Society, Providence, Rhode Island, 1999, pp. 139-147.

Crossrefs

Row 20 of array A094954.
Cf. similar sequences listed in A238379.

Programs

  • GAP
    a:=[1,19];; for n in [3..20] do a[n]:=20*a[n-1]-a[n-2]; od; a; # G. C. Greubel, Dec 06 2019
  • Magma
    I:=[1,19]; [n le 2 select I[n] else 20*Self(n-1)-Self(n-2): n in [1..20]]; // Vincenzo Librandi, Feb 20 2014
    
  • Maple
    seq(coeff(series( x*(1-x)/(1-20*x+x^2), x, n+1), x, n), n = 1..20); # G. C. Greubel, Dec 06 2019
  • Mathematica
    LinearRecurrence[{20,-1},{1,19},20] (* Harvey P. Dale, Apr 13 2012 *)
    Rest@CoefficientList[Series[x*(1-x)/(1-20x+x^2), {x, 0, 20}], x] (* Vincenzo Librandi, Feb 20 2014 *)
    a[c_, n_] := Module[{},
       p := Length[ContinuedFraction[ Sqrt[ c]][[2]]];
       d := Denominator[Convergents[Sqrt[c], n p]];
       t := Table[d[[1 + i]], {i, 0, Length[d] - 1, p}];
       Return[t];
    ] (* Complement of A041015 *)
    a[11, 20] (* Gerry Martens, Jun 07 2015 *)
  • PARI
    a(n)=subst(poltchebi(n+1)+poltchebi(n),x,10)/11
    
  • Sage
    def A075839_list(prec):
        P. = PowerSeriesRing(ZZ, prec)
        return P( x*(1-x)/(1-20*x+x^2) ).list()
    a=A075839_list(20); a[1:] # G. C. Greubel, Dec 06 2019
    

Formula

11*a(n)^2 - 9*A083043(n)^2 = 2.
a(n) = ((3+sqrt(11))*(10+3*sqrt(11))^(n-1) - (3-sqrt(11))*(10-3*sqrt(11))^(n-1) )/(2*sqrt(11)). - Dean Hickerson, Dec 09 2002
From Michael Somos, Oct 29 2002: (Start)
G.f.: x*(1-x)/(1-20*x+x^2).
a(n) = 20*a(n-1) - a(n-2), n>1. (End)
Let q(n, x) = Sum_{i=0..n} x^(n-i)*binomial(2*n-i, i) then a(n) = q(n, 18). - Benoit Cloitre, Dec 06 2002
a(-n+1) = a(n). - Michael Somos, Apr 18 2003
E.g.f.: (1/11)*exp(10*x)*(11*cosh(3*sqrt(11)*x) - 3*sqrt(11)*sinh(3*sqrt(11)*x)) - 1. - Stefano Spezia, Dec 06 2019

Extensions

More terms from Colin Barker, Feb 18 2014
Offset changed to 1 by G. C. Greubel, Dec 06 2019

A085260 Ratio-determined insertion sequence I(0.0833344) (see the link below).

Original entry on oeis.org

1, 12, 155, 2003, 25884, 334489, 4322473, 55857660, 721827107, 9327894731, 120540804396, 1557702562417, 20129592507025, 260127000028908, 3361521407868779, 43439651302265219, 561353945521579068
Offset: 1

Views

Author

John W. Layman, Jun 23 2003

Keywords

Comments

This sequence is the ratio-determined insertion sequence (RDIS) "twin" to A078362 (see the link for an explanation of "twin"). See A082630 or A082981 for recent examples of RDIS sequences.
a(n) = L(n,13), where L is defined as in A108299. - Reinhard Zumkeller, Jun 01 2005
For n >= 2, a(n) equals the permanent of the (2n-2) X (2n-2) tridiagonal matrix with sqrt(11)'s along the main diagonal, and 1's along the superdiagonal and the subdiagonal. - John M. Campbell, Jul 08 2011
Seems to be positive values of x (or y) satisfying x^2 - 13xy + y^2 + 11 = 0. - Colin Barker, Feb 10 2014
It appears that the b-file, formulas and programs are based on the conjectured, so far apparently unproved recurrence relation. - M. F. Hasler, Nov 05 2018
Nonnegative y values in solutions to the Diophantine equation 11*x^2 - 15*y^2 = -4. The corresponding x values are in A126866. Note that a(n+1)^2 - a(n)*a(n+2) = -11. - Klaus Purath, Mar 21 2025

Crossrefs

Row 13 of array A094954.
Cf. similar sequences listed in A238379.

Programs

  • Magma
    I:=[1,12]; [n le 2 select I[n] else 13*Self(n-1) - Self(n-2): n in [1..30]]; // G. C. Greubel, Jan 18 2018
  • Mathematica
    CoefficientList[Series[(1 - x)/(1 - 13 x + x^2), {x, 0, 40}], x] (* Vincenzo Librandi, Feb 12 2014 *)
    LinearRecurrence[{13,-1}, {1,12}, 30] (* G. C. Greubel, Jan 18 2018 *)
  • PARI
    my(x='x+O('x^30)); Vec(x*(1-x)/(1-13*x+x^2)) \\ G. C. Greubel, Jan 18 2018
    

Formula

It appears that the sequence satisfies a(n+1) = 13*a(n) - a(n-1). [Corrected by M. F. Hasler, Nov 05 2018]
If the recurrence a(n+2) = 13*a(n+1) - a(n) holds then for n > 0, a(n)*a(n+3) = 143 + a(n+1)*a(n+2). - Ralf Stephan, May 29 2004
G.f.: x*(1-x)/(1 - 13*x + x^2). - Philippe Deléham, Nov 17 2008
For n>1, a(n) is the numerator of the continued fraction [1,11,1,11,...,1,11] with (n-1) repetitions of 1,11. - Greg Dresden, Sep 10 2019

A157877 Expansion of (1-x)*x/(x^2-30*x+1).

Original entry on oeis.org

1, 29, 869, 26041, 780361, 23384789, 700763309, 20999514481, 629284671121, 18857540619149, 565096933903349, 16934050476481321, 507456417360536281, 15206758470339607109, 455695297692827676989, 13655652172314490702561, 409213869871741893399841
Offset: 1

Views

Author

Paul Weisenhorn, Mar 08 2009

Keywords

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.
A157877 is the a(n) sequence for A=7.
Positive values of x (or y) satisfying x^2 - 30xy + y^2 + 28 = 0. - Colin Barker, Feb 23 2014

Crossrefs

Cf. similar sequences listed in A238379.

Programs

  • Magma
    I:=[1,29,869]; [n le 3 select I[n] else 30*Self(n-1)-Self(n-2): n in [1..20]]; // Vincenzo Librandi, Feb 25 2014
  • Mathematica
    LinearRecurrence[{30,-1},{1,29},30] (* Harvey P. Dale, Dec 14 2011 *)
    CoefficientList[Series[(1 - x)/(x^2 - 30 x + 1), {x, 0, 40}], x] (* Vincenzo Librandi, Feb 25 2014 *)
  • PARI
    Vec((1-x)*x/(x^2-30*x+1)+O(x^99)) \\ Charles R Greathouse IV, Sep 25 2012
    

Formula

G.f.: (1-x)*x/(x^2-30*x+1).
a(1)=1, a(2)=29; for n>2, a(n) = 30*a(n-1)-a(n-2).
7*A157879(n)+1 = a(n)^2.
8*A157879(n)+1 = A157878(n)^2.
a(n) = (1/8)*(4-sqrt(14))*(1+(15+4*sqrt(14))^(2*n-1))/(15+4*sqrt(14))^(n-1). - Bruno Berselli, Feb 25 2014
From Andrea Pinos, Oct 05 2022: (Start)
a(n) = ceiling((C^n)/(C+1)), where C = 15 + 4*sqrt(14) = sqrt(225) + sqrt(224).
Limit_{n->oo} a(n+1)/a(n) = C. (End)

Extensions

Edited by Alois P. Heinz, Sep 09 2011
Previous Showing 11-20 of 28 results. Next