OFFSET
0,1
LINKS
T. D. Noe, Table of n, a(n) for n=0..200
Index entries for linear recurrences with constant coefficients, signature (18,-97,180,-100).
FORMULA
G.f.: -2*(90*x^3-97*x^2+27*x-2) / ((x-1)*(2*x-1)*(5*x-1)*(10*x-1)). - Colin Barker, Apr 20 2014
MATHEMATICA
With[{dt = Divisors[10]}, Table[Total[dt^n], {n, 0, 20}]] (* Harvey P. Dale, Feb 02 2011 *)
Total[#^Range[0, 20]&/@Divisors[10]] (* Vincenzo Librandi, Apr 17 2014 *)
DivisorSigma[Range[0, 20], 10] (* Harvey P. Dale, May 26 2019 *)
PROG
(Sage) [sigma(10, n)for n in range(0, 18)] # Zerinvary Lajos, Jun 04 2009
(PARI) a(n)=sigma(10, n) \\ Charles R Greathouse IV, May 16 2011
(Magma) [DivisorSigma(n, 10): n in [0..20]]; // Vincenzo Librandi, Apr 17 2014
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
EXTENSIONS
More terms from Colin Barker, Apr 20 2014
STATUS
approved