login
A246168
a(n) = 2^n - 10.
2
-9, -8, -6, -2, 6, 22, 54, 118, 246, 502, 1014, 2038, 4086, 8182, 16374, 32758, 65526, 131062, 262134, 524278, 1048566, 2097142, 4194294, 8388598, 16777206, 33554422, 67108854, 134217718, 268435446, 536870902, 1073741814, 2147483638
OFFSET
0,1
FORMULA
G.f.: (-9+19*x)/(1-3*x+2*x^2).
a(n) = 3*a(n-1) - 2*a(n-2).
a(n) = A000079(n) - 10.
From Elmo R. Oliveira, Dec 21 2023: (Start)
a(n) = 2*a(n-1) + 10 for n>0.
E.g.f.: exp(x)*(exp(x) - 10). (End)
MATHEMATICA
Table[2^n - 10, {n, 0, 35}] (* or *) CoefficientList[Series[(-9 + 19 x)/(1 - 3 x + 2 x^2), {x, 0, 35}], x]
LinearRecurrence[{3, -2}, {-9, -8}, 50] (* Harvey P. Dale, Jan 11 2024 *)
PROG
(Magma) [2^n-10: n in [0..40]];
(PARI) vector(50, n, 2^(n-1)-10) \\ Derek Orr, Aug 18 2014
CROSSREFS
Sequences of the form 2^n-k: A000079 (k=0), A000225 (k=1), A000918 (k=2), A036563 (k=3), A028399 (k=4), A168616 (k=5), A131130 (k=6), A048490 (k=7), A159741 (k=8), A185346 (k=9), this sequence (k=10).
Sequence in context: A193626 A316600 A087044 * A248585 A105415 A346728
KEYWORD
sign,easy
AUTHOR
Vincenzo Librandi, Aug 18 2014
STATUS
approved