|
|
|
|
3, 5, 7, 11, 12, 13, 15, 16, 17, 18, 20, 22, 24, 26, 27, 28, 29, 30, 31, 33, 40, 41, 42, 43, 44, 46, 49, 50, 51, 53, 55, 58, 59, 60, 62, 63, 64, 66, 67, 68, 69, 70, 71, 72, 73, 78, 79, 80, 92, 93, 95, 98, 101, 102, 103, 104, 105, 107, 109, 111, 112, 115, 116, 117
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
|
|
LINKS
|
|
|
FORMULA
|
|
|
EXAMPLE
|
a(1) = 3 since b(3) = 3, a divisor of s(2) = 3.
a(2) = 5 since b(5) = 5, a divisor of s(4) = 10.
a(3) = 7 since b(7) = 6, a divisor of s(6) = 24, etc.
|
|
MATHEMATICA
|
nn = 120; c[_] := False;
rad[x_] := rad[x] = Times @@ FactorInteger[x][[All, 1]];
f[x_] := Select[Range[x], Divisible[x, rad[#]] &];
Array[Set[{a[#], c[#]}, {#, True}] &, 2]; s = a[1] + a[2];
Reap[Do[r = f[s]; k = SelectFirst[r, ! c[#] &];
If[Divisible[s, k], Sow[i]]; c[k] = True;
s += k, {i, 3, nn}] ][[-1, 1]]
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,new
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|