login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A118263 a(3n) = 2^n, a(3n+1) = 3^n, a(3n+2) = 4^n. 0
1, 1, 1, 2, 3, 4, 4, 9, 16, 8, 27, 64, 16, 81, 256, 32, 243, 1024, 64, 729, 4096, 128, 2187, 16384, 256, 6561, 65536, 512, 19683, 262144, 1024, 59049, 1048576, 2048, 177147, 4194304, 4096, 531441, 16777216, 8192, 1594323, 67108864, 16384, 4782969 (list; graph; refs; listen; history; internal format)
OFFSET

0,4

LINKS

Index to sequences with linear recurrences with constant coefficients, signature (0,0,9,0,0,-26,0,0,24).

FORMULA

a(n)= 9*a(n-3) -26*a(n-6) +24*a(n-9. G.f.: -(1+x+x^2-7*x^3-6*x^4-5*x^5+12*x^6+8*x^7+6*x^8)/ ((3*x^3-1) * (2*x^3-1) * (4*x^ 3-1)). [From R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Mar 01 2010]

MATHEMATICA

Table[{2^Floor[n/3], 3^Floor[n/3], 4^Floor[n/3]}[[Mod[n, 3] + 1]], {n, 0, 100}] - Olivier Gerard (olivier.gerard(AT)gmail.com).

CROSSREFS

Sequence in context: A097093 A056877 A202784 * A102539 A185417 A118022

Adjacent sequences:  A118260 A118261 A118262 * A118264 A118265 A118266

KEYWORD

nonn,easy

AUTHOR

Hans Isdahl (hansi(AT)nordtroms.net), Sep 20 2007

EXTENSIONS

More terms and program from Olivier Gerard (olivier.gerard(AT)gmail.com).

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 15 19:15 EST 2012. Contains 205852 sequences.