|
|
|
|
1, 2, 1, 3, 1, 5, 1, 7, 2, 1, 3, 1, 11, 1, 13, 1, 3, 2, 1, 17, 1, 19, 2, 1, 3, 1, 23, 1, 5, 3, 1, 4, 1, 29, 1, 31, 1, 3, 1, 5, 1, 37, 1, 3, 1, 41, 1, 43, 2, 1, 3, 1, 47, 1, 7, 2, 1, 3, 2, 1, 53, 1, 5, 3, 1, 59, 1, 61, 1, 3, 2, 1, 5, 1, 67, 2, 1, 3, 1, 71, 1, 73, 1, 3, 2, 1, 7, 1, 79, 2, 1, 3, 1, 83, 1, 5, 2
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
a(n) never equals a(n+1), by decree.
For the first 719 terms this coincides with the sequence {gcd(A280985(n), A280985(n+1)}. By decree, the latter may not contain two consecutive 1's. - N. J. A. Sloane, Jan 21 2017
|
|
LINKS
|
|
|
MATHEMATICA
|
f[l_List] := Block[{k = 1, c = GCD[l[[ -1]], l[[ -2]]]}, While[MemberQ[l, k] || GCD[k, l[[ -1]]] == c, k++ ]; Append[l, k]]; GCD @@@ Partition[Nest[f, {1, 2}, 100], 2, 1] (* Ray Chandler, Jan 16 2007 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|