Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A152733
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A152733 a(n)+a(n+1)+a(n+2)=3^n. +0
2
0, 0, 3, 6, 18, 57, 168, 504, 1515, 4542, 13626, 40881, 122640, 367920, 1103763, 3311286, 9933858, 29801577, 89404728, 268214184, 804642555, 2413927662, 7241782986, 21725348961, 65176046880, 195528140640, 586584421923 (list; graph; listen)
OFFSET

1,3

COMMENT

0+0+3=3^1;0+3+6=3^2;3+6+18=3^3;...

FORMULA

a(n)=3*A077834(n-3). G.f.: 3x^3/((1-3x)(1+x+x^2)). [From R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Dec 12 2008]

a(n)=(1/13)*(3^n + 12*Cos[(2*n*Pi)/3] + 2*Sqrt[3]*Sin[(2*n*Pi)/3]), n=1,2,.. [From Zak Seidov (zakseidov(AT)yahoo.com), Dec 12 2008]

MATHEMATICA

k0=k1=0; lst={k0, k1}; Do[kt=k1; k1=3^n-k1-k0; k0=kt; AppendTo[lst, k1], {n, 1, 5!}]; lst

CROSSREFS

Cf. A152728,A152729,A152730,A152731,A152732,A152725,A152726,A000212

Sequence in context: A089325 A110593 A049368 this_sequence A102962 A076510 A038060

Adjacent sequences: A152730 A152731 A152732 this_sequence A152734 A152735 A152736

KEYWORD

nonn

AUTHOR

Vladimir Orlovsky (4vladimir(AT)gmail.com), Dec 11 2008

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 29 12:46 EST 2009. Contains 167659 sequences.


AT&T Labs Research