OFFSET
1,3
LINKS
Clark Kimberling, Table of n, a(n) for n = 1..9998
EXAMPLE
6(6+1)(6+2)/6 = 56 has divisors 1,2,4,7,8,14,28,56, so that k=8 and d(k+1-i) - d(i) ranges through {-55, -26, -10, -1, 1, 10, 26, 55}, so that a(6) = 1.
MATHEMATICA
f[n_] := f[n] = n(n+1)(n+2)/6;
Table[Divisors[f[n]] - Reverse[Divisors[f[n]]], {n, 1, 10}]
Table[Min[Abs[Divisors[f[n]] - Reverse[Divisors[f[n]]]]], {n, 1, 100}]
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Apr 11 2017
EXTENSIONS
Two extraneous 0's removed by Pontus von Brömssen, Jul 15 2023
STATUS
approved