OFFSET
0,1
LINKS
FORMULA
G.f.: -(12+13*x) / ( -1+x+x^2 ). - R. J. Mathar, Mar 18 2011
MATHEMATICA
Join[{a=12, b=25}, Table[c=a+b; a=b; b=c, {n, 60}]]
Transpose[NestList[{Last[#], First[#]+Last[#]}&, {12, 25}, 50]][[1]] (* or *) LinearRecurrence[{1, 1}, {12, 25}, 40] (* Harvey P. Dale, Mar 13 2011 *)
PROG
(Python)
a = [12, 25]
[a.append(a[-1] + a[-2]) for n in range(33)]
print(a) # Michael S. Branicky, Dec 25 2021
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vladimir Joseph Stephan Orlovsky, Feb 28 2011
STATUS
approved