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!)
A051405 a(n) = (3^n+1)*(3^(n+1)+1)/4. 0
2, 10, 70, 574, 5002, 44530, 399310, 3589414, 32291602, 290585050, 2615147350, 23535971854, 211822683802, 1906400965570, 17157599124190, 154418363419894, 1389765184685602, 12507886403890090, 112570976860169830, 1013138789417005534 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
LINKS
FORMULA
a(0)=2, a(1)=10, a(2)=70, a(n)=13*a(n-1)-39*a(n-2)+27*a(n-3). - Harvey P. Dale, Jul 13 2012
G.f.: ( -2+16*x-18*x^2 ) / ( (x-1)*(3*x-1)*(9*x-1) ). - R. J. Mathar, Nov 07 2015
a(n) = 2*A051406(n). - R. J. Mathar, Nov 07 2015
MATHEMATICA
Table[(3^n+1)(3^(n+1)+1)/4, {n, 0, 20}] (* or *) LinearRecurrence[{13, -39, 27}, {2, 10, 70}, 20] (* Harvey P. Dale, Jul 13 2012 *)
CROSSREFS
Sequence in context: A354307 A217938 A333902 * A005568 A036075 A212914
KEYWORD
nonn,easy
AUTHOR
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 20 11:40 EDT 2024. Contains 371838 sequences. (Running on oeis4.)