OFFSET
0,3
MATHEMATICA
y = 0; c = l = i = z = 1; d = {1}; Do[ x = y + z; c++; j = 1; While[ ! IntegerQ[ x / d[ [ j ] ] ] && j <= i, j++ ]; If[ j > i, d = Append[ d, x ]; i++, x = x/d[ [ j ] ]; d = Delete[ d, j ]; d = Append[ d, x ] ]; If[ x > l, l = x; Print[ c ] ]; y = z; z = x, {n, 1, 10^7} ]
CROSSREFS
KEYWORD
nonn
AUTHOR
Robert G. Wilson v, Jan 15 2001
EXTENSIONS
a(31)-a(38) from Sean A. Irvine, Sep 09 2022
STATUS
approved