OFFSET
1,2
COMMENTS
The final digits approach a limit. That is, after the first few terms, all the terms end in 70194710743368411694 and as more terms go by, even more digits remain constant. - Joshua Zucker, May 04 2006
LINKS
Robert Israel, Table of n, a(n) for n = 1..450
FORMULA
a(n+1) = a(n) + sum [ absolute{a(n) - a(k)}, k = 1 to n].
EXAMPLE
14 is the next term after 4= a(5), 14 = 4 + abs(4-a(1)) + abs(4-a(2)) + abs( 4-a(3)) + abs(4-a(4)).
MAPLE
A[1]:= 1: A[2]:= 2: A[3]:= 1:
for n from 4 to 100 do
A[n]:= A[n-1] + add(abs(A[n-1]-A[k]), k=1..n-2);
od:
convert(A, list); # Robert Israel, Oct 23 2024
CROSSREFS
KEYWORD
nonn
AUTHOR
Amarnath Murthy, Jul 06 2005
EXTENSIONS
More terms from Joshua Zucker, May 04 2006
Corrected by Charles R Greathouse IV, Jun 08 2015
STATUS
approved