%I #13 Feb 20 2021 00:37:04
%S 0,15,24,28,32,36,40,44,48,52,56,60,64,68,72,76,80,84,88,92,96,100,
%T 104,108,112,116,120,124,128,132,136,140,144,148,152,156,160,164,168,
%U 172,176,180,184,188,192,196,200,204,208,212,216,220,224,228,232,236,240
%N Cat years in human years: a(0) = 0, a(1) = 15, a(2) = 24, a(n) = a(n-1) + 4 for n >= 3.
%H G. C. Greubel, <a href="/A173035/b173035.txt">Table of n, a(n) for n = 0..1000</a>
%H Franny Syufy, <a href="http://cats.about.com/cs/healthissues/a/agechart.htm">Cats Age Conversion Chart</a>
%H Franny Syufy, <a href="http://cats.about.com/cs/catmanagement101/ht/convertcatyears.htm">How To Convert Cat's Age to Human Years</a>
%H Franny Syufy, <a href="http://cats.about.com/library/howto/htage.htm">How To Convert Cat's Age to Human Years</a>
%H <a href="/index/Rec#order_02">Index entries for linear recurrences with constant coefficients</a>, signature (2,-1).
%F From _G. C. Greubel_, Feb 20 2021: (Start)
%F a(n) = 4*(n+4) -16*[n=0] -5*[n=1].
%F G.f.: x*(15 -6*x -5*x^2)/(1-x)^2.
%F E.g.f.: 4*(4+x)*exp(x) -16 - 5*x. (End)
%p 0, 15, seq(4*(n+4), n=2..60); # _G. C. Greubel_, Feb 20 2021
%t Join[{0,15},NestList[#+4&,24,60]] (* _Harvey P. Dale_, Nov 24 2013 *)
%o (Sage) [0,15]+[4*(n+4) for n in (2..60)] # _G. C. Greubel_, Feb 20 2021
%o (Magma) [0,15] cat [4*(n+4): n in [2..60]]; // _G. C. Greubel_, Feb 20 2021
%K nonn,easy
%O 0,2
%A Grace Wang (grace_c_wang(AT)yahoo.com), Feb 07 2010
%E Links provided by _M. F. Hasler_, Feb 09 2010
|