|
|
A152573
|
|
The smallest superharmonic number with index n.
|
|
0
|
|
|
6, 30, 102, 186, 1146, 762, 8022, 5334, 35526, 23622, 145542, 49146, 540606, 344022, 2309862, 786426, 4718586, 3145722, 33030102, 22020054, 146276166, 97517382, 599260422, 399506694, 4194822954, 2796546858, 18577073082, 6441615366, 38649937926, 12884901882
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
a(n) is the smallest number s such that sigma(s) divides s^n*tau(s). In short: a(n) is the smallest superharmonic number with index n.
|
|
LINKS
|
|
|
FORMULA
|
|
|
EXAMPLE
|
For n = 1, a(1) = 6 because sigma(6) = 12 divides 6^1*tau(6) = 6*4 = 24.
|
|
MATHEMATICA
|
ind[n_] := Module[{d = Denominator[DivisorSigma[0, n]/DivisorSigma[1, n]], m, p, e, en}, m = 0; Do[{p, e} = pe; en = IntegerExponent[n, p]; If[en == 0, m = 0; Break[], m = Max[m, Ceiling[e/en]]], {pe, FactorInteger[d]}]; m]; mx = 14; c = 0; n = 1; v = Table[0, {mx}]; While[c < mx, n++; i = ind[n]; If[i > 0 && i <= mx && v[[i]] == 0, c++; v[[i]] = n]]; v (* Amiram Eldar, Jun 03 2020 *)
|
|
PROG
|
(PARI) isharmonic(val, index) = ((val^index*numdiv(val) % sigma(val)) == 0)
a(n) = {val = 2; ok = 0; until (ok, if (isharmonic(val, n), if (n == 1, ok = 1, indi = 1; while (! isharmonic(val, indi), indi++); if (indi == n, ok = 1); ); ); if (! ok, val++); ); return (val); } \\ Michel Marcus, Jul 24 2013
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|