login
A153079
a(n) = 13^n + 2.
1
3, 15, 171, 2199, 28563, 371295, 4826811, 62748519, 815730723, 10604499375, 137858491851, 1792160394039, 23298085122483, 302875106592255, 3937376385699291, 51185893014090759, 665416609183179843, 8650415919381337935, 112455406951957393131
OFFSET
0,1
FORMULA
a(n) = 1 + A141012(n+1). - R. J. Mathar, Jan 05 2011
G.f.: ( 3-27*x ) / ( (13*x-1)*(x-1) ). - R. J. Mathar, Jan 05 2011
MATHEMATICA
LinearRecurrence[{14, -13}, {3, 15}, 30]
13^Range[0, 20]+2 (* Harvey P. Dale, Aug 13 2019 *)
PROG
(Magma) I:=[3, 15]; [n le 2 select I[n] else 14*Self(n-1)-13*Self(n-2): n in [1..30]]; // Vincenzo Librandi, Feb 25 2012
CROSSREFS
Sequence in context: A132683 A059386 A077792 * A173301 A361053 A260079
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Feb 10 2009
EXTENSIONS
a(9) corrected and a(17), a(18) added by R. J. Mathar, Jan 05 2011
STATUS
approved