This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A259211 #11 Jan 28 2025 18:48:22 %S A259211 560,4090071480,29860802042948800,218007803276760596488520, %T A259211 1591631806178550455562538466640, %U A259211 11620188673811755515268615201727379160,84836696710140620657577957851546090689242080,619375925014776443389412658082968133380998230391400 %N A259211 Positive octagonal numbers (A000567) that are other octagonal numbers divided by 3. %H A259211 Colin Barker, <a href="/A259211/b259211.txt">Table of n, a(n) for n = 1..146</a> %H A259211 <a href="/index/Rec#order_03">Index entries for linear recurrences with constant coefficients</a>, signature (7300803,-7300803,1). %F A259211 a(n) = 7300803*a(n-1)-7300803*a(n-2)+a(n-3). %F A259211 G.f.: -40*x*(x^2+40545*x+14) / ((x-1)*(x^2-7300802*x+1)). %e A259211 560 is in the sequence because 560 is the 14th octagonal number, and 3*560=1680 is the 24th octagonal number. %t A259211 CoefficientList[Series[40 (x^2 + 40545 x + 14)/((1 - x) (x^2 - 7300802 x + 1)), {x, 0, 40}], x] (* _Vincenzo Librandi_, Jun 21 2015 *) %t A259211 LinearRecurrence[{7300803,-7300803,1},{560,4090071480,29860802042948800},20] (* _Harvey P. Dale_, Jan 28 2025 *) %o A259211 (PARI) Vec(-40*x*(x^2+40545*x+14)/((x-1)*(x^2-7300802*x+1)) + O(x^20)) %Y A259211 Cf. A000567, A076139, A121338, A259210. %K A259211 nonn,easy %O A259211 1,1 %A A259211 _Colin Barker_, Jun 21 2015