OFFSET
1,3
FORMULA
EXAMPLE
a(2) = 1 because 2^(1/2) = 1.4142...
a(3) = 2 because 3^(1/2)*3^(1/3) = 1.7320508... * 1.44224957... = 2.49804953243...
MATHEMATICA
Array[Round[# ^ (HarmonicNumber[#] - 1)] &, 38] (* Amiram Eldar, Dec 05 2019 *)
PROG
(JavaScript)
var irlist = [];
for (var i = 2; i < 40; i++) {
var h = 1;
for (var g = 2; g <= i; g++) {
h = h*Math.pow(i, 1/g);
}
appendItem(irlist, Math.round(h));
}
console.log(irlist);
(PARI) H(n) = sum(i=1, n, 1/i);
a(n) = round(n^(H(n)-1)); \\ Michel Marcus, Dec 05 2019
CROSSREFS
KEYWORD
nonn
AUTHOR
Sebastian F. Orellana, Dec 03 2019
STATUS
approved