A103623 a(n) = n^9 + n^8 + n^7 + n^6 + n^5 + n^4 + n^3 + n^2 + n + 1.
1, 10, 1023, 29524, 349525, 2441406, 12093235, 47079208, 153391689, 435848050, 1111111111, 2593742460, 5628851293, 11488207654, 22250358075, 41189313616, 73300775185, 125999618778, 210027483919, 340614792100, 538947368421, 833994048910, 1264758228163
Offset: 0
Links
- Index entries for linear recurrences with constant coefficients, signature (10,-45,120,-210,252,-210,120,-45,10,-1).
Crossrefs
Cf. A001017.
Programs
-
Mathematica
With[{eq=Total[n^Range[0,9]]},Table[eq,{n,0,20}]] (* Harvey P. Dale, Dec 16 2011 *)
-
PARI
a(n)=n^9+n^8+n^7+n^6+n^5+n^4+n^3+n^2+n+1 \\ Charles R Greathouse IV, Oct 07 2015
Formula
G.f.: (341*x^8 +11352*x^7 +77440*x^6 +153824*x^5 +99330*x^4 +19624*x^3 +968*x^2 +1)/(x -1)^10. - Colin Barker, Oct 29 2012
a(n) = (n^10-1)/(n-1) with a(1) = 10. - Arkadiusz Wesolowski, Mar 30 2013