login
A285122
Min(|d(k+1-i) - d(i)|, for i = 1..k), where d(1),..,d(k) are the divisors of n^2+1.
1
1, 4, 3, 16, 11, 36, 5, 8, 39, 100, 59, 24, 7, 196, 111, 256, 19, 12, 179, 400, 9, 92, 43, 576, 311, 676, 63, 152, 419, 36, 11, 16, 99, 76, 611, 1296, 127, 68, 759, 1600, 29, 348, 13, 136, 1011, 44, 31, 456, 1199, 20, 1299, 536, 271, 2916, 55, 3136, 15, 668
OFFSET
1,2
LINKS
FORMULA
a(n)=A056737(A002522(n)).
EXAMPLE
5^2 + 1 = 26 has divisors 1,2,13,26, so that k=4 and d(k+1-i) - d(i) ranges through {-25,-11,11,25}, so that a(5) = 11.
MATHEMATICA
f[n_] := f[n] = n^2+1; 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
STATUS
approved