OFFSET
1,3
LINKS
Harry J. Smith, Table of n, a(n) for n = 1..1000
EXAMPLE
a(6) = floor((1 + 1/2 + 1/3 + 1/4 + 1/5 + 1/6)^(1 + 1/2 + 1/3 + 1/4 + 1/5 + 1/6)) = floor(2.45^2.45) = floor(8.983734461...) = 8.
MAPLE
f:= proc(n) local v;
v:= floor((Psi(n+1)+gamma)^(Psi(n+1)+gamma)):
while not v::integer do
Digits:= 2*Digits;
v:= floor((Psi(n+1)+gamma)^(Psi(n+1)+gamma)):
od;
v
end proc:
seq(f(n), n=1..1000); # Robert Israel, Dec 21 2015
MATHEMATICA
Table[ Floor[ Sum[ (1/i), {i, 1, n} ]^Sum[ (1/i), {i, 1, n} ]], {n, 1, 60} ]
PROG
(PARI) { s=0; for (n=1, 1000, s+=1/n; write("b067054.txt", n, " ", floor(s^s)) ) } \\ Harry J. Smith, May 01 2010
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Amarnath Murthy, Jan 02 2002
EXTENSIONS
Corrected and extended by Robert G. Wilson v, Jan 04 2002
STATUS
approved