OFFSET
1,2
COMMENTS
The binomial transform of [1, c, c, c, ...] has the terms a(n) = 1 - c + c*2^(n-1) if the offset 1 is chosen. The o.g.f. of the a(n) is x{1+(c-2)x}/{(2x-1)(x-1)}. This applies to A139634 with c=10, to A139635 with c=11, to A139697 with c=12, to A139698 with c=25 and to A099003, A139700, A139701 accordingly. - R. J. Mathar, May 11 2008
LINKS
FORMULA
A007318 * [1, 30, 30, 30, ...].
a(n) = 30*2^(n-1) - 29. - Emeric Deutsch, May 07 2008
a(n) = 2*a(n-1) + 29 (with a(1)=1). - Vincenzo Librandi, Nov 24 2010
From Colin Barker, Mar 11 2014: (Start)
a(n) = 3*a(n-1) - 2*a(n-2).
G.f.: x*(28*x+1) / ((x-1)*(2*x-1)). (End)
EXAMPLE
a(3) = 91 = (1, 2, 1) dot (1, 30, 30) = (1 + 60 + 30).
MAPLE
seq(30*2^(n-1)-29, n=1..27); # Emeric Deutsch, May 07 2008
MATHEMATICA
LinearRecurrence[{3, -2}, {1, 31}, 30] (* Harvey P. Dale, Apr 18 2018 *)
PROG
(PARI) Vec(x*(28*x+1)/((x-1)*(2*x-1)) + O(x^100)) \\ Colin Barker, Mar 11 2014
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Gary W. Adamson, Apr 29 2008
EXTENSIONS
More terms from Emeric Deutsch, May 07 2008
More terms from Colin Barker, Mar 11 2014
STATUS
approved