%I #52 Sep 08 2022 08:45:41
%S 3482,485,10610,33857,70226,119717,182330,258065,346922,448901,564002,
%T 692225,833570,988037,1155626,1336337,1530170,1737125,1957202,2190401,
%U 2436722,2696165,2968730,3254417,3553226,3865157,4190210,4528385
%N a(n) = 6561*n^2 - 9558*n + 3482.
%C The identity (6561*n^2 - 9558*n + 3482)^2 - (81*n^2 - 118*n + 43)*(729*n - 531)^2 = 1 can be written as a(n)^2 - A156677(n)*A156771(n)^2 = 1 for n>0. [rewritten by _Bruno Berselli_, Jul 21 2011]
%H Vincenzo Librandi, <a href="/A156773/b156773.txt">Table of n, a(n) for n = 0..10000</a>
%H <a href="/index/Rec#order_03">Index entries for linear recurrences with constant coefficients</a>, signature (3,-3,1).
%F G.f.: (3482 - 9961*x + 19601*x^2)/(1-x)^3. - _Colin Barker_, Jan 09 2012
%F E.g.f.: (3482 - 2997*x + 6561*x^2)*exp(x). - _G. C. Greubel_, Jun 21 2021
%F a(n) = 3*a(n-1) - 3*a(n-2) + a(n-3). - _Wesley Ivan Hurt_, Sep 03 2022
%t Table[6561n^2-9558n+3482,{n,0,30}] (* _Harvey P. Dale_, Apr 06 2011 *)
%o (Magma) [6561*n^2-9558*n+3482: n in [0..35]];
%o (PARI) a(n)=6561*n^2-9558*n+3482 \\ _Charles R Greathouse IV_, Dec 23 2011
%o (Sage) [3482 -9558*n +6561*n^2 for n in (0..35)] # _G. C. Greubel_, Jun 21 2021
%Y Cf. A156677, A156771.
%K nonn,easy
%O 0,1
%A _Vincenzo Librandi_, Feb 15 2009
%E Checked by _Michael B. Porter_, Jun 16 2010
%E Offset corrected by _N. J. A. Sloane_, Jun 22 2010
|