Use the from
and to
attributes to specify how many iterations should occur. The (optional) step
attribute allows you to determine how big the increments will be.
<cfloop from="1" to="10" index="i" step="2">
<cfoutput>
#i#<br />
</cfoutput>
</cfloop>