OFFSET
0,2
COMMENTS
a(A097748(n)) = n. - Corrected by Robert Israel, Oct 08 2024
LINKS
Robert Israel, Table of n, a(n) for n = 0..10000
MAPLE
A[0]:= 1:
for n from 1 to 100 do A[n]:= A[n mod A[n-1]] + floor(n/A[n-1]) od:
seq(A[i], i=0..100); # Robert Israel, Oct 08 2024
CROSSREFS
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Aug 23 2004
STATUS
approved