OFFSET
1,3
COMMENTS
A097747(a(n)) = n. - Corrected by Robert Israel, Oct 08 2024
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
MAPLE
V:= Vector(100): A[0]:= 1: V[1]:= 0: count:= 1:
for n from 1 while count < 100 do A[n]:= A[n mod A[n-1]] + floor(n/A[n-1]);
if A[n] <= 100 and V[A[n]] = 0 then V[A[n]]:= n; count:= count+1; fi;
od:
convert(V, list); # Robert Israel, Oct 08 2024
CROSSREFS
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Aug 23 2004
STATUS
approved