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 A195049 #29 Jan 17 2023 09:24:14 %S A195049 0,1,21,43,84,127,189,253,336,421,525,631,756,883,1029,1177,1344,1513, %T A195049 1701,1891,2100,2311,2541,2773,3024,3277,3549,3823,4116,4411,4725, %U A195049 5041,5376,5713,6069,6427,6804,7183,7581,7981,8400,8821,9261,9703,10164 %N A195049 Concentric 21-gonal numbers. %H A195049 Ivan Panchenko, <a href="/A195049/b195049.txt">Table of n, a(n) for n = 0..1000</a> %H A195049 <a href="/index/Rec#order_04">Index entries for linear recurrences with constant coefficients</a>, signature (2,0,-2,1). %F A195049 a(n) = 21*n^2/4 + 17*((-1)^n-1)/8. %F A195049 From _Colin Barker_, Sep 16 2012: (Start) %F A195049 a(n) = 2*a(n-1) - 2*a(n-3) + a(n-4). %F A195049 G.f.: x*(1+19*x+x^2)/((1-x)^3*(1+x)). (End) %F A195049 Sum_{n>=1} 1/a(n) = Pi^2/126 + tan(sqrt(17/21)*Pi/2)*Pi/sqrt(357). - _Amiram Eldar_, Jan 17 2023 %p A195049 A195049:=n->21*n^2/4+17*((-1)^n-1)/8: seq(A195049(n), n=0..100); # _Wesley Ivan Hurt_, Jan 17 2017 %t A195049 LinearRecurrence[{2, 0, -2, 1}, {0, 1, 21, 43}, 50] (* _Amiram Eldar_, Jan 17 2023 *) %o A195049 (PARI) a(n)=21*n^2/4+17*((-1)^n-1)/8 \\ _Charles R Greathouse IV_, Oct 07 2015 %Y A195049 Column 21 of A195040. %Y A195049 Cf. A032527, A032528, A195048, A195148, A195149, A195058. %K A195049 nonn,easy %O A195049 0,3 %A A195049 _Omar E. Pol_, Sep 27 2011