The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A014928 a(1)=1, a(n)=n*13^(n-1)+a(n-1). 2
1, 27, 534, 9322, 152127, 2379885, 36167548, 538155684, 7879732173, 113924725903, 1630368136242, 23136292864686, 326011399456939, 4566262891748481, 63626908677237816, 882601196902689928 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
a(1)=1, a(2)=27, a(n) = 26*a(n-1) -169*a(n-2) +1. - Vincenzo Librandi, Oct 23 2012
G.f.: x/((1-x)*(1-13*x)^2). - Vincenzo Librandi, Oct 23 2012
a(1)=1, a(2)=27, a(3)=534, a(n)=27*a(n-1)-195*a(n-2)+169*a(n-3). - Harvey P. Dale, Jan 20 2015
MATHEMATICA
CoefficientList[Series[1/((1 - x)(1 - 13*x)^2), {x, 0, 900}], x] (* Vincenzo Librandi, Oct 23 2012 *)
RecurrenceTable[{a[1]==1, a[n]==n*13^(n-1)+a[n-1]}, a, {n, 20}] (* or *) LinearRecurrence[{27, -195, 169}, {1, 27, 534}, 20] (* Harvey P. Dale, Jan 20 2015 *)
PROG
(Magma) I:=[1, 27]; [n le 2 select I[n] else 26*Self(n-1)-169*Self(n-2)+1: n in [1..20]]; // Vincenzo Librandi, Oct 23 2012
CROSSREFS
Sequence in context: A016887 A110896 A215039 * A163199 A051561 A163197
KEYWORD
nonn,easy
AUTHOR
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 21 04:19 EDT 2024. Contains 372720 sequences. (Running on oeis4.)