OFFSET
1,1
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..1000
MATHEMATICA
f[n_]:= n +Floor[n*GoldenRatio]; Table[Sum[j*f[n+1-j], {j, 1, Floor[(n + 1)/2]}], {n, 1, 50}] (* G. C. Greubel, Jun 12 2019 *)
PROG
(PARI) f(n) = n + floor(n*(1+sqrt(5))/2);
a(n) = sum(j=1, floor((n+1)/2), j*f(n+1-j)); \\ G. C. Greubel, Jun 12 2019
(Magma) f:= func< n | n + Floor(n*(1+Sqrt(5))/2) >;
[(&+[j*f(n+1-j): j in [1..Floor((n+1)/2)]]): n in [1..50]]; // G. C. Greubel, Jun 12 2019
(Sage)
def f(n): return n + floor(n*golden_ratio)
[sum(j*f(n+1-j) for j in (1..floor((n+1)/2))) for n in (1..50)] # G. C. Greubel, Jun 12 2019
CROSSREFS
KEYWORD
nonn
AUTHOR
EXTENSIONS
Title simplified by Sean A. Irvine, Jun 12 2019
STATUS
approved