login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A069178 Centered 21-gonal numbers. 5

%I #51 Feb 06 2023 17:33:55

%S 1,22,64,127,211,316,442,589,757,946,1156,1387,1639,1912,2206,2521,

%T 2857,3214,3592,3991,4411,4852,5314,5797,6301,6826,7372,7939,8527,

%U 9136,9766,10417,11089,11782,12496,13231,13987,14764,15562,16381,17221,18082,18964

%N Centered 21-gonal numbers.

%H Ivan Panchenko, <a href="/A069178/b069178.txt">Table of n, a(n) for n = 1..1000</a>

%H Eric Weisstein's World of Mathematics, <a href="http://mathworld.wolfram.com/CenteredPolygonalNumber.html">Centered Polygonal Numbers</a>

%H <a href="/index/Ce#CENTRALCUBE">Index entries for sequences related to centered polygonal numbers</a>

%H <a href="/index/Rec#order_03">Index entries for linear recurrences with constant coefficients</a>, signature (3,-3,1).

%F a(n) = (21n^2 - 21n + 2)/2

%F a(n) = 21*n + a(n-1) - 21 (with a(1)=1). - _Vincenzo Librandi_, Aug 08 2010

%F G.f. -x*(1+19*x+x^2) / (x-1)^3. - _R. J. Mathar_, Feb 04 2011

%F Binomial transform of [1, 21, 21, 0, 0, 0, ...] and Narayana transform (A001263) of [1, 21, 0, 0, 0, ...]. - _Gary W. Adamson_, Jul 26 2011

%F a(n) = 1 + Sum_{i=1..n} 21*(i-1). - _Wesley Ivan Hurt_, May 25 2013

%F From _Amiram Eldar_, Jun 21 2020: (Start)

%F Sum_{n>=1} 1/a(n) = 2*Pi*tan(sqrt(13/21)*Pi/2)/sqrt(273).

%F Sum_{n>=1} a(n)/n! = 23*e/2 - 1.

%F Sum_{n>=1} (-1)^n * a(n)/n! = 23/(2*e) - 1. (End)

%F E.g.f.: exp(x)*(1 + 21*x^2/2)-1. - _Nikolaos Pantelidis_, Feb 06 2023

%t FoldList[#1 + #2 &, 1, 21 Range@ 45] (* _Robert G. Wilson v_, Feb 02 2011 *)

%t LinearRecurrence[{3,-3,1},{1,22,64},60] (* _Harvey P. Dale_, Jun 13 2022 *)

%o (PARI) a(n)=(21*n^2-21*n+2)/2 \\ _Charles R Greathouse IV_, Oct 07 2015

%Y Cf. centered polygonal numbers listed in A069190.

%K easy,nonn

%O 1,2

%A _Terrel Trotter, Jr._, Apr 09 2002

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 19 13:40 EDT 2024. Contains 371792 sequences. (Running on oeis4.)