OFFSET
1,2
COMMENTS
Sequence presents similarities with the 3x+1 problem but seems less "random". Hence this sequence presents regularities depending curiously on the number 7. If n==3 (mod 7) there is no solution to m(n,x)=0. If n==0,1,2,4,5 or 6 (mod 7) there is always a unique solution to m(n,x)=0. It seems also that lim_{n->infinity} a(n)/n = 0 (a(10^10)=493) and asymptotically, Sum_{i=1..n} a(i) ~ C*n*(log(n))^2 with C=1.7....
LINKS
FORMULA
Values of m(7, k) for k = 1..24: 1, 7, 4, -3, -7, -5, -6, -1, 5, 2, -3, -5, -4, 1, 5, 3, 4, 1, -3, -1, -2, -1, 1, 0, hence a(7)=24. For k > 22, m(7, k) = -1.
CROSSREFS
KEYWORD
nonn
AUTHOR
Benoit Cloitre, Apr 11 2002
STATUS
approved