|
|
A261276
|
|
100-gonal numbers: a(n) = 98*n*(n-1)/2 + n.
|
|
1
|
|
|
0, 1, 100, 297, 592, 985, 1476, 2065, 2752, 3537, 4420, 5401, 6480, 7657, 8932, 10305, 11776, 13345, 15012, 16777, 18640, 20601, 22660, 24817, 27072, 29425, 31876, 34425, 37072, 39817, 42660, 45601, 48640, 51777, 55012, 58345, 61776, 65305, 68932, 72657, 76480
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,3
|
|
COMMENTS
|
According to the common formula for the polygonal numbers: (s-2)*n*(n-1)/2 + n (here s = 100).
|
|
LINKS
|
|
|
FORMULA
|
a(n) = n*(49*n - 48).
|
|
MAPLE
|
|
|
MATHEMATICA
|
PolygonalNumber[100, Range[0, 40]] (* Requires Mathematica version 10 or later *) (* or *) LinearRecurrence[{3, -3, 1}, {0, 1, 100}, 50] (* Harvey P. Dale, Jan 04 2019 *)
|
|
PROG
|
(JavaScript) function a(n){return 98*n*(n-1)/2+n}
(PARI) first(m)=vector(m, i, i--; 98*i*(i-1)/2 + i) \\ Anders Hellström, Aug 20 2015
(GAP)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|