OFFSET
0,4
EXAMPLE
If n=10, the process evolves as follows on [ -3,3], showing that a(10)=7:
Start with: 0,0,0,10,0,0,0
Iteration 1: 0,0,3,3,3,0,0
Iteration 2: 0,1,2,3,2,1,0
Iteration 3: 0,1,2,2,2,1,0
Iteration 4: 0,1,1,2,1,1,0
Iteration 5: 0,0,1,1,1,0,0
Iteration 6: 0,0,0,1,0,0,0
Iteration 7: 0,0,0,0,0,0,0
CROSSREFS
KEYWORD
nonn
AUTHOR
John W. Layman, Dec 21 2004
STATUS
approved