[go: up one dir, main page]

login
A102688
a(n) = (1/n)*Sum_{k=1..n} k*2^gcd(n,k).
0
2, 5, 10, 20, 36, 74, 134, 272, 526, 1052, 2058, 4160, 8204, 16466, 32824, 65696, 131088, 262490, 524306, 1049168, 2097316, 4195358, 8388630, 16779632, 33554516, 67112996, 134218282, 268443848, 536870940, 1073759432, 2147483678
OFFSET
1,1
FORMULA
a(n) = (A000079(n) + n*A000031(n))/2.
MATHEMATICA
f[n_] := Sum[k*2^GCD[n, k], {k, n}]/n; Table[ f[n], {n, 32}] (* Robert G. Wilson v, Feb 12 2005 *)
CROSSREFS
Sequence in context: A227356 A327289 A327288 * A236559 A275388 A341581
KEYWORD
easy,nonn
AUTHOR
Vladeta Jovovic, Feb 03 2005
EXTENSIONS
More terms from Robert G. Wilson v, Feb 12 2005
STATUS
approved