A294026 Odd unitary abundant numbers with a record small gap to the next odd unitary abundant number.
15015, 19635, 21945, 25935, 33495, 1752135, 1915095, 1915305, 119104635, 134877405
Offset: 1
Examples
Odd unitary abundant numbers are 15015, 19635, 21945, 23205, 25935, 26565, 31395, 33495, 33915, ... Their differences are 4620, 2310, 1260, 2730, 630, 4830, 2100, 420, ... The records of small differences are 4620, 2310, 1260, 630, 420, ... And the corresponding terms are 15015, 19635, 21945, 25935, 33495, ...
Programs
-
Mathematica
usigma[n_] := If[n == 1, 1, Times @@ (1 + Power @@@ FactorInteger[n])]; ouaQ[n_] := OddQ[n] && usigma[n] > 2 n; s = Select[Range[100000], ouaQ]; a={}; dmin = 5000; Do[d=s[[j+1]]-s[[j]]; If[d
-
PARI
usig(n) = sumdiv(n, d, if(gcd(d, n/d)==1, d)); isok(n) = (n%2) && (usig(n) > 2*n); lista(nn) = {last = 0; gap = oo; forstep(n=1, nn, 2, if (isok(n), if (last, if (n - last < gap, print1(last, ", "); gap = n - last)); last = n;););} \\ Michel Marcus, Dec 15 2017
Comments