|
Search: id:A133626
|
|
|
| A133626 |
|
a(1)=1, a(n)=(p-1)*a(n-1), if n is even, else a(n)=p*a(n-2), where p=3. |
|
+0 7
|
|
| 1, 2, 3, 6, 9, 18, 27, 54, 81, 162, 243, 486, 729, 1458, 2187, 4374, 6561, 13122, 19683, 39366, 59049, 118098, 177147, 354294, 531441, 1062882, 1594323, 3188646, 4782969, 9565938, 14348907, 28697814, 43046721, 86093442, 129140163
(list; graph; listen)
|
|
|
OFFSET
|
1,2
|
|
|
COMMENT
|
This is essentially a duplicate of A038754. - R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Jun 08 2008
|
|
FORMULA
|
G.f.: g(x)=x(1+2x)/(1-3x^2).
a(n)=3^floor((n-1)/2)*(3+(-1)^n))/2.
a(n)=A133627(n)-A133627(n-1) for n>1.
|
|
CROSSREFS
|
For the partial sums see A133627.
Sequences with similar recurrence rules: A016116(p=2), A084221(p=4), A133632(p=5).
See A133632 for general formulas with respect to the recurrence rule parameter p.
Partial sums for other p: A027383(p=2), A133628(p=4), A133629(p=5).
Other related sequences: A132666, A132667, A132668, A132669.
Sequence in context: A018311 A018481 A038754 this_sequence A066313 A018499 A107847
Adjacent sequences: A133623 A133624 A133625 this_sequence A133627 A133628 A133629
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
Hieronymus Fischer (Hieronymus.Fischer(AT)gmx.de), Sep 19 2007
|
|
|
Search completed in 0.002 seconds
|