login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A186620
Fibonacci sequence beginning 12, 25.
0
12, 25, 37, 62, 99, 161, 260, 421, 681, 1102, 1783, 2885, 4668, 7553, 12221, 19774, 31995, 51769, 83764, 135533, 219297, 354830, 574127, 928957, 1503084, 2432041, 3935125, 6367166, 10302291, 16669457, 26971748, 43641205, 70612953, 114254158, 184867111
OFFSET
0,1
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
Sequence in context: A239147 A136739 A372029 * A042851 A280324 A041280
KEYWORD
nonn,easy
AUTHOR
STATUS
approved