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!)
A189735 a(1)=3, a(2)=1, a(n) = 3*a(n-1) + a(n-2). 13
3, 1, 6, 19, 63, 208, 687, 2269, 7494, 24751, 81747, 269992, 891723, 2945161, 9727206, 32126779, 106107543, 350449408, 1157455767, 3822816709, 12625905894, 41700534391, 137727509067, 454883061592, 1502376693843, 4962013143121, 16388416123206, 54127261512739 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
This is one of two sequences of positive integers a(n) such that 13*a(n)^2 + 68*(-1)^n = b(n)^2. For n >= 2, b(n)^2 = 13*a(n-1)*a(n+1) - 153*(-1)^n and in this sequence with the values of b(n) = a(n-1) + a(n+1) = {9, 20, 69, 227, ...}. The other sequence is {8, 27, 89, 294, ...} with offset 0 and signature (3,1). - Klaus Purath, Aug 17 2021
LINKS
FORMULA
G.f.: x*(3-8*x)/(1-3*x-x^2). - Bruno Berselli, May 24 2011
a(n) = (a(n-1)*a(n-2) + 51*(-1)^n)/a(n-3), n >= 4; a(n) = (a(n-1)^2 - 17*(-1)^n)/a(n-2), n >= 3. - Klaus Purath, Aug 17 2021
MATHEMATICA
LinearRecurrence[{3, 1}, {3, 1}, 40]
PROG
(Maxima) a[1]:3$ a[2]:1$ a[n]:=3*a[n-1]+a[n-2]$ makelist(a[n], n, 1, 28); /* Bruno Berselli, May 24 2011 */
(PARI) v=vector(99); v[1]=3; v[2]=1; for(i=3, #v, v[i]=3*v[i-1]+v[i-2]); v \\ Charles R Greathouse IV, May 24 2011
CROSSREFS
Sequence in context: A100232 A221937 A333652 * A221693 A271969 A351106
KEYWORD
nonn,easy
AUTHOR
Harvey P. Dale, Apr 26 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 16 07:08 EDT 2024. Contains 371698 sequences. (Running on oeis4.)