

A129282


a(0)=1; for n>1, a(n) = a(n1) + (the largest value of GCD(a(k),n) for 0<=k<=n1).


1



1, 2, 4, 5, 9, 14, 17, 24, 32, 41, 46, 47, 59, 60, 74, 89, 105, 122, 131, 132, 152, 173, 195, 218, 242, 247, 260, 269, 283, 284, 314, 315, 347, 380, 397, 432, 468, 505, 543, 582, 602, 643, 664, 707, 751, 796, 842, 889, 937, 944, 954, 971, 1023, 1076, 1130, 1141
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

0,2


LINKS

Table of n, a(n) for n=0..55.


EXAMPLE

For those k where 0<=k<=9, GCD(a(3),10) = 5 is the largest value for a GCD(a(k),10). So a(10) = a(9) + 5 = 46.
For those k where 0<=k<=11, GCD(a(7),12) = 12 is the largest value for a GCD(a(k),12). So a(12) = a(11) + 12 = 59.


MAPLE

a[0]:=1: for n from 1 to 70 do a[n]:=a[n1]+max((seq(gcd(a[k], n), k=0..n1))) od: seq(a[n], n=0..70);  Emeric Deutsch, Apr 11 2007


CROSSREFS

Cf. A129281.
Sequence in context: A118550 A126697 A162406 * A073153 A073154 A238656
Adjacent sequences: A129279 A129280 A129281 * A129283 A129284 A129285


KEYWORD

nonn


AUTHOR

Leroy Quet, Apr 07 2007


EXTENSIONS

More terms from Emeric Deutsch, Apr 11 2007


STATUS

approved



