|
Search: id:A037480
|
|
|
| A037480 |
|
Base-3 digits are, in order, the first n terms of the periodic sequence with initial period 1,2. |
|
+0 3
|
|
| 1, 5, 16, 50, 151, 455, 1366, 4100, 12301, 36905, 110716, 332150, 996451, 2989355, 8968066, 26904200, 80712601, 242137805, 726413416, 2179240250, 6537720751, 19613162255, 58839486766, 176518460300, 529555380901
(list; graph; listen)
|
|
|
OFFSET
|
1,2
|
|
|
FORMULA
|
a(n) = (5*3^n + (-1)^n - 6)/8 . - Paul D. Hanna (pauldhanna(AT)juno.com), Sep 23 2007
|
|
MAPLE
|
a[0]:=0:a[1]:=1:for n from 2 to 50 do a[n]:=2*a[n-1]+3*a[n-2]+3 od: seq(a[n], n=1..33); # [From Zerinvary Lajos (zerinvarylajos(AT)yahoo.com), Dec 14 2008]
|
|
CROSSREFS
|
Sequence in context: A082001 A084356 A007806 this_sequence A027108 A077840 A007343
Adjacent sequences: A037477 A037478 A037479 this_sequence A037481 A037482 A037483
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
Clark Kimberling (ck6(AT)evansville.edu)
|
|
|
Search completed in 0.002 seconds
|