|
|
A085947
|
|
a(1) = 1, a(2) = 2 and a(n) = smallest number not included earlier that divides the sum of the two previous terms.
|
|
7
|
|
|
1, 2, 3, 5, 4, 9, 13, 11, 6, 17, 23, 8, 31, 39, 7, 46, 53, 33, 43, 19, 62, 27, 89, 29, 59, 22, 81, 103, 92, 15, 107, 61, 12, 73, 85, 79, 41, 10, 51
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
|
|
LINKS
|
|
|
EXAMPLE
|
After 46 and 53 the term is 33 and not 1,3,9 or 11 as they have already been included. 33 divides 46+53 = 99.
|
|
MAPLE
|
a[1]:= 1:
a[2]:= 2:
for n from 3 do
r:= min(numtheory:-divisors(a[n-1]+a[n-2]) minus {seq(a[i], i=1..n-1)});
if r = infinity then break fi;
a[n]:= r
od:
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,fini,full
|
|
AUTHOR
|
Amarnath Murthy and Meenakshi Srikanth (menakan_s(AT)yahoo.com), Jul 14 2003
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|