[go: up one dir, main page]

login
A134752
a(n) = 3^(2*n-1) + 2.
4
5, 29, 245, 2189, 19685, 177149, 1594325, 14348909, 129140165, 1162261469, 10460353205, 94143178829, 847288609445, 7625597484989, 68630377364885, 617673396283949, 5559060566555525, 50031545098999709, 450283905890997365, 4052555153018976269
OFFSET
1,1
COMMENTS
Suggested by a posting from Luis H. Gallardo to the Number Theory List, Jan 14 2008
FORMULA
a(1)=5, a(2)=29, a(n)=10*a(n-1)-9*a(n-2). - Harvey P. Dale, Dec 08 2015
MATHEMATICA
3^(2*Range[20]-1)+2 (* or *) LinearRecurrence[{10, -9}, {5, 29}, 20] (* Harvey P. Dale, Dec 08 2015 *)
CROSSREFS
Cf. A134753.
Sequence in context: A113012 A000354 A103815 * A370768 A231712 A215867
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Jan 28 2008
STATUS
approved