OFFSET
1,3
EXAMPLE
GCD(8,a(k)), for those a(k)'s where 1 <= k <= 7, is {1,1,2,4,8,8,8}.
Of these GCD's, each but the 8's is <= k. So a(8) = 1+1+2+4 = 8.
PROG
(PARI) {m=36; print1(a=1, ", "); v=[a]; for(n=2, m, a=0; for(k=1, n-1, if(gcd(n, v[k])<=k, a=a+v[k])); print1(a, ", "); v=concat(v, a))} - (Klaus Brockhaus, Aug 15 2006)
CROSSREFS
KEYWORD
nonn
AUTHOR
Leroy Quet, Aug 03 2006
EXTENSIONS
Corrected and extended by Klaus Brockhaus, Aug 15 2006
STATUS
approved