Let [·] denote the greatest integer function. We have f(x)=n→∞limn31k=1∑n[3xk2].
For large n: k=1∑n[3xk2]≈k=1∑n3xk2=3x1⋅6n(n+1)(2n+1)≈3⋅3xn3
Therefore: f(x)=n→∞limn31⋅3⋅3xn3=3x+11
Computing the infinite series:
j=1∑∞f(j)=j=1∑∞3j+11=321+331+341+⋯
=91⋅(1+31+91+⋯)=91⋅1−1/31=91⋅23=61
Therefore: 12j=1∑∞f(j)=12⋅61=2