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!)
A011900 a(n) = 6*a(n-1) - a(n-2) - 2 with a(0) = 1, a(1) = 3. 20

%I #117 Mar 16 2024 15:22:45

%S 1,3,15,85,493,2871,16731,97513,568345,3312555,19306983,112529341,

%T 655869061,3822685023,22280241075,129858761425,756872327473,

%U 4411375203411,25711378892991,149856898154533,873430010034205,5090723162050695,29670908962269963,172934730611569081

%N a(n) = 6*a(n-1) - a(n-2) - 2 with a(0) = 1, a(1) = 3.

%C Members of Diophantine pairs.

%C Solution to b*(b-1) = 2*a*(a-1) in natural numbers; a = a(n), b = b(n) = A046090(n).

%C Also the indices of centered octagonal numbers which are also centered square numbers. - _Colin Barker_, Jan 01 2015

%C Also positive integers y in the solutions to 4*x^2 - 8*y^2 - 4*x + 8*y = 0. - _Colin Barker_, Jan 01 2015

%C Also the number of perfect matchings on a triangular lattice of width 3 and length n. - _Sergey Perepechko_, Jul 11 2019

%D Mario Velucchi "The Pell's equation ... an amusing application" in Mathematics and Informatics Quarterly, to appear 1997.

%H Colin Barker, <a href="/A011900/b011900.txt">Table of n, a(n) for n = 0..1000</a>

%H H. J. Hindin, <a href="/A006062/a006062.pdf">Stars, hexes, triangular numbers and Pythagorean triples</a>, J. Rec. Math., 16 (1983/1984), 191-193. (Annotated scanned copy)

%H Giovanni Lucca, <a href="http://forumgeom.fau.edu/FG2016volume16/FG2016volume16.pdf#page=423">Circle Chains Inscribed in Symmetrical Lenses and Integer Sequences</a>, Forum Geometricorum, Volume 16 (2016) 419-427.

%H S. Northshield, <a href="https://cs.uwaterloo.ca/journals/JIS/VOL18/Northshield/north4.html">An Analogue of Stern's Sequence for Z[sqrt(2)]</a>, Journal of Integer Sequences, 18 (2015), #15.11.6.

%H S. N. Perepechko, <a href="http://dx.doi.org/10.13140/RG.2.2.20780.82568">Number of perfect matchings on triangular lattices of fixed width</a>, DIMA'2015 slides. [see: page 12]

%H <a href="/index/Rec#order_03">Index entries for linear recurrences with constant coefficients</a>, signature (7,-7,1).

%F a(n) = (A001653(n+1) + 1)/2.

%F a(n) = (((1+sqrt(2))^(2*n-1) - (1-sqrt(2))^(2*n-1))/sqrt(8)+1)/2.

%F a(n) = 7*(a(n-1) - a(n-2)) + a(n-3); a(1) = 1, a(2) = 3, a(3) = 15. Also a(n) = 1/2 + ( (1-sqrt(2))/(-4*sqrt(2)) )*(3-2*sqrt(2))^n + ( (1+sqrt(2))/(4*sqrt(2)) )*(3+2*sqrt(2))^n. - _Antonio Alberto Olivares_, Dec 23 2003

%F Sqrt(2) = Sum_{n>=0} 1/a(n); a(n) = a(n-1) + floor(1/(sqrt(2) - Sum_{k=0..n-1} 1/a(k))) (n>0) with a(0)=1. - _Paul D. Hanna_, Jan 25 2004

%F For n>k, a(n+k) = A001541(n)*A001653(k) - A053141(n-k-1); e.g., 493 = 99*5 - 2. For n<=k, a(n+k)=A001541(n)*A001653(k) - A053141(k-n); e.g., 85 = 3*29 - 2. - _Charlie Marion_, Oct 18 2004

%F a(n+1) = 3*a(n) - 1 + sqrt(8*a(n)^2 - 8*a(n) + 1), a(1)=1. - _Richard Choulet_, Sep 18 2007

%F a(n+1) = a(n) * (a(n) + 2) / a(n-1) for n>=1 with a(0)=1 and a(1)=3. - _Paul D. Hanna_, Apr 08 2012

%F G.f.: (1 - 4*x + x^2)/((1-x)*(1 - 6*x + x^2)). - _R. J. Mathar_, Oct 26 2009

%F Sum_{k=a(n)..A001109(n+1)} k = a(n)*A001109(n+1) = A011906(n+1). Example n=2, 3+4+5+6=18, 3*6=18. - _Paul Cleary_, Dec 05 2015

%F a(n) = (sqrt(1+8*A001109(n+1)^2)+1)/2 - A001109(n+1). - _Robert Israel_, Dec 16 2015

%F a(n) = a(-1-n) for all n in Z. - _Michael Somos_, Feb 23 2019

%F E.g.f.: (2*exp(x) + exp(3*x)*(2*cosh(2*sqrt(2)*x) + sqrt(2)*sinh(2*sqrt(2)*x)))/4. - _Stefano Spezia_, Mar 16 2024

%e G.f. = 1 + 3*x + 15x^2 + 85*x^3 + 493*x^4 + 2871*x^5 + 16731*x^6 + ... - _Michael Somos_, Feb 23 2019

%p f:= gfun:-rectoproc({a(n)=6*a(n-1)-a(n-2)-2,a(0)=1,a(1)=3},a(n),remember):

%p seq(f(n),n=0..40); # _Robert Israel_, Dec 16 2015

%t a[0] = 1; a[1] = 3; a[n_] := a[n] = 6 a[n - 1] - a[n - 2] - 2; Table[a@ n, {n, 0, 22}] (* _Michael De Vlieger_, Dec 05 2015 *)

%t Table[(Fibonacci[2n + 1, 2] + 1)/2, {n, 0, 20}] (* _Vladimir Reshetnikov_, Sep 16 2016 *)

%t LinearRecurrence[{7,-7,1},{1,3,15},30] (* _Harvey P. Dale_, Feb 16 2017 *)

%t a[ n_] := (4 + ChebyshevT[n, 3] + ChebyshevT[n + 1, 3])/8; (* _Michael Somos_, Feb 23 2019 *)

%o (PARI) Vec((1-4*x+x^2)/((1-x)*(1-6*x+x^2)) + O(x^100)) \\ _Altug Alkan_, Dec 06 2015

%o (Magma) I:=[1,3]; [n le 2 select I[n] else 6*Self(n-1) - Self(n-2) - 2: n in [1..30]]; // _Vincenzo Librandi_, Dec 05 2015

%Y Cf. A001109, A001541, A001653, A011906, A046090, A053141, A156035.

%K nonn,easy,changed

%O 0,2

%A Mario Velucchi (mathchess(AT)velucchi.it)

%E More terms and comments from _Wolfdieter Lang_

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 March 28 18:04 EDT 2024. Contains 371254 sequences. (Running on oeis4.)