|
|
A156198
|
|
a(n) = 2*a(n-1)+3 with n>1, a(1)=8.
|
|
2
|
|
|
8, 19, 41, 85, 173, 349, 701, 1405, 2813, 5629, 11261, 22525, 45053, 90109, 180221, 360445, 720893, 1441789, 2883581, 5767165, 11534333, 23068669, 46137341, 92274685, 184549373, 369098749, 738197501, 1476395005, 2952790013
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
FORMULA
|
a(n) = 3*a(n-1)-2*a(n-2) = 11*2^(n-1)-3. [R. J. Mathar, Feb 19 2009]
|
|
MATHEMATICA
|
|
|
PROG
|
(Magma) I:=[8, 19]; [n le 2 select I[n] else 3*Self(n-1)-2*Self(n-2): n in [1..30]]; // _Librandi Vincenzo_, May 02 2012
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|