OFFSET
6,1
REFERENCES
F. Smarandache, Back and Forth Factorials, Arizona State Univ., Special Collections, 1972.
F. Smarandache, Back and Forth Summants, Arizona State Univ., Special Collections, 1972.
LINKS
J. Dezert, ed., Smarandacheials (1), Mathematics Magazine for Grades 1-12, No. 4, 2004.
J. Dezert, ed., Smarandacheials (2), Mathematics Magazine for Grades 1-12, No. 4, 2004.
F. Smarandache, Summants [Broken link]
FORMULA
Empirical g.f.: -x^6*(10*x^10-5*x^9-3*x^7-x^6-21*x^5+10*x^4+8*x^2+x+11) / ((x-1)^3*(x^4+x^3+x^2+x+1)^2). - Colin Barker, Jul 28 2013
MAPLE
S := proc(n, k) local a, i ; a :=0 ; i := 0 ; while n-k*i >= -n do a := a+abs(n-k*i) ; i := i+1 ; od: RETURN(a) ; end: k := 5: seq(S(n, k), n=k+1..80) ; # R. J. Mathar, Feb 01 2008
MATHEMATICA
a[n_] := Sum[Abs[n-5i], {i, 0, Quotient[2n, 5]}];
Table[a[n], {n, 6, 60}] (* Jean-François Alcover, Apr 29 2023 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Jahan Tuten (jahant(AT)indiainfo.com), Mar 29 2004
EXTENSIONS
Edited and extended by R. J. Mathar, Feb 01 2008
Revised by N. J. A. Sloane, Jul 03 2017
STATUS
approved